MCPcopy Create free account
hub / github.com/XpuOS/xsched / XrtCreateStreamWithConfig

Function XrtCreateStreamWithConfig

platforms/ascend/shim/src/shim.cpp:96–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96aclError XrtCreateStreamWithConfig(aclrtStream *stream, uint32_t priority, uint32_t flag)
97{
98 aclError res = Driver::rtCreateStreamWithConfig(stream, priority, flag);
99 if (res != ACL_SUCCESS) return res;
100 XQueueManager::AutoCreate([&](HwQueueHandle *hwq) { return AclQueueCreate(hwq, *stream); });
101 XDEBG("XrtCreateStreamWithConfig(stream: %p, priority: %u, flag: 0x%x)", *stream, priority, flag);
102 return res;
103}
104
105void XopDestroyAttr(const aclopAttr *attr)
106{

Callers

nothing calls this directly

Calls 1

AclQueueCreateFunction · 0.85

Tested by

no test coverage detected