blob: 12eb076a4d8bf855b8760619ddef0db681cb47e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include "tensorflow/core/util/port.h"
namespace tensorflow {
bool IsGoogleCudaEnabled() {
#if GOOGLE_CUDA
return true;
#else
return false;
#endif
}
} // end namespace tensorflow
|