Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ InitDevices
Function
InitDevices
paddle/phi/common/memory_utils.cc:83–83 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
81
#endif
82
83
void InitDevices() { MemoryUtils::Instance().InitDevices(); }
84
85
void EmplaceDeviceContexts(
86
std::map<Place, std::shared_future<std::unique_ptr<DeviceContext>>>*
Callers
2
SyncDeviceContext
Method · 0.50
Get
Method · 0.50
Calls
2
Instance
Function · 0.85
InitDevices
Method · 0.80
Tested by
no test coverage detected