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

Method OnPreemptLevelChange

platforms/cuda/hal/src/level2/cuda_queue.cpp:43–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void CudaQueueLv2::OnPreemptLevelChange(XPreemptLevel level)
44{
45 XASSERT(level <= kPreemptLevelDeactivate, "unsupported level: %d", level);
46 level_ = level;
47}
48
49void CudaQueueLv2::OnHwCommandSubmit(std::shared_ptr<preempt::HwCommand> hw_cmd)
50{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected