Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ get_used_memory
Method
get_used_memory
src/core/impl/comp_node/cuda/comp_node.cpp:537–539 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
535
}
536
537
size_t CudaCompNodeImpl::get_used_memory() {
538
return m_device_info->m_used_mem.load();
539
}
540
541
size_t CudaCompNodeImpl::get_max_used_memory() {
542
return m_device_info->m_max_used_mem.load();
Callers
4
init_common
Function · 0.45
auto_evict
Method · 0.45
TEST
Function · 0.45
get_reserved_memory
Method · 0.45
Calls
1
load
Method · 0.45
Tested by
1
TEST
Function · 0.36