Example #1
0
 def test_check_cudnn_version(self):
     with self.assertRaises(RuntimeError):
         build.get_cudnn_version()
     self.assertTrue(build.check_cudnn_version(self.compiler,
                                               self.settings))
     self.assertIsInstance(build.get_cudnn_version(), int)
     self.assertIsInstance(build.get_cudnn_version(True), str)
Example #2
0
 def test_check_cudnn_version(self):
     self.assertTrue(build.check_cudnn_version(
         self.compiler, self.settings))
Example #3
0
 def test_check_cudnn_version(self):
     self.assertTrue(build.check_cudnn_version(
         self.compiler, self.settings))