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

Method get_binary

src/targets/gpu/mlir.cpp:916–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

914 }
915
916 value::binary get_binary() const
917 {
918 size_t size = 0;
919 mlirGetBinary(mmodule.get(), &size, nullptr);
920 value::binary result(size);
921 if(mlirGetBinary(mmodule.get(), &size, reinterpret_cast<char*>(result.data())))
922 return result;
923 MIGRAPHX_THROW("Failed to compile mlir program");
924 }
925
926 void set_tuning(const value& v) MIGRAPHX_TIDY_CONST
927 {

Callers 4

TEST_CASEFunction · 0.80
TEST_CASEFunction · 0.80
migraphx_from_valueFunction · 0.80
from_value_implFunction · 0.80

Calls 2

getMethod · 0.45
dataMethod · 0.45

Tested by 1

TEST_CASEFunction · 0.64