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

Function XStreamCreate

platforms/hip/shim/src/shim.cpp:288–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288hipError_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
297hipError_t XStreamCreateWithFlags(hipStream_t *stream, unsigned int flags)
298{

Callers

nothing calls this directly

Calls 1

HipQueueCreateFunction · 0.85

Tested by

no test coverage detected