Commit d1cde760 authored by John Lawson's avatar John Lawson Committed by Luke Iwanski
Browse files

[OpenCL] Fixes SYCL profiler tests (#141)

The profiler relies heavily on the canonical device being listed in the
TFProf nodes, which is only set for those devices which return True from
CountAsCPUTime, so we need this to return True for SYCL device nodes
too. The check for whether the node will run on an Accelerator comes
from IsPlacedOnAccelerator.
parent ac98d118
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment