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

Function TEST

src/jit/test/codegen.cpp:313–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311
312#if MGB_JIT_MLIR
313TEST(TestJITMlirCodeGen, Basic) {
314 auto cn = CompNode::load("cpu0");
315 run_mlir(cn);
316 run_mlir_broadcast(cn);
317 run_mlir_different_shape(cn);
318}
319
320TEST(TestJITMlirCodeGen, BasicGPU) {
321 REQUIRE_GPU(1);

Callers

nothing calls this directly

Calls 15

run_mlir_broadcastFunction · 0.85
run_mlir_different_shapeFunction · 0.85
run_dimshuffle_casesFunction · 0.85
make_callback_copyFunction · 0.85
make_scalar_dtMethod · 0.80
value_inferMethod · 0.80
run_mlirFunction · 0.70
loadFunction · 0.50
makeFunction · 0.50
genFunction · 0.50
owner_oprMethod · 0.45
nodeMethod · 0.45

Tested by

no test coverage detected