Skip to content

Commit

Permalink
Fixed a build error in macos
Browse files Browse the repository at this point in the history
Signed-off-by: randyli <155058195@qq.com>
  • Loading branch information
randyli committed Sep 24, 2024
1 parent f190212 commit 71601e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/include/kompute/Tensor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class Tensor : public Memory
* @param copyFromTensor Tensor to copy the data from
*/
void recordCopyFrom(const vk::CommandBuffer& commandBuffer,
std::shared_ptr<Tensor> copyFromTensor);
std::shared_ptr<Tensor> copyFromTensor) override;

/**
* Records a copy from the memory of the image provided to the current
Expand All @@ -95,7 +95,7 @@ class Tensor : public Memory
* @param copyFromImage Image to copy the data from
*/
void recordCopyFrom(const vk::CommandBuffer& commandBuffer,
std::shared_ptr<Image> copyFromImage);
std::shared_ptr<Image> copyFromImage) override;

/**
* Records a copy from the internal staging memory to the device memory
Expand Down

0 comments on commit 71601e5

Please sign in to comment.