Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ IsGoogleCudaEnabled
Function
IsGoogleCudaEnabled
tensorflow/core/util/port.cc:21–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
19
namespace tensorflow {
20
21
bool IsGoogleCudaEnabled() {
22
#if GOOGLE_CUDA
23
return true;
24
#else
25
return false;
26
#endif
27
}
28
29
bool IsBuiltWithROCm() {
30
#if TENSORFLOW_USE_ROCM
Callers
6
RunComposedOp
Method · 0.50
RunAutoClusteringTestImpl
Method · 0.50
TEST
Function · 0.50
GetDevicesForNode
Method · 0.50
BM_ConvFloat
Function · 0.50
BM_ConvFloatDepthwise
Function · 0.50
Calls
no outgoing calls
Tested by
5
RunComposedOp
Method · 0.40
RunAutoClusteringTestImpl
Method · 0.40
TEST
Function · 0.40
BM_ConvFloat
Function · 0.40
BM_ConvFloatDepthwise
Function · 0.40