MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / ptr

Method ptr

dnn/src/common/utils.cpp:162–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162void* WorkspaceBundle::ptr() const {
163 return m_ptr;
164}
165
166void* WorkspaceBundle::get(size_t i) const {
167 auto addr = reinterpret_cast<uintptr_t>(m_ptr);

Callers 15

init_graph_rtFunction · 0.45
py_applyFunction · 0.45
scalar2storageFunction · 0.45
pyseq2hvalFunction · 0.45
pyarr2hvalFunction · 0.45
TensorWrapperMethod · 0.45
module_trace_infoMethod · 0.45
_detailMethod · 0.45
shapeMethod · 0.45
dtypeMethod · 0.45
deviceMethod · 0.45
formatMethod · 0.45

Calls

no outgoing calls

Tested by 15

fill_srcMethod · 0.36
fill_fltMethod · 0.36
fill_dstMethod · 0.36
cmp_dstMethod · 0.36
cmp_srcMethod · 0.36
cmp_fltMethod · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
run_matmul_mk_formatFunction · 0.36