MCPcopy Create free account
hub / github.com/Niko1221/Strata / launch

Method launch

engine/src/core/graph.cpp:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73}
74
75bool CapturedGraph::launch(void* stream, std::string& err) const {
76 if (!exec_) { err = "launch: not recorded"; return false; }
77 cudaError_t e = cudaGraphLaunch(exec_, (cudaStream_t) stream);
78 if (e != cudaSuccess) return fail(err, "cudaGraphLaunch", e);
79 e = cudaEventRecord(done_, (cudaStream_t) stream);
80 if (e != cudaSuccess) return fail(err, "cudaEventRecord", e);
81 return true;
82}
83
84bool CapturedGraph::wait_ms(int timeout_ms) const {
85 if (!done_) return false;

Callers 15

mainFunction · 0.45
mainFunction · 0.45
first-run-ui.mjsFile · 0.45
make-icons.mjsFile · 0.45
scenarioFunction · 0.45
motionbudget.mjsFile · 0.45
mode-flow-s4b.mjsFile · 0.45
contrast.mjsFile · 0.45
agent-flow-s4b.mjsFile · 0.45

Calls 6

failFunction · 0.70
findFunction · 0.70
cudaGraphLaunchFunction · 0.50
cudaEventRecordFunction · 0.50
to_stringFunction · 0.50
wait_msMethod · 0.45

Tested by 2

mainFunction · 0.36
mainFunction · 0.36