fix -Wunused-private-field warnings from clang

Fixes nomic-ai/gpt4all#1722
This commit is contained in:
Cebtenzzre 2024-01-08 14:42:03 -05:00
parent 2d0a8abc64
commit 4565194ed7
2 changed files with 0 additions and 5 deletions

View file

@ -6,8 +6,6 @@ namespace kp {
OpTensorSyncDevice::OpTensorSyncDevice(
const std::vector<std::shared_ptr<Tensor>>& tensors)
: mPrimaryBuffer(nullptr)
, mStagingBuffer(nullptr)
{
KP_LOG_DEBUG("Kompute OpTensorSyncDevice constructor with params");

View file

@ -58,9 +58,6 @@ class OpTensorSyncDevice : public OpBase
private:
// -------------- ALWAYS OWNED RESOURCES
std::vector<std::shared_ptr<Tensor>> mTensors;
vk::Buffer *mPrimaryBuffer;
vk::Buffer *mStagingBuffer;
vk::DeviceSize mSize;
};
} // End namespace kp