Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ GetDeviceFromHandle
Function
GetDeviceFromHandle
tensorflow/compiler/xrt/xrt_memory_manager.cc:39–41 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
37
}
38
39
int GetDeviceFromHandle(int64 handle) {
40
return (handle >> (64 - kDeviceBits)) & ((1 << kDeviceBits) - 1);
41
}
42
43
} // namespace
44
Callers
2
Lookup
Method · 0.85
Release
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected