Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ raw_dev_free
Method
raw_dev_free
src/core/test/mem_alloc.cpp:523–523 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
521
MGB_CUDA_CHECK(cudaMalloc(ptr, size));
522
}
523
void raw_dev_free(void* ptr) override { MGB_CUDA_CHECK(cudaFree(ptr)); }
524
};
525
#endif
526
Callers
1
test_free_mem
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected