Skip to content

Commit

Permalink
[SYCL] Disables NCHW target for conv_ops_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Luke Iwanski committed Apr 30, 2018
1 parent b45338b commit 79966b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tensorflow/python/kernel_tests/conv_ops_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def GetTestConfigs():
all the valid test configs as tuples of data_format and use_gpu.
"""
test_configs = [("NHWC", False), ("NHWC", True)]
if test.is_gpu_available():
if test.is_gpu_available(cuda_only=True):
# "NCHW" format is only supported on CUDA.
test_configs += [("NCHW", True)]
return test_configs
Expand Down

0 comments on commit 79966b6

Please sign in to comment.