| 94 | } |
| 95 | |
| 96 | aclError 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 | |
| 105 | void XopDestroyAttr(const aclopAttr *attr) |
| 106 | { |
nothing calls this directly
no test coverage detected