diff options
Diffstat (limited to 'tensorflow/core/kernels/adjust_contrast_op_gpu.cu.cc')
-rw-r--r-- | tensorflow/core/kernels/adjust_contrast_op_gpu.cu.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tensorflow/core/kernels/adjust_contrast_op_gpu.cu.cc b/tensorflow/core/kernels/adjust_contrast_op_gpu.cu.cc new file mode 100644 index 0000000000..7a9b0726fd --- /dev/null +++ b/tensorflow/core/kernels/adjust_contrast_op_gpu.cu.cc @@ -0,0 +1,22 @@ +#if GOOGLE_CUDA + +#define EIGEN_USE_GPU + +#include "tensorflow/core/kernels/adjust_contrast_op.h" + +#include "tensorflow/core/framework/register_types.h" + +namespace tensorflow { + +typedef Eigen::GpuDevice GPUDevice; +template struct functor::AdjustContrast<GPUDevice, uint8>; +template struct functor::AdjustContrast<GPUDevice, int8>; +template struct functor::AdjustContrast<GPUDevice, int16>; +template struct functor::AdjustContrast<GPUDevice, int32>; +template struct functor::AdjustContrast<GPUDevice, int64>; +template struct functor::AdjustContrast<GPUDevice, float>; +template struct functor::AdjustContrast<GPUDevice, double>; + +} // namespace tensorflow + +#endif // GOOGLE_CUDA |