Repository navigation
Commit 473dcf5
test: make test_omp_get_wtime deterministic (#77)
The busy-wait asserted elapsed time within 5 ms (places=2). CI
runner preemption past the deadline failed the macOS job
intermittently.
Timing accuracy belongs to libomp, not PyOMP. Keep binding coverage:
omp_get_wtime is the only float64-returning _OpenmpExternalFunction,
so the test checks a positive float from both njit and interpreted
calls.
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent 23a8f34 commit 473dcf5
1 file changed
Lines changed: 7 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4775 | 4775 | | |
4776 | 4776 | | |
4777 | 4777 | | |
4778 | | - | |
4779 | | - | |
4780 | | - | |
4781 | | - | |
4782 | | - | |
4783 | | - | |
4784 | | - | |
4785 | | - | |
4786 | | - | |
4787 | | - | |
4788 | | - | |
4789 | | - | |
4790 | | - | |
4791 | | - | |
4792 | | - | |
| 4778 | + | |
| 4779 | + | |
| 4780 | + | |
| 4781 | + | |
| 4782 | + | |
| 4783 | + | |
| 4784 | + | |
4793 | 4785 | | |
4794 | 4786 | | |
4795 | 4787 | | |
| |||
0 commit comments