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

Method record

src/Sequence.cpp:277–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277std::shared_ptr<Sequence>
278Sequence::record(std::shared_ptr<OpBase> op)
279{
280 KP_LOG_DEBUG("Kompute Sequence record function started");
281
282 this->begin();
283
284 KP_LOG_DEBUG(
285 "Kompute Sequence running record on OpBase derived class instance");
286
287 op->record(*this->mCommandBuffer);
288
289 this->mOperations.push_back(op);
290
291 if (this->timestampQueryPool)
292 this->mCommandBuffer->writeTimestamp(
293 vk::PipelineStageFlagBits::eAllCommands,
294 *this->timestampQueryPool,
295 this->mOperations.size());
296
297 return shared_from_this();
298}
299
300void
301Sequence::createCommandPool()

Callers 15

evalMethod · 0.95
evalAsyncMethod · 0.95
rerecordMethod · 0.95
test_end_to_endFunction · 0.45
test_shader_strFunction · 0.45
test_sequenceFunction · 0.45
test_pushconstsFunction · 0.45
test_pushconsts_intFunction · 0.45
test_workgroupFunction · 0.45
test_logistic_regressionFunction · 0.45
test_type_floatFunction · 0.45

Calls 2

beginMethod · 0.95
sizeMethod · 0.80

Tested by 14

test_end_to_endFunction · 0.36
test_shader_strFunction · 0.36
test_sequenceFunction · 0.36
test_pushconstsFunction · 0.36
test_pushconsts_intFunction · 0.36
test_workgroupFunction · 0.36
test_logistic_regressionFunction · 0.36
test_type_floatFunction · 0.36
test_type_doubleFunction · 0.36
test_type_intFunction · 0.36