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

Function init

src/jit/impl/halide/ast_hl.cpp:376–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374 TRAIT_IMPL_COMMON;
375
376 static void init(FuncRef comp) { comp = cast<hl_comp_type>(0); }
377 static void apply(FuncRef comp, Halide::FuncRef in, float) {
378 comp += cast<hl_comp_type>(in);
379 }

Callers 6

InfkernFinderMethod · 0.50
solveMethod · 0.50
get_workspace_sizeMethod · 0.50
execMethod · 0.50
mut_descMethod · 0.50
FancyIndexingHelperMethod · 0.50

Calls 2

minMethod · 0.45
maxMethod · 0.45

Tested by

no test coverage detected