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

Function XStreamCreateWithFlags

platforms/cudla/shim/src/shim.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26cudaError_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
35cudaError_t XStreamSynchronize(cudaStream_t stream)
36{

Callers

nothing calls this directly

Calls 1

CudlaQueueCreateFunction · 0.85

Tested by

no test coverage detected