MCPcopy Create free account
hub / github.com/KomputeProject/kompute / end

Method end

src/Sequence.cpp:63–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63void
64Sequence::end()
65{
66 KP_LOG_DEBUG("Kompute Sequence calling END");
67
68 if (this->isRunning()) {
69 throw std::runtime_error(
70 "Kompute Sequence begin called when sequence still running");
71 }
72
73 if (!this->isRecording()) {
74 KP_LOG_WARN("Kompute Sequence end called when not recording");
75 return;
76 } else {
77 KP_LOG_INFO("Kompute Sequence command recording END");
78 this->mCommandBuffer->end();
79 this->mRecording = false;
80 }
81}
82
83void
84Sequence::clear()

Callers 13

clearMethod · 0.95
evalAsyncMethod · 0.95
rerecordMethod · 0.95
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
setupLoggerFunction · 0.80
OpMultMethod · 0.80
trainMethod · 0.80
mainFunction · 0.80
_initMethod · 0.80

Calls 2

isRunningMethod · 0.95
isRecordingMethod · 0.95

Tested by 4

TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64