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

Method compile

test/gpu/kernels/main.cpp:97–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95 }
96
97 void compile()
98 {
99 if(not k.empty())
100 return;
101 migraphx::gpu::context ctx;
102 auto binary = migraphx::gpu::compile_hip_raw(ctx, generate_source(), options);
103
104 k = {binary, options.kernel_name};
105 }
106
107 void run(const std::string& case_name)
108 {

Callers 15

run_progFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
run_gpuFunction · 0.45
run_refFunction · 0.45
TEST_CASEFunction · 0.45
TEST_CASEFunction · 0.45
mainFunction · 0.45
TEST_CASEFunction · 0.45

Calls 2

compile_hip_rawFunction · 0.85
emptyMethod · 0.45

Tested by 15

TEST_CASEFunction · 0.36
TEST_CASEFunction · 0.36
test_conv_reluFunction · 0.36
test_conv_reluFunction · 0.36
test_sub_uint64Function · 0.36
test_neg_int64Function · 0.36
test_nonzeroFunction · 0.36
test_fp16_imagescalerFunction · 0.36
test_if_plFunction · 0.36
test_dyn_batchFunction · 0.36
test_conv_reluFunction · 0.36
test_add_scalarFunction · 0.36