| 24 | } |
| 25 | |
| 26 | cudaError_t XStreamCreateWithFlags(cudaStream_t *stream, unsigned int flags) |
| 27 | { |
| 28 | auto res = RtDriver::StreamCreateWithFlags(stream, flags); |
| 29 | if (res != cudaSuccess) return res; |
| 30 | XQueueManager::AutoCreate([&](HwQueueHandle *hwq) { return CudlaQueueCreate(hwq, *stream); }); |
| 31 | XDEBG("XStreamCreateWithFlags(stream: %p, flags: %lx)", *stream, flags); |
| 32 | return res; |
| 33 | } |
| 34 | |
| 35 | cudaError_t XStreamSynchronize(cudaStream_t stream) |
| 36 | { |
nothing calls this directly
no test coverage detected