NVIDIA / NVIDIA/nvbench

Update examples/custom_criterion.cu

Open
#343 0 comments 0 reactions 1 assignee View on GitHub

@oleksandr-pavlyk is already working on this.

Since May 1, 2026.

area: examples P2: nice to have type: cleanup
Dominant language
Cuda
Stars
927
Forks
123
Avg merge
2d 10h
Merged PRs (30d)
2

Description

With merge of #341 the stopping criterion with deterministic number of samples collected is available through CLI.

The example/custom_criterion.cu implemented exactly that, and it would be nice to update the example to implement some other stopping criterion.

Possible candidates:

  • Minimum accumulated time reached
  • Batched quantile stability (check every multiple of K samples, compare max relative change of 25-th, 50-th and 75-th percentiles and stop if below threshold.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.