File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
numba_cuda/numba/cuda/tests Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,13 @@ def setUp(self):
1717 super (TestArrayReductions , self ).setUp ()
1818 np .random .seed (42 )
1919 self .old_nrt_setting = config .CUDA_ENABLE_NRT
20+ self .old_perf_warnings_setting = config .DISABLE_PERFORMANCE_WARNINGS
2021 config .CUDA_ENABLE_NRT = True
22+ config .DISABLE_PERFORMANCE_WARNINGS = 1
2123
2224 def tearDown (self ):
2325 config .CUDA_ENABLE_NRT = self .old_nrt_setting
26+ config .DISABLE_PERFORMANCE_WARNINGS = self .old_perf_warnings_setting
2427 super (TestArrayReductions , self ).tearDown ()
2528
2629 def test_all_basic (self ):
Original file line number Diff line number Diff line change @@ -15,3 +15,7 @@ filterwarnings =
1515 ignore:.*nvJitLink is not installed or too old.*:RuntimeWarning
1616 ignore:.*float16 relies on LTO for performance. LTO requires nvjitlink.*:numba.core.errors.NumbaPerformanceWarning
1717 ignore:.*The CUDA driver version is older than the backend version.*:RuntimeWarning
18+ ignore:.*class " double4" was declared deprecated.*:UserWarning
19+ ignore:invalid value encountered in (reduce|subtract):RuntimeWarning
20+ ignore:All-NaN slice encountered:RuntimeWarning
21+ ignore:Mean of empty slice:RuntimeWarning
You can’t perform that action at this time.
0 commit comments