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

Method execute

src/jit/impl/mlir/executable_cuda.cpp:135–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void MLIRCUDAExecutable::execute(JITExecutor* fusion_opr) {
136 FuncCache* func;
137 auto cn = fusion_opr->comp_node();
138 auto&& prop = CompNodeEnv::from_comp_node(cn).cuda_env().device_prop;
139 func = &m_func_cache[{prop.major, prop.minor}];
140 func->kernel_data = m_kernel_data;
141 func->exec(fusion_opr, this);
142}
143
144MLIRCUDAExecutable::~MLIRCUDAExecutable() {}
145

Callers

nothing calls this directly

Calls 2

comp_nodeMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected