MCPcopy Create free account
hub / github.com/catboost/catboost / TotalMemoryMb

Method TotalMemoryMb

catboost/cuda/cuda_lib/cuda_manager.cpp:40–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40double TCudaManager::TotalMemoryMb(ui32 devId) const {
41 auto devPtr = GetState().Devices[devId];
42 return devPtr->GetMemoryState().RequestedGpuRam * 1.0 / 1024 / 1024;
43}
44
45void TCudaManager::StopChild() {
46 CB_ENSURE(IsChildManager);

Callers

nothing calls this directly

Calls 1

GetMemoryStateMethod · 0.45

Tested by

no test coverage detected