mirror of
https://github.com/guillaumetousignant/NDG_cuda.git
synced 2026-07-23 10:41:03 -04:00
No description
- Cuda 40.7%
- C++ 34.6%
- TeX 16.6%
- Python 7.3%
- CMake 0.5%
- Other 0.3%
| .github/workflows | ||
| cmake | ||
| docs | ||
| extras | ||
| include | ||
| src | ||
| tests | ||
| thesis | ||
| .gitattributes | ||
| .gitignore | ||
| CITATION.cff | ||
| CMakeLists.txt | ||
| LICENSE | ||
| README.md | ||
| sequential.m | ||
NDG_cuda
Installation:
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.. -DCMAKE_CUDA_ARCHITECTURES="60;61;70"
cmake --build .
cmake --install .
sm_61 is GTX 10X0, sm_60 is Tesla P100, sm_70 is Tesla V100
Dependencies:
- HDF5
- CGNS
- VTK
To build without cgns and HDF5, add -DUSE_CGNS=OFF to cmake call.
To build tests, add -DBUILD_TESTING=ON to cmake call. Then:
ctest
To generate documentation, add -DBUILD_DOC=ON to cmake call. Additional dependencies:
- Doxygen
- dot (graphviz)
- Sphinx
- Breathe (pip: breathe)
- Read the Docs Sphinx Theme (pip: sphinx_rtd_theme)
To include in a CMake project:
find_package(SEM-CUDA 1.0.0 REQUIRED)
target_link_libraries(example SEM-CUDA::SEM-CUDA)