| 304 | } |
| 305 | |
| 306 | hipError_t XStreamCreateWithPriority(hipStream_t *stream, unsigned int flags, int priority) |
| 307 | { |
| 308 | hipError_t res = Driver::StreamCreateWithPriority(stream, flags, priority); |
| 309 | if (res != hipSuccess) return res; |
| 310 | XQueueManager::AutoCreate([&](HwQueueHandle *hwq) { return HipQueueCreate(hwq, *stream); }); |
| 311 | XDEBG("XStreamCreateWithPriority(stream: %p, flags: 0x%x, priority: %d)", *stream, flags, priority); |
| 312 | return res; |
| 313 | } |
| 314 | |
| 315 | hipError_t XStreamDestroy(hipStream_t stream) |
| 316 | { |
nothing calls this directly
no test coverage detected