[OpenCL] Fixes run_metadata_test for SYCL
This test is designed to test CUDA specific behavior
This commit is contained in:
parent
af0cbace1d
commit
ad0892df1d
@ -71,7 +71,7 @@ def _run_model():
|
||||
class RunMetadataTest(test.TestCase):
|
||||
|
||||
def testGPU(self):
|
||||
if not test.is_gpu_available():
|
||||
if not test.is_gpu_available(cuda_only=True):
|
||||
return
|
||||
|
||||
with ops.device('/gpu:0'):
|
||||
|
Loading…
Reference in New Issue
Block a user