Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ get_workspace
Method
get_workspace
dnn/src/common/utils.h:298–300 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
296
void set(void* ptr);
297
298
Workspace get_workspace(size_t i) const {
299
return {static_cast<dt_byte*>(get(i)), get_size(i)};
300
}
301
302
private:
303
void* m_ptr;
Callers
15
exec
Method · 0.45
exec_unary
Function · 0.45
exec_binary
Function · 0.45
exec_ternary
Function · 0.45
workspace
Method · 0.45
exec_internal
Method · 0.45
exec_internal
Method · 0.45
exec
Method · 0.45
exec_internal
Method · 0.45
exec
Method · 0.45
exec_internal
Method · 0.45
exec
Method · 0.45
Calls
1
get
Function · 0.85
Tested by
no test coverage detected