mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 00:20:20 +01:00
[OpenCL] Cleans reshape.cc (#10347)
* [OpenCL] Cleans reshape.cc * Removes half and complex numbers. Half is extension and complex numbers needs implementation in Eigen first
This commit is contained in:
parent
8cda8660e1
commit
ddd67e3333
|
|
@ -42,8 +42,12 @@ TF_CALL_NUMBER_TYPES_NO_INT32(REGISTER_GPU_KERNEL);
|
|||
.TypeConstraint<type>("T") \
|
||||
.TypeConstraint<int32>("Tshape"), \
|
||||
ReshapeOp);
|
||||
TF_CALL_NUMBER_TYPES_NO_INT32(REGISTER_SYCL_KERNEL);
|
||||
#undef REGISTER_SYCL_KERNEL
|
||||
REGISTER_SYCL_KERNEL(float)
|
||||
REGISTER_SYCL_KERNEL(double)
|
||||
REGISTER_SYCL_KERNEL(uint8)
|
||||
REGISTER_SYCL_KERNEL(int8)
|
||||
REGISTER_SYCL_KERNEL(int64)
|
||||
REGISTER_SYCL_KERNEL(uint16)
|
||||
|
||||
REGISTER_KERNEL_BUILDER(Name("Reshape")
|
||||
.Device(DEVICE_SYCL)
|
||||
|
|
@ -53,6 +57,7 @@ REGISTER_KERNEL_BUILDER(Name("Reshape")
|
|||
.TypeConstraint<int32>("T")
|
||||
.TypeConstraint<int32>("Tshape"),
|
||||
ReshapeOp);
|
||||
#undef REGISTER_SYCL_KERNEL
|
||||
#endif // TENSORFLOW_USE_SYCL
|
||||
|
||||
#if GOOGLE_CUDA
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user