From e31ecdd3153dec3b41bf61b1bc54215428b8ec24 Mon Sep 17 00:00:00 2001 From: Jaydeep Patel Date: Thu, 19 Jun 2025 09:31:46 +0000 Subject: [PATCH] SWDEV-536746 - Remove callbackQueue's friendness with device class as gpu_error_ is public var. --- rocclr/device/rocm/rocdevice.hpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/rocclr/device/rocm/rocdevice.hpp b/rocclr/device/rocm/rocdevice.hpp index c1a7c3b920..32dd76d497 100644 --- a/rocclr/device/rocm/rocdevice.hpp +++ b/rocclr/device/rocm/rocdevice.hpp @@ -657,9 +657,6 @@ class Device : public NullDevice { //! Code object to kernel info map (used in the crash dump analysis) mutable std::map kernel_map_; - //! Friend function callbackQueue can access and set device class variables. - friend void callbackQueue(hsa_status_t status, hsa_queue_t* queue, void* data); - public: std::atomic numOfVgpus_; //!< Virtual gpu unique index