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

Function migraphx_argument_equal

src/api/api.cpp:1250–1261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1248}
1249
1250extern "C" migraphx_status
1251migraphx_argument_equal(bool* out, const_migraphx_argument_t argument, const_migraphx_argument_t x)
1252{
1253 auto api_error_result = migraphx::try_([&] {
1254 if(argument == nullptr)
1255 MIGRAPHX_THROW(migraphx_status_bad_param, "Bad parameter argument: Null pointer");
1256 if(x == nullptr)
1257 MIGRAPHX_THROW(migraphx_status_bad_param, "Bad parameter x: Null pointer");
1258 *out = migraphx::equal((argument->object), (x->object));
1259 });
1260 return api_error_result;
1261}
1262
1263extern "C" migraphx_status migraphx_argument_save(const_migraphx_argument_t a, const char* filename)
1264{

Callers

nothing calls this directly

Calls 2

try_Function · 0.85
equalFunction · 0.70

Tested by

no test coverage detected