mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
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
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)