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

Method record

src/OpTensorCopy.cpp:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void
43OpTensorCopy::record(const vk::CommandBuffer& commandBuffer)
44{
45 KP_LOG_DEBUG("Kompute OpTensorCopy record called");
46
47 // We iterate from the second tensor onwards and record a copy to all
48 for (size_t i = 1; i < this->mTensors.size(); i++) {
49 this->mTensors[i]->recordCopyFrom(commandBuffer, this->mTensors[0]);
50 }
51}
52
53void
54OpTensorCopy::preEval(const vk::CommandBuffer& /*commandBuffer*/)

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
recordCopyFromMethod · 0.80

Tested by

no test coverage detected