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

Function XFenceQueryStatus

platforms/levelzero/shim/src/shim.cpp:223–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221}
222
223ze_result_t XFenceQueryStatus(ze_fence_handle_t hFence)
224{
225 XDEBG("XFenceQueryStatus(fence: %p)", hFence);
226 auto cmd = g_fence_to_cmd.Get(hFence, nullptr);
227 if (cmd == nullptr) return Driver::FenceQueryStatus(hFence);
228 ze_fence_handle_t fence = cmd->GetFollowingFence();
229 XASSERT(fence != nullptr, "fence is nullptr");
230 return Driver::FenceQueryStatus(fence);
231}
232
233ze_result_t XEventDestroy(ze_event_handle_t hEvent)
234{

Callers

nothing calls this directly

Calls 2

GetFollowingFenceMethod · 0.80
GetMethod · 0.45

Tested by

no test coverage detected