Fix ROCM build
PiperOrigin-RevId: 276330686 Change-Id: I2b9ff29ce7e35280d92631ac9f7e730b0dce9c6d
This commit is contained in:
parent
52354aaa7f
commit
b07081a4df
@ -217,7 +217,7 @@ struct LaunchConv2DBackpropInputOp<CPUDevice, T> {
|
||||
}
|
||||
};
|
||||
|
||||
#ifdef GOOGLE_CUDA
|
||||
#if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
|
||||
// Computes backprop input using Eigen::SpatialConvolutionBackwardInput on GPU
|
||||
// for int32 inputs.
|
||||
template <>
|
||||
@ -234,7 +234,7 @@ struct LaunchConv2DBackpropInputOp<GPUDevice, int32> {
|
||||
explicit_paddings, in_backprop, data_format);
|
||||
}
|
||||
};
|
||||
#endif // GOOGLE_CUDA
|
||||
#endif // GOOGLE_CUDA || TENSORFLOW_USE_ROCM
|
||||
|
||||
#ifdef TENSORFLOW_USE_LIBXSMM_CONVOLUTIONS
|
||||
template <typename Device, class T>
|
||||
|
Loading…
Reference in New Issue
Block a user