MCPcopy Create free account
hub / github.com/ROCm/AMDMIGraphX / run_lowering

Function run_lowering

test/gpu/gemm_tune.cpp:43–49  ·  view source on GitHub ↗

Abbreviated lowering; we don't need the usual cleanup passes for this test

Source from the content-addressed store, hash-verified

41#if MIGRAPHX_USE_ROCBLAS or MIGRAPHX_USE_HIPBLASLT
42// Abbreviated lowering; we don't need the usual cleanup passes for this test
43static void run_lowering(migraphx::program& p, bool offload_copy = false)
44{
45 auto ctx = migraphx::gpu::context{};
46 migraphx::run_passes(
47 *p.get_main_module(),
48 {migraphx::auto_contiguous{}, migraphx::gpu::lowering{&ctx, offload_copy}});
49}
50/**
51 * Tests the automatic GEMM tuning feature for rocBLAS and hipBLASLt.
52 * In the finalize() method of the gemm op,

Callers 1

TEST_CASEFunction · 0.70

Calls 2

run_passesFunction · 0.85
get_main_moduleMethod · 0.80

Tested by

no test coverage detected