Thrust Patches tried to apply CUDA 10.1 patches to CUDA 10.0

This commit is contained in:
Robert Maynard 2019-04-10 14:46:16 -04:00
parent fda02b3a91
commit 1d980ed147

@ -176,8 +176,8 @@ ALIGN_RE_PAIR(vtkm::Int64, vtkm::Float64);
}
#endif //THRUST_VERSION >= 100900
#if THRUST_VERSION >= 100903
//So for thrust 1.9.3+ (CUDA 10.1+) the stateless_resource_allocator has a bug
#if THRUST_VERSION >= 100904
//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
//which the correct markup (which is what everyone calls).