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

Function UnsetOverrideCommandQueue

platforms/opencl/shim/src/cmdq.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31EXPORT_C_FUNC XResult UnsetOverrideCommandQueue()
32{
33 g_cmdq_mtx.lock();
34 g_cmdq_idx = -1;
35 g_cmdq_mtx.unlock();
36 return kXSchedSuccess;
37}
38
39EXPORT_C_FUNC XResult GetOverrideCommandQueue(int32_t queue_idx, cl_command_queue *cmdq)
40{

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected