Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ using CPUDevice = Eigen::ThreadPoolDevice;
TF_CALL_GPU_NUMBER_TYPES(REGISTER_GELU_KERNELS);
#undef REGISTER_GELU_KERNELS

#ifdef GOOGLE_CUDA
#if GOOGLE_CUDA

using GPUDevice = Eigen::GpuDevice;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ TF_CALL_float(REGISTER_CORRELATIONCOST_OP_CPU);
#undef REGISTER_CORRELATIONCOST_OP_CPU

// Register the GPU kernels.
#ifdef GOOGLE_CUDA
#if GOOGLE_CUDA

#define REGISTER_CORRELATIONCOST_OP_GPU(T) \
REGISTER_KERNEL_BUILDER( \
Expand Down