MCPcopy Create free account
hub / github.com/OAID/Tengine / get_context_device

Function get_context_device

core/lib/tengine_c_api.cpp:1640–1645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1638}
1639
1640const char* get_context_device(context_t context, int idx)
1641{
1642 ExecContext* exec_context = reinterpret_cast<ExecContext*>(context);
1643
1644 return exec_context->GetDevice(idx);
1645}
1646
1647int add_context_device(context_t context, const char* dev_name)
1648{

Callers

nothing calls this directly

Calls 1

GetDeviceMethod · 0.45

Tested by

no test coverage detected