fix compile error for cuda.

This commit is contained in:
Dave Pugmire 2022-08-16 10:57:01 -04:00
parent baac7e1fb9
commit 115db2175e

@ -89,13 +89,6 @@ void CudaAllocator::ForceManagedMemoryOn()
{
ManagedMemoryEnabled = true;
VTKM_LOG_F(vtkm::cont::LogLevel::Info, "CudaAllocator enabling managed memory");
if (!UseSyncMemoryAlloc)
{
CudaAllocator::ForceSyncMemoryAllocator();
VTKM_LOG_F(vtkm::cont::LogLevel::Warn,
"CudaAllocator turning off asynchronous allocator to support managed memory");
}
}
else
{