| 26 | } |
| 27 | |
| 28 | void CudaQueueLv3Trap::OnPreemptLevelChange(XPreemptLevel level) |
| 29 | { |
| 30 | XASSERT(level <= kPreemptLevelInterrupt, "unsupported level: %d", level); |
| 31 | if (level == kPreemptLevelInterrupt) { |
| 32 | instrument_manager_->NotifyTrapInstrumented(); |
| 33 | interrupt_context_->InstrumentTrapHandler(); |
| 34 | } |
| 35 | level_ = level; |
| 36 | } |
| 37 | |
| 38 | void CudaQueueLv3Trap::OnHwCommandSubmit(std::shared_ptr<preempt::HwCommand> hw_cmd) |
| 39 | { |
nothing calls this directly
no test coverage detected