Update examples/custom_criterion.cu
Open
@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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.