Remove wrong test in test_raw
@@ -745,32 +745,6 @@ class TestRaw(unittest.TestCase):
x1, x2, y = self._helper(ker_sum, cupy.float32)
assert cupy.allclose(y, x1 + x2)
- @testing.multi_gpu(2)
- def test_context_switch_RawModule3(self):
- # run test_load_cubin() on another device
- # generate cubin in the temp dir and load it on device 0
- file_path = self._generate_file('cubin')
- mod = cupy.RawModule(path=file_path, backend=self.backend)
-
- # in this test, reloading happens at get_function()
- with cupy.cuda.Device(1):
- ker = mod.get_function('test_div')
- x1, x2, y = self._helper(ker, cupy.float32)
- assert cupy.allclose(y, x1 / (x2 + 1.0))
-
- @testing.multi_gpu(2)
- def test_context_switch_RawModule4(self):
- # run test_load_cubin() on another device
- # generate cubin in the temp dir and load it on device 0
- file_path = self._generate_file('cubin')
- mod = cupy.RawModule(path=file_path, backend=self.backend)
- ker = mod.get_function('test_div')
-
- # in this test, reloading happens at kernel launch
- with cupy.cuda.Device(1):
- x1, x2, y = self._helper(ker, cupy.float32)
- assert cupy.allclose(y, x1 / (x2 + 1.0))
-
@testing.multi_gpu(2)
def test_context_switch_RawModule5(self):
# run test_template_specialization() on another device
