| 25 | } |
| 26 | |
| 27 | void |
| 28 | OpTensorSyncDevice::record(const vk::CommandBuffer& commandBuffer) |
| 29 | { |
| 30 | KP_LOG_DEBUG("Kompute OpTensorSyncDevice record called"); |
| 31 | |
| 32 | for (size_t i = 0; i < this->mTensors.size(); i++) { |
| 33 | if (this->mTensors[i]->tensorType() == Tensor::TensorTypes::eDevice) { |
| 34 | this->mTensors[i]->recordCopyFromStagingToDevice(commandBuffer); |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | void |
| 40 | OpTensorSyncDevice::preEval(const vk::CommandBuffer& /*commandBuffer*/) |
nothing calls this directly
no test coverage detected