Merge pull request #26897 from ROCmSoftwarePlatform:google_upstream_extract_image_patches_op

PiperOrigin-RevId: 239285802
This commit is contained in:
TensorFlower Gardener 2019-03-19 16:49:12 -07:00
commit 14fbe25f3e
2 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,7 @@ TF_CALL_REAL_NUMBER_TYPES(REGISTER);
#undef REGISTER #undef REGISTER
#if GOOGLE_CUDA #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
// Forward declarations of the functor specializations for GPU. // Forward declarations of the functor specializations for GPU.
namespace functor { namespace functor {
@ -160,6 +160,6 @@ TF_CALL_GPU_NUMBER_TYPES(REGISTER);
#undef REGISTER #undef REGISTER
#endif // GOOGLE_CUDA #endif // GOOGLE_CUDA || TENSORFLOW_USE_ROCM
} // namespace tensorflow } // namespace tensorflow

View File

@ -13,7 +13,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
==============================================================================*/ ==============================================================================*/
#if GOOGLE_CUDA #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#define EIGEN_USE_GPU #define EIGEN_USE_GPU
@ -35,4 +35,4 @@ TF_CALL_GPU_NUMBER_TYPES(REGISTER);
} // end namespace functor } // end namespace functor
} // end namespace tensorflow } // end namespace tensorflow
#endif // GOOGLE_CUDA #endif // GOOGLE_CUDA || TENSORFLOW_USE_ROCM