Added ROCm support for nn_ops_test

This commit is contained in:
Jeffrey Poznanovic 2019-03-19 04:13:03 +00:00
parent 949474a448
commit 4aaa257a5d

View File

@ -15,9 +15,9 @@ limitations under the License.
#define EIGEN_USE_THREADS #define EIGEN_USE_THREADS
#if GOOGLE_CUDA #if GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#define EIGEN_USE_GPU #define EIGEN_USE_GPU
#endif // GOOGLE_CUDA #endif // GOOGLE_CUDA || TENSORFLOW_USE_ROCM
#include <functional> #include <functional>
#include <memory> #include <memory>