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

Function migraphx_operation_create

src/api/api.cpp:1832–1845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1830}
1831
1832extern "C" migraphx_status migraphx_operation_create(migraphx_operation_t* operation,
1833 const char* name,
1834 const char* attributes,
1835 ...)
1836{
1837 va_list vlist;
1838 va_start(vlist, attributes);
1839 auto api_error_result = migraphx::try_([&] {
1840 *operation = object_cast<migraphx_operation_t>(
1841 allocate<migraphx::operation>(migraphx::create_op((name), (attributes), (vlist))));
1842 });
1843 va_end(vlist);
1844 return api_error_result;
1845}
1846
1847extern "C" migraphx_status
1848migraphx_operation_name(char* out, size_t out_size, migraphx_operation_t operation)

Callers 1

mainFunction · 0.85

Calls 2

try_Function · 0.85
create_opFunction · 0.70

Tested by 1

mainFunction · 0.68