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

Method recordCopyBuffer

src/Tensor.cpp:244–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void
245Tensor::recordCopyBuffer(const vk::CommandBuffer& commandBuffer,
246 std::shared_ptr<vk::Buffer> bufferFrom,
247 std::shared_ptr<vk::Buffer> bufferTo,
248 vk::DeviceSize /*bufferSize*/,
249 vk::BufferCopy copyRegion)
250{
251
252 commandBuffer.copyBuffer(*bufferFrom, *bufferTo, copyRegion);
253}
254
255void
256Tensor::recordPrimaryBufferMemoryBarrier(const vk::CommandBuffer& commandBuffer,

Callers 3

recordCopyFromMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected