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

Function compile

src/targets/gpu/compiler.cpp:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55bool has_compiler_for(const std::string& name) { return compiler_map().count(name) > 0; }
56compiler_replace
57compile(context& ctx, instruction_ref ins, const operation& op, const value& solution)
58{
59 assert(contains(compiler_map(), op.name()));
60 return compiler_map().at(op.name()).compile(ctx, ins, op, solution);
61}
62operation
63compile_op(const std::string& name, context& ctx, const std::vector<shape>& inputs, const value& v)
64{

Callers 4

finalizeMethod · 0.70
applyMethod · 0.70
insert_compilesMethod · 0.70
applyMethod · 0.50

Calls 4

containsFunction · 0.85
atMethod · 0.80
nameMethod · 0.45
compileMethod · 0.45

Tested by

no test coverage detected