diff options
author | 2016-11-09 16:14:01 -0800 | |
---|---|---|
committer | 2016-11-09 16:25:40 -0800 | |
commit | 0f81e91137e305a545f070815099f24ae217640f (patch) | |
tree | 011c4ade29c52f7f64c455a5f82100b33965686e /tensorflow/core/kernels/identity_op.cc | |
parent | 58b4581d0ef07a3016d44bfae0cc28738bce2e90 (diff) |
Fixed formatting and lint issues introduced with the last pull from OSS (cl/138675832)
Change: 138699007
Diffstat (limited to 'tensorflow/core/kernels/identity_op.cc')
-rw-r--r-- | tensorflow/core/kernels/identity_op.cc | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/tensorflow/core/kernels/identity_op.cc b/tensorflow/core/kernels/identity_op.cc index 45d27dd19e..711afd1bf3 100644 --- a/tensorflow/core/kernels/identity_op.cc +++ b/tensorflow/core/kernels/identity_op.cc @@ -35,15 +35,15 @@ REGISTER_KERNEL_BUILDER(Name("PlaceholderWithDefault").Device(DEVICE_CPU), REGISTER_KERNEL_BUILDER(Name("RefIdentity").Device(DEVICE_CPU), IdentityOp); #if TENSORFLOW_USE_SYCL -#define REGISTER_SYCL_KERNEL(type) \ - REGISTER_KERNEL_BUILDER( \ - Name("Identity").Device(DEVICE_SYCL).TypeConstraint<type>("T"), \ - IdentityOp); \ - REGISTER_KERNEL_BUILDER( \ - Name("RefIdentity").Device(DEVICE_SYCL).TypeConstraint<type>("T"), \ - IdentityOp); \ - REGISTER_KERNEL_BUILDER( \ - Name("StopGradient").Device(DEVICE_SYCL).TypeConstraint<type>("T"),\ +#define REGISTER_SYCL_KERNEL(type) \ + REGISTER_KERNEL_BUILDER( \ + Name("Identity").Device(DEVICE_SYCL).TypeConstraint<type>("T"), \ + IdentityOp); \ + REGISTER_KERNEL_BUILDER( \ + Name("RefIdentity").Device(DEVICE_SYCL).TypeConstraint<type>("T"), \ + IdentityOp); \ + REGISTER_KERNEL_BUILDER( \ + Name("StopGradient").Device(DEVICE_SYCL).TypeConstraint<type>("T"), \ IdentityOp) TF_CALL_NUMBER_TYPES_NO_INT32(REGISTER_SYCL_KERNEL); @@ -68,7 +68,6 @@ REGISTER_GPU_KERNEL(bfloat16); #undef REGISTER_GPU_KERNEL - #if GOOGLE_CUDA // A special GPU kernel for int32 and bool. // TODO(b/25387198): Also enable int32 in device memory. This kernel |