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