message: Registers SYCL kernels for memory stats
  Registers general operations BytesLimitOp and MaxBytesInUseOp for SYCL
  devices. Currently the SYCL allocator does not update the AllocatorStats
  so these operations only return 0 on SYCL devices.
diff: @@ -57,6 +57,11 @@ REGISTER_KERNEL_BUILDER(Name("BytesLimit").Device(DEVICE_CPU), BytesLimitOp);
  REGISTER_KERNEL_BUILDER(Name("BytesLimit").Device(DEVICE_GPU).HostMemory("out"),
  BytesLimitOp);
  +#ifdef TENSORFLOW_USE_SYCL
  +REGISTER_KERNEL_BUILDER(Name("BytesLimit").Device(DEVICE_SYCL).HostMemory("out"),
  + BytesLimitOp);
  +#endif // TENSORFLOW_USE_SYCL
  +
  // Op that measures the peak memory in bytes.
  class MaxBytesInUseOp : public MemoryStatsOp {
  public:
  @@ -76,4 +81,10 @@ REGISTER_KERNEL_BUILDER(
  Name("MaxBytesInUse").Device(DEVICE_GPU).HostMemory("out"),
  MaxBytesInUseOp);
  +#ifdef TENSORFLOW_USE_SYCL
  +REGISTER_KERNEL_BUILDER(
  + Name("MaxBytesInUse").Device(DEVICE_SYCL).HostMemory("out"),
  + MaxBytesInUseOp);
  +#endif // TENSORFLOW_USE_SYCL
  +
  } // namespace tensorflow
  