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

Function check_target

test/gpu/jit.cpp:219–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219static auto check_target(const std::string& arch)
220{
221 auto define = "__" + arch + "__";
222 auto content = migraphx::replace_string(check_define, "__DEFINE__", define);
223 return migraphx::gpu::compile_hip_src({make_src_file("main.cpp", content)}, {}, arch);
224}
225
226TEST_CASE(compile_target)
227{

Callers 1

TEST_CASEFunction · 0.85

Calls 3

replace_stringFunction · 0.85
compile_hip_srcFunction · 0.85
make_src_fileFunction · 0.70

Tested by

no test coverage detected