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

Function migraphx_optimals_create

src/api/api.cpp:862–870  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860}
861
862extern "C" migraphx_status
863migraphx_optimals_create(migraphx_optimals_t* optimals, const size_t* ptr, size_t size)
864{
865 auto api_error_result = migraphx::try_([&] {
866 *optimals = object_cast<migraphx_optimals_t>(
867 allocate<std::set<size_t>>(migraphx::make_set<size_t>((ptr), (size))));
868 });
869 return api_error_result;
870}
871
872extern "C" migraphx_status
873migraphx_dynamic_dimension_destroy(migraphx_dynamic_dimension_t dynamic_dimension)

Callers

nothing calls this directly

Calls 1

try_Function · 0.85

Tested by

no test coverage detected