Deven Desai 5bf0bab331 [ROCm] Fix for ROCm CSB breakage on 200507
The following PR/commit introduces a build error on the ROCm platform

https://github.com/tensorflow/tensorflow/pull/38802

The error is caused by a call to the `CsrgemmBufferSize` routine which only exists on the CUDA side. The call to it was not guarded by the same #if block that guards the function declaration + definition. Adding the missing #if block fixes the issue.

This PR also adds some explicit `GOOGLE_CUDA &&` and `|| TENSORFLOW_USE_ROCM` conditions to some `#if` to make things clear.
2020-05-07 20:55:49 +00:00
..
2020-05-04 17:40:14 -05:00
2019-09-03 16:49:47 -07:00