Пример #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)
Пример #2
0
 def test_check_cudnn_version(self):
     self.assertTrue(build.check_cudnn_version(
         self.compiler, self.settings))
Пример #3
0
 def test_check_cudnn_version(self):
     self.assertTrue(build.check_cudnn_version(
         self.compiler, self.settings))