Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A host vector in haversine knn test was being resized to `n` rather `n*d` before `n*d` elements were copied from it to a device vector. Not sure if this is causing the following issue in the test, but it's not correct nonetheless: ``` [----------] 1 test from HaversineKNNTestF [ RUN ] HaversineKNNTestF.Fit unknown file: Failure C++ exception with description "std::bad_alloc: CUDA error at: _deps/rmm-src/include/rmm/mr/device/cuda_memory_resource.hpp:70: cudaErrorMemoryAllocation out of memory" thrown in the test fixture's constructor. [ FAILED ] HaversineKNNTestF.Fit (0 ms) [----------] 1 test from HaversineKNNTestF (0 ms total) ``` Since it was happening on host, the only thing I can think of is that somehow there is some host memory being used to determine the amount of device memory to allocate, which is grabbing a garbage value from somewhere. Authors: - Corey J. Nolet (https://github.com/cjnolet) Approvers: - Divye Gala (https://github.com/divyegala) - Brad Rees (https://github.com/BradReesWork) URL: #375
- Loading branch information