From b5f1d701056b2c0227719be41666914560e43c23 Mon Sep 17 00:00:00 2001 From: Giovanni Lenzi Baraldi Date: Thu, 24 Oct 2024 20:37:05 -0300 Subject: [PATCH] Fix for clang tidy (#1155) --- source/lib/rocprofiler-sdk/hsa/queue.cpp | 2 +- source/lib/rocprofiler-sdk/hsa/queue_controller.hpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/lib/rocprofiler-sdk/hsa/queue.cpp b/source/lib/rocprofiler-sdk/hsa/queue.cpp index 00ff0168e6..7ae3c18a13 100644 --- a/source/lib/rocprofiler-sdk/hsa/queue.cpp +++ b/source/lib/rocprofiler-sdk/hsa/queue.cpp @@ -67,7 +67,7 @@ namespace hsa { namespace { -static std::atomic& +std::atomic& get_balanced_signal_slots() { constexpr int64_t NUM_SIGNALS = 16; diff --git a/source/lib/rocprofiler-sdk/hsa/queue_controller.hpp b/source/lib/rocprofiler-sdk/hsa/queue_controller.hpp index 0b95df5dd1..99196e1183 100644 --- a/source/lib/rocprofiler-sdk/hsa/queue_controller.hpp +++ b/source/lib/rocprofiler-sdk/hsa/queue_controller.hpp @@ -48,8 +48,8 @@ public: using queue_map_t = std::unordered_map>; using agent_cache_map_t = std::unordered_map; - QueueController() = default; - ~QueueController() {} + QueueController() = default; + ~QueueController() = default; // Initializes the QueueInterceptor. This must be delayed until // HSA has been inited. void init(CoreApiTable& core_table, AmdExtTable& ext_table);