mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
fix compile error for cuda.
This commit is contained in:
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user