We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9363337 commit f431d04Copy full SHA for f431d04
elephant/test/test_asset.py
@@ -808,7 +808,7 @@ def test_invalid_threads_parameter(self):
808
cuda_threads=cuda_threads,
809
)
810
811
- @unittest.skipUnless(HAVE_CUDA)
+ @unittest.skipUnless(HAVE_CUDA, "CUDA not available")
812
def test_cuda_threads(self):
813
os.environ["ELEPHANT_USE_CUDA"] = "1"
814
os.environ["ELEPHANT_USE_OPENCL"] = "0"
@@ -822,7 +822,7 @@ def test_cuda_threads(self):
822
823
assert_array_almost_equal(jmat, self.expected_jmat)
824
825
- @unittest.skipUnless(HAVE_PYOPENCL)
+ @unittest.skipUnless(HAVE_PYOPENCL, "PyOpenCL not available")
826
def test_pyopencl_threads(self):
827
os.environ["ELEPHANT_USE_CUDA"] = "0"
828
os.environ["ELEPHANT_USE_OPENCL"] = "1"
0 commit comments