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