Move nvcc-only code from memory to backends::gpu (#342)
* Move gpu-kernel code from memory to backends/gpu A small step towards seperate back end compilation for CUDA. Move the following code to the gpu backend: - the memory::fill* wrappers and fill kernel - the managed_ptr type - only used in backends::gpu - has `__device__ __host__` members for dual host-device use. * update unit&validation tests
Showing
- src/CMakeLists.txt 1 addition, 1 deletionsrc/CMakeLists.txt
- src/backends/gpu/fill.cu 43 additions, 0 deletionssrc/backends/gpu/fill.cu
- src/backends/gpu/fill.hpp 56 additions, 0 deletionssrc/backends/gpu/fill.hpp
- src/backends/gpu/managed_ptr.hpp 4 additions, 4 deletionssrc/backends/gpu/managed_ptr.hpp
- src/backends/gpu/threshold_watcher.hpp 3 additions, 9 deletionssrc/backends/gpu/threshold_watcher.hpp
- src/memory/device_coordinator.hpp 2 additions, 40 deletionssrc/memory/device_coordinator.hpp
- src/memory/fill.cu 0 additions, 45 deletionssrc/memory/fill.cu
- src/memory/gpu.hpp 0 additions, 8 deletionssrc/memory/gpu.hpp
- tests/unit/CMakeLists.txt 0 additions, 2 deletionstests/unit/CMakeLists.txt
- tests/unit/test_atomics.cu 5 additions, 5 deletionstests/unit/test_atomics.cu
- tests/unit/test_gpu_stack.cu 2 additions, 2 deletionstests/unit/test_gpu_stack.cu
- tests/unit/test_mc_cell_group.cu 3 additions, 3 deletionstests/unit/test_mc_cell_group.cu
- tests/validation/CMakeLists.txt 1 addition, 1 deletiontests/validation/CMakeLists.txt
Please register or sign in to comment