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

Method compile

src/targets/gpu/mlir.cpp:880–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

878 }
879
880 code_object_op compile(const value& solution)
881 {
882 // 1st pipeline to call
883 run_high_level_pipeline();
884 std::string tuning_cfg_path = string_value_of(MIGRAPHX_MLIR_TUNING_CFG{});
885 if(not tuning_cfg_path.empty())
886 get_module_tuned();
887 if(not solution.is_null())
888 set_tuning(solution);
889 // 2nd pipeline to call
890 run_backend_pipeline();
891
892 code_object_op op{};
893 op.symbol_name = sym_name;
894 op.code_object = get_binary();
895 std::tie(op.global, op.local) = get_launch_params();
896 return op;
897 }
898
899 void set_gpu_properties(const context& migraphx_ctx)
900 {

Callers 1

compile_mlirFunction · 0.45

Calls 3

is_nullMethod · 0.80
string_value_ofFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected