diff --git a/vtkm/exec/cuda/internal/ThrustPatches.h b/vtkm/exec/cuda/internal/ThrustPatches.h index dd9d0f78f..55d44a35d 100644 --- a/vtkm/exec/cuda/internal/ThrustPatches.h +++ b/vtkm/exec/cuda/internal/ThrustPatches.h @@ -172,7 +172,7 @@ ALIGN_RE_PAIR(vtkm::Int64, vtkm::Float64); } #endif //THRUST_VERSION >= 100900 -#if THRUST_VERSION >= 100904 && THRUST_VERSION < 100906 +#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