MCPcopy 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
83void InitDevices() { MemoryUtils::Instance().InitDevices(); }
84
85void EmplaceDeviceContexts(
86 std::map<Place, std::shared_future<std::unique_ptr<DeviceContext>>>*

Callers 2

SyncDeviceContextMethod · 0.50
GetMethod · 0.50

Calls 2

InstanceFunction · 0.85
InitDevicesMethod · 0.80

Tested by

no test coverage detected