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

Function XStreamCreateWithFlags

platforms/hip/shim/src/shim.cpp:297–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297hipError_t XStreamCreateWithFlags(hipStream_t *stream, unsigned int flags)
298{
299 hipError_t res = Driver::StreamCreateWithFlags(stream, flags);
300 if (res != hipSuccess) return res;
301 XQueueManager::AutoCreate([&](HwQueueHandle *hwq) { return HipQueueCreate(hwq, *stream); });
302 XDEBG("XStreamCreateWithFlags(stream: %p, flags: 0x%x)", *stream, flags);
303 return res;
304}
305
306hipError_t XStreamCreateWithPriority(hipStream_t *stream, unsigned int flags, int priority)
307{

Callers

nothing calls this directly

Calls 1

HipQueueCreateFunction · 0.85

Tested by

no test coverage detected