Example #1
0
 def test_check_cuda_version(self):
     with self.assertRaises(RuntimeError):
         build.get_cuda_version()
     assert build.check_cuda_version(self.compiler, self.settings)
     assert isinstance(build.get_cuda_version(), int)
     assert isinstance(build.get_cuda_version(True), str)
Example #2
0
 def test_check_cuda_version(self):
     self.assertTrue(build.check_cuda_version(
         self.compiler, self.settings))
Example #3
0
 def test_check_cuda_version(self):
     self.assertTrue(build.check_cuda_version(
         self.compiler, self.settings))