mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
CUDA 10.1 didn't fix stateless_resource_allocator warnings
The patch to fix this warning from thrust has not be approved by upstream thrust. So keep suppressing it in CUDA 10.1 update 1
This commit is contained in:
parent
864d8bd5ea
commit
bc78126876
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user