Create a build directory:
mkdir build && cd build
Configure the project:
cmake ..
Build the project (Release mode recommended):
cmake --build . --config Release
You can configure the build by passing -D<OPTION>=<VALUE> to CMake.
-D<OPTION>=<VALUE>
NOCTA_BUILD_EXAMPLES
NOCTA_ENABLE_SIMD
NOCTA_ENABLE_OPENMP
NOCTA_ENABLE_CUDA
To enable GPU acceleration, ensure you have the CUDA Toolkit installed.
mkdir build && cd build cmake .. -DNOCTA_ENABLE_CUDA=ON \ -DCUDAToolkit_ROOT=/usr/local/cuda-12.x/ \ -DCMAKE_CUDA_COMPILER=/usr/local/cuda-12.x/bin/nvcc cmake --build . --config Release
There was an error while loading. Please reload this page.