Skip to content

Fixing Kokkos relocatable device code error with desul atomics

Abhishek Yenpure requested to merge ayenpure/vtk:add_kokkos_backend into master

When building Kokkos with RELOCATABLE_DEVICE_CODE=OFF the compilation of VTK fails because of conflicting flags in the accelerated filters modules. This change adds a new code path while using the vtkm::kokkos_cuda target, i.e. using VTK-m through CUDA enabled Kokkos so that we do not encounter errors while building. reference error:

/home/local/KHQ/abhi.yenpure/repositories/kokkos-build/kokkos/install/include/desul/atomics/Macros.hpp:25:2: error: #error Relocatable device code mode incompatible with desul atomics configuration
   25 | #error Relocatable device code mode incompatible with desul atomics configuration

Merge request reports