Exemplo n.º 1
0
 def test_size(self):
     size = 1024
     cuda.set_max_workspace_size(size)
     self.assertEqual(size, cuda.get_max_workspace_size())
Exemplo n.º 2
0
 def tearDown(self):
     cuda.set_max_workspace_size(self.space)
Exemplo n.º 3
0
 def test_size(self):
     size = 1024
     cuda.set_max_workspace_size(size)
     assert size == cuda.get_max_workspace_size()
Exemplo n.º 4
0
 def test_size(self):
     size = 1024
     cuda.set_max_workspace_size(size)
     assert size == cuda.get_max_workspace_size()
Exemplo n.º 5
0
 def tearDown(self):
     cuda.set_max_workspace_size(self.space)
Exemplo n.º 6
0
 def test_size(self):
     size = 1024
     cuda.set_max_workspace_size(size)
     self.assertEqual(size, cuda.get_max_workspace_size())