Files
nvbench/python/src
Oleksandr Pavlyk 9c01f229a6 Add Benchmark set methods, such as set_stopping_criterion, set_timeout, etc
Add
   - State.get_stopping_criterion() -> str
   - Benchmark.set_stopping_criterion(criterion: str) -> Self
   - Benchmark.set_criterion_param_int64(name: str, value: int) -> Self
   - Benchmark.set_criterion_param_float64(name: str, value: float) -> Self
   - Benchmark.set_criterion_param_string(name: str, value: str) -> Self
   - Benchmark.set_timeout(duration: float) -> Self
   - Benchmark.set_skip_time(skip_time: float) -> Self
   - Benchmark.set_throttle_threshold(frac: float) -> Self
   - Benchmark.set_throttle_recovery_delay(duration: float) -> Self
   - Benchmark.set_min_samples(count: int) -> Self
2025-07-30 13:37:17 -05:00
..
2025-07-28 15:37:04 -05:00

g++ py_nvbench.cpp                                    \
   -shared -fPIC                                      \
   -I ${HOME}/repos/pybind11/include                  \
   -I ${HOME}/repos/pynvbench/nvbench_dir/include     \
   -I /usr/local/cuda/include                         \
   $(python3-config --includes)                       \
   $(python3-config --libs)                           \
   -L ${HOME}/repos/pynvbench/nvbench_dir/lib/        \
   -lnvbench                                          \
   -Wl,-rpath,${HOME}/repos/pynvbench/nvbench_dir/lib \
   -L /usr/local/cuda/lib64/                          \
   -lcudart                                           \
   -Wl,-rpath,/usr/local/cuda/lib64                   \
   -o _nvbench$(python3-config --extension-suffix)