Commit c77c27b
committed
Don't use
Some recent vendorings resulted in the `MemoryLeakMixin` class being a
base for some tests. The side effect of this is that it now enables NRT
stats counting on-device. There seem to be some cleanup issues with NRT
stats counting (it ought to be robust when used with tests in general,
but as #517 notes, it seems not to be).
In order to reduce the incidence of spurious failures from this
(especially when testing on a fast machine), we disable the
`MemoryLeakMixin` for tests that aren't using NRT (which is still
experimental for CUDA anyway).MemoryLeakMixin for tests that don't use NRT1 parent 99cab49 commit c77c27b
File tree
2 files changed
+3
-8
lines changed- numba_cuda/numba/cuda/tests
- cudapy
2 files changed
+3
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
22 | 19 | | |
23 | 20 | | |
24 | 21 | | |
| |||
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
54 | | - | |
| 51 | + | |
55 | 52 | | |
56 | 53 | | |
57 | 54 | | |
| |||
0 commit comments