mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Update ThrustPatches to be aware of issues fixed in thrust 1.9.6
This commit is contained in:
parent
ae6999e534
commit
6775685c72
@ -17,7 +17,7 @@
|
||||
// Needed so we can conditionally include components
|
||||
#include <thrust/version.h>
|
||||
|
||||
#if THRUST_VERSION >= 100900
|
||||
#if THRUST_VERSION >= 100900 && THRUST_VERSION < 100906
|
||||
//So for thrust 1.9.0+ ( CUDA 9.X+ ) the aligned_reinterpret_cast has a bug
|
||||
//where it is not marked as __host__device__. To fix this we add a new
|
||||
//overload for void* with the correct markup (which is what everyone calls).
|
||||
@ -166,7 +166,7 @@ ALIGN_RE_PAIR(vtkm::Int64, vtkm::Float64);
|
||||
}
|
||||
#endif //THRUST_VERSION >= 100900
|
||||
|
||||
#if THRUST_VERSION >= 100904
|
||||
#if THRUST_VERSION >= 100904 && THRUST_VERSION < 100906
|
||||
//So for thrust 1.9.4+ (CUDA 10.1+) the stateless_resource_allocator has a bug
|
||||
//where it is not marked as __host__ __device__ && __thrust_exec_check_disable__.
|
||||
//To fix this we add a new partial specialization on cuda::memory_resource
|
||||
|
Loading…
Reference in New Issue
Block a user