@@ -383,8 +383,8 @@ You can rerun those benchmarks with the following commands:
383
383
```bash
384
384
cmake -B build_release -D CMAKE_BUILD_TYPE=Release
385
385
cmake --build build_release --config Release
386
- time NBODY_COUNT=128 NBODY_ITERATIONS=1000000 NBODY_BACKEND=fork_union_static build_release/scripts/ fork_union_nbody
387
- time NBODY_COUNT=128 NBODY_ITERATIONS=1000000 NBODY_BACKEND=fork_union_dynamic build_release/scripts/ fork_union_nbody
386
+ time NBODY_COUNT=128 NBODY_ITERATIONS=1000000 NBODY_BACKEND=fork_union_static build_release/fork_union_nbody
387
+ time NBODY_COUNT=128 NBODY_ITERATIONS=1000000 NBODY_BACKEND=fork_union_dynamic build_release/fork_union_nbody
388
388
```
389
389
390
390
## Safety & Logic
@@ -427,14 +427,14 @@ To run the C++ tests, use CMake:
427
427
cmake -B build_release -D CMAKE_BUILD_TYPE=Release
428
428
cmake --build build_release --config Release
429
429
ctest -C build_release # run all tests
430
- build_release/scripts/ fork_union_nbody # run the benchmarks
430
+ build_release/fork_union_nbody # run the benchmarks
431
431
```
432
432
433
433
For C++ debug builds, consider using the VS Code debugger presets or the following commands:
434
434
435
435
``` bash
436
436
cmake --build build_debug --config Debug # build with Debug symbols
437
- build_debug/scripts/ fork_union_test_cpp20 # run a single test executable
437
+ build_debug/fork_union_test_cpp20 # run a single test executable
438
438
```
439
439
440
440
To include NUMA, Huge Pages, and other optimizations on Linux, make sure to install dependencies:
@@ -451,7 +451,7 @@ To build with an alternative compiler, like LLVM Clang, use the following comman
451
451
sudo apt-get install libomp-15-dev clang++-15 # OpenMP version must match Clang
452
452
cmake -B build_debug -D CMAKE_BUILD_TYPE=Debug -D CMAKE_CXX_COMPILER=clang++-15
453
453
cmake --build build_debug --config Debug
454
- build_debug/scripts/ fork_union_test_cpp20
454
+ build_debug/fork_union_test_cpp20
455
455
```
456
456
457
457
For Rust, use the following command:
0 commit comments