remove tests for CUDA 8
@@ -22,13 +22,6 @@ class TestNvrtcArch(unittest.TestCase):
assert compiler._get_arch() == expected_arch
cupy.util.clear_memo() # _get_arch result is cached
- @unittest.skipUnless(cuda_version() < 9000, 'Requires CUDA 8.x or earlier')
- def test_get_arch_cuda8(self):
- self._check_get_arch('37', '37')
- self._check_get_arch('50', '50')
- self._check_get_arch('52', '52')
- self._check_get_arch('53', '53') # Tegra
-
@unittest.skipUnless(9000 <= cuda_version(), 'Requires CUDA 9.x or later')
def test_get_arch_cuda9(self):
self._check_get_arch('62', '62') # Tegra
@@ -48,22 +41,6 @@ class TestNvrtcArch(unittest.TestCase):
def _compile(self, arch):
compiler.compile_using_nvrtc('', arch=arch)
- @unittest.skipUnless(cuda_version() < 9000, 'Requires CUDA 8.x or earlier')
- def test_compile_cuda8(self):
- # This test is intended to detect specification change in NVRTC API.
-
- # It should not fail.
- # (Do not test `compute_53` as it is for Tegra.)
- self._compile('52')
-
- # It should fail.
- # (`compute_60` and `compute_61` are not supported by NVRTC in CUDA 8
- # but it does not raise error when used.)
- self.assertRaises(
- compiler.CompileException, self._compile, '54')
- self.assertRaises(
- compiler.CompileException, self._compile, '70')
-
@unittest.skipUnless(9000 <= cuda_version(), 'Requires CUDA 9.0 or later')
def test_compile_cuda9(self):
# This test is intended to detect specification change in NVRTC API.
