aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/l2loss_op_gpu.cu.cc
blob: 858fcfe8d377e7ba525d208403022ffba3872d46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if GOOGLE_CUDA

#define EIGEN_USE_GPU

#include "tensorflow/core/kernels/l2loss_op.h"

#include "tensorflow/core/framework/register_types.h"

namespace tensorflow {

typedef Eigen::GpuDevice GPUDevice;
template struct functor::L2Loss<GPUDevice, float>;

}  // namespace tensorflow

#endif  // GOOGLE_CUDA