Skip to content

Commit

Permalink
[OpenCL] Fixes run_metadata_test for SYCL
Browse files Browse the repository at this point in the history
 This test is designed to test CUDA specific behavior
  • Loading branch information
Luke Iwanski committed Jun 22, 2017
1 parent af0cbac commit ad0892d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit ad0892d

Please sign in to comment.