| 286 | } |
| 287 | |
| 288 | hipError_t XStreamCreate(hipStream_t *stream) |
| 289 | { |
| 290 | hipError_t res = Driver::StreamCreate(stream); |
| 291 | if (res != hipSuccess) return res; |
| 292 | XQueueManager::AutoCreate([&](HwQueueHandle *hwq) { return HipQueueCreate(hwq, *stream); }); |
| 293 | XDEBG("XStreamCreate(stream: %p)", *stream); |
| 294 | return res; |
| 295 | } |
| 296 | |
| 297 | hipError_t XStreamCreateWithFlags(hipStream_t *stream, unsigned int flags) |
| 298 | { |
nothing calls this directly
no test coverage detected