ma/experiments
..
2023-09-04 16:46:22 +02:00
2023-12-09 17:49:19 +01:00
2023-06-17 04:43:43 +02:00
2023-09-04 16:46:22 +02:00
2023-09-04 16:46:22 +02:00
2023-09-04 16:46:22 +02:00
2023-06-17 04:43:43 +02:00
2023-06-17 04:43:43 +02:00
2023-09-04 16:46:22 +02:00

experiments

Running

(Optional: Use virtualenv)

pip install -r requirements.txt
jupyter-lab

The shell.nix contains a workaround for NixOS and is not necessary for normal use.

Building NAStJA for Experiments

Build it either with or without CUDA support. When NAStJA is built with CUDA support it will automatically switch to the GPU implementation of the dynamic ECM. I use the mold linker because it makes the code-build-test-loop slightly shorter. This shouldn't have any impact on the performance of the produced binary. If you would like to shorten the linking time even further you can add -DNASTJA_ENABLE_IPO=OFF to turn of Link Time Optimization (LTO). However, it is likely that will have an impact on performance.

cmake .. -DCMAKE_CXX_FLAGS="-fuse-ld=mold"
cmake .. -DCMAKE_CXX_FLAGS="-fuse-ld=mold" -DNASTJA_ENABLE_CUDA=ON