mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-19 10:35:42 +00:00
Merge topic 'no_backends'
05d34aa8a delete unneeded list append d41e1e40f remove ALL_BACKENDS Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Li-Ta Lo <ollie@lanl.gov> Acked-by: Kenneth Moreland <morelandkd@ornl.gov> Merge-request: !2711
This commit is contained in:
commit
c635e6d6c5
@ -195,7 +195,6 @@ struct VTKM_NEVER_EXPORT InitializeDeviceMemoryManagers
|
||||
|
||||
if (id > 0 && id < VTKM_MAX_DEVICE_ADAPTER_ID)
|
||||
{
|
||||
auto name = vtkm::cont::DeviceAdapterTraits<Device>::GetName();
|
||||
this->Managers[id].reset(new vtkm::cont::internal::DeviceAdapterMemoryManager<Device>);
|
||||
}
|
||||
}
|
||||
|
@ -35,6 +35,5 @@ endif()
|
||||
vtkm_unit_tests(
|
||||
SOURCES ${unit_tests}
|
||||
LIBRARIES ${libraries}
|
||||
ALL_BACKENDS # renderer requires device compiler
|
||||
USE_VTKM_JOB_POOL
|
||||
)
|
||||
|
@ -34,6 +34,5 @@ endif()
|
||||
vtkm_unit_tests(
|
||||
SOURCES ${unit_tests}
|
||||
LIBRARIES ${libraries}
|
||||
ALL_BACKENDS # RendererTest needs device compiler
|
||||
USE_VTKM_JOB_POOL
|
||||
)
|
||||
|
@ -11,5 +11,4 @@
|
||||
set(unit_tests
|
||||
UnitTestPhiloxRNG.cxx)
|
||||
|
||||
vtkm_unit_tests(SOURCES ${unit_tests}
|
||||
ALL_BACKENDS)
|
||||
vtkm_unit_tests(SOURCES ${unit_tests})
|
||||
|
@ -24,12 +24,6 @@ if (VTKm_ENABLE_RENDERING)
|
||||
list(APPEND unit_tests
|
||||
RenderTestPerlinNoise.cxx
|
||||
)
|
||||
|
||||
# Currently to use the rendering in VTK-m, you have to compile with a device compiler.
|
||||
# We hope to change that in the near future, but until then we need to add the
|
||||
# `ALL_BACKENDS` flag to `vtkm_unit_tests` to compile with the device compiler. Here
|
||||
# is a hack to add it.
|
||||
list(APPEND unit_tests ALL_BACKENDS)
|
||||
endif()
|
||||
|
||||
vtkm_unit_tests(
|
||||
|
Loading…
Reference in New Issue
Block a user