From 4565194ed7c32d1d2efa32ceab4d3c6cae006306 Mon Sep 17 00:00:00 2001 From: Cebtenzzre Date: Mon, 8 Jan 2024 14:42:03 -0500 Subject: [PATCH] fix -Wunused-private-field warnings from clang Fixes nomic-ai/gpt4all#1722 --- src/OpTensorSyncDevice.cpp | 2 -- src/include/kompute/operations/OpTensorSyncDevice.hpp | 3 --- 2 files changed, 5 deletions(-) diff --git a/src/OpTensorSyncDevice.cpp b/src/OpTensorSyncDevice.cpp index b563529ea..a2542357f 100644 --- a/src/OpTensorSyncDevice.cpp +++ b/src/OpTensorSyncDevice.cpp @@ -6,8 +6,6 @@ namespace kp { OpTensorSyncDevice::OpTensorSyncDevice( const std::vector>& tensors) - : mPrimaryBuffer(nullptr) - , mStagingBuffer(nullptr) { KP_LOG_DEBUG("Kompute OpTensorSyncDevice constructor with params"); diff --git a/src/include/kompute/operations/OpTensorSyncDevice.hpp b/src/include/kompute/operations/OpTensorSyncDevice.hpp index 9b39e490f..3a1792ac6 100644 --- a/src/include/kompute/operations/OpTensorSyncDevice.hpp +++ b/src/include/kompute/operations/OpTensorSyncDevice.hpp @@ -58,9 +58,6 @@ class OpTensorSyncDevice : public OpBase private: // -------------- ALWAYS OWNED RESOURCES std::vector> mTensors; - vk::Buffer *mPrimaryBuffer; - vk::Buffer *mStagingBuffer; - vk::DeviceSize mSize; }; } // End namespace kp