mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[ROCm] unskip external streams tests (#80922)
These two tests are passing for ROCm 5.1.1 and 5.2. Pull Request resolved: https://github.com/pytorch/pytorch/pull/80922 Approved by: https://github.com/cpuhrsch
This commit is contained in:
parent
c9a0204ef4
commit
ff6655defb
1 changed files with 0 additions and 2 deletions
|
|
@ -1351,7 +1351,6 @@ class TestCuda(TestCase):
|
|||
out = cudart.cudaStreamDestroy(stream.value)
|
||||
self.assertEqual(out, 0)
|
||||
|
||||
@skipIfRocm
|
||||
def test_external_streams(self):
|
||||
device = torch.cuda.device(0)
|
||||
with self._get_external_stream(device) as stream_v:
|
||||
|
|
@ -1359,7 +1358,6 @@ class TestCuda(TestCase):
|
|||
self.assertEqual(stream_v, ext_stream.cuda_stream)
|
||||
self.assertEqual(ext_stream.device.index, device.idx)
|
||||
|
||||
@skipIfRocm
|
||||
@unittest.skipIf(not TEST_MULTIGPU, "detected only one GPU")
|
||||
def test_external_streams_multi_device(self):
|
||||
device = torch.cuda.device(1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue