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

Method Launch

platforms/hip/hal/src/hip_queue.cpp:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49void 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
56EXPORT_C_FUNC XResult HipQueueCreate(HwQueueHandle *hwq, hipStream_t stream)
57{

Callers

nothing calls this directly

Calls 1

LaunchWrapperMethod · 0.45

Tested by

no test coverage detected