Disable test_cuda.test_stream_event_nogil on ROCm (#26087)
Summary:
Was recently enabled in https://github.com/pytorch/pytorch/pull/26055, it's flaky on master:
https://ci.pytorch.org/jenkins/job/pytorch-builds/job/py2-clang7-rocmdeb-ubuntu16.04-test/37575
https://ci.pytorch.org/jenkins/job/pytorch-builds/job/py2-clang7-rocmdeb-ubuntu16.04-test/37577
```
05:39:35 test_stream_event_nogil (__main__.TestCuda) ... Exception in thread Thread-3:
05:39:40 Traceback (most recent call last):
05:39:40 File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
05:39:40 self.run()
05:39:40 File "/usr/lib/python2.7/threading.py", line 754, in run
05:39:40 self.__target(*self.__args, **self.__kwargs)
05:39:40 File "test_cuda.py", line 1894, in _test_stream_event_nogil
05:39:40 c2p.put(sync_func(self, TestCuda.FIFTY_MIL_CYCLES))
05:39:40 File "test_cuda.py", line 1882, in _event_wait
05:39:40 self.assertTrue(s1.query())
05:39:40 File "/usr/lib/python2.7/unittest/case.py", line 422, in assertTrue
05:39:40 raise self.failureException(msg)
05:39:40 AssertionError: False is not true
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26087
Differential Revision: D17340891
Pulled By: bddppq
fbshipit-source-id: b2b70beb1b068db53197a5f9f6a80cb046e66ebd