mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Cuda ExecutionPolicy when using CUDA 7.5 is aware we use raw pointer now
The failure was caused by not updating CUDA 7.5 code paths when we removed the usage of ::thrust::cuda::pointer.
This commit is contained in:
parent
6202d8d22d
commit
41d968f68d
@ -186,8 +186,8 @@ __host__ __device__::thrust::pair<OutputIterator1, OutputIterator2> reduce_by_ke
|
||||
#if defined(__CUDACC_VER_MAJOR__) && (__CUDACC_VER_MAJOR__ == 7) && (__CUDACC_VER_MINOR__ >= 5)
|
||||
::thrust::pair<OutputIterator1, OutputIterator2> result =
|
||||
thrust::reduce_by_key(ThrustCudaPolicyPerThread,
|
||||
keys_first.get(),
|
||||
keys_last.get(),
|
||||
keys_first,
|
||||
keys_last,
|
||||
values_first,
|
||||
keys_output,
|
||||
values_output,
|
||||
|
Loading…
Reference in New Issue
Block a user