MCPcopy 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
302private:
303 void* m_ptr;

Callers 15

execMethod · 0.45
exec_unaryFunction · 0.45
exec_binaryFunction · 0.45
exec_ternaryFunction · 0.45
workspaceMethod · 0.45
exec_internalMethod · 0.45
exec_internalMethod · 0.45
execMethod · 0.45
exec_internalMethod · 0.45
execMethod · 0.45
exec_internalMethod · 0.45
execMethod · 0.45

Calls 1

getFunction · 0.85

Tested by

no test coverage detected