| 47 | } |
| 48 | |
| 49 | void HipQueue::Launch(std::shared_ptr<preempt::HwCommand> hw_cmd) |
| 50 | { |
| 51 | auto cmd = std::dynamic_pointer_cast<HipCommand>(hw_cmd); |
| 52 | XASSERT(cmd != nullptr, "hw_cmd is not a HipCommand"); |
| 53 | XASSERT(cmd->LaunchWrapper(kStream) == hipSuccess, "Failed to enqueue command"); |
| 54 | } |
| 55 | |
| 56 | EXPORT_C_FUNC XResult HipQueueCreate(HwQueueHandle *hwq, hipStream_t stream) |
| 57 | { |
nothing calls this directly
no test coverage detected