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

Function XStreamCreateWithPriority

platforms/hip/shim/src/shim.cpp:306–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306hipError_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
315hipError_t XStreamDestroy(hipStream_t stream)
316{

Callers

nothing calls this directly

Calls 1

HipQueueCreateFunction · 0.85

Tested by

no test coverage detected