Commit a8d8b367 authored by Allison Vacanti's avatar Allison Vacanti
Browse files

Suppress host/device warnings on CUDA atomics.

parent c44d010f
......@@ -72,16 +72,19 @@ private:
PortalType Portal;
__device__ vtkm::Int64 vtkmAtomicAdd(vtkm::Int64* address, const vtkm::Int64& value) const
return atomicAdd((unsigned long long*)address, (unsigned long long)value);
__device__ vtkm::Int32 vtkmAtomicAdd(vtkm::Int32* address, const vtkm::Int32& value) const
return atomicAdd(address, value);
__device__ vtkm::Int32 vtkmCompareAndSwap(vtkm::Int32* address,
const vtkm::Int32& newValue,
const vtkm::Int32& oldValue) const
......@@ -89,6 +92,7 @@ private:
return atomicCAS(address, oldValue, newValue);
__device__ vtkm::Int64 vtkmCompareAndSwap(vtkm::Int64* address,
const vtkm::Int64& newValue,
const vtkm::Int64& oldValue) const
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment