Check build and testing once Kokkos supports GPU execution on multiuser systems.
Issue raised with Kokkos : https://github.com/kokkos/kokkos/issues/1305.
This issue is with regards to the integration of Kokkos into Nebo. As far as GPU execution is concerned, the device memory was completely cleared as and when Kokkos::Finalize()
was called causing problems while running multiple Nebo programs as it could erase relevant device memory needed by other programs or even could erase device memory not managed by the user's programs.
I believe this [CUDAIssuePatch.patch] (/uploads/841584f03cd2bd8af55c8c772f0d71f3/CUDAIssuePatch.patch) will be a good starting point once the issue is resolved. Once this patch is applied, we can compile without the need to set NEBO_AUTO_INITIALIZE to OFF for CUDA.
Edited by Siddartha Ravichandran