Fix incorrect GPU backend determination
Fixes #266. Use CUDA to compile the `cell_group_factory` so that the CUDA back end is compiled correctly, instead of the null back end proxy. * Added bonus: the miniapp is now compiled using host C++ compiler instead of `nvcc`. This is a little bit hacky, because this is a stop gap until we have separate compilation of CUDA code.
Showing
- CMakeLists.txt 5 additions, 0 deletionsCMakeLists.txt
- miniapp/CMakeLists.txt 2 additions, 8 deletionsminiapp/CMakeLists.txt
- src/CMakeLists.txt 24 additions, 9 deletionssrc/CMakeLists.txt
- src/cell_group_factory.cu 1 addition, 0 deletionssrc/cell_group_factory.cu
- tests/unit/CMakeLists.txt 2 additions, 4 deletionstests/unit/CMakeLists.txt
- tests/unit/test_matrix.cu 1 addition, 0 deletionstests/unit/test_matrix.cu
- tests/validation/CMakeLists.txt 2 additions, 2 deletionstests/validation/CMakeLists.txt
Please register or sign in to comment