From c4874743ceab7b16cc8af98c35cc4e0b605ec2ea Mon Sep 17 00:00:00 2001 From: David Yat Sin Date: Tue, 10 Sep 2024 15:08:35 +0000 Subject: [PATCH] rocr: Fix compile error Change-Id: Iae6bf08e834a426f6f97cbc51d2a1a38199015bd [ROCm/ROCR-Runtime commit: 12e299e8d499275b459a96b65a43d524f2608163] --- .../rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h index 608017c114..a145980e43 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/inc/amd_gpu_agent.h @@ -460,8 +460,8 @@ class GpuAgent : public GpuAgentInt { protected: // Sizes are in packets. - static const uint32_t minAqlSize_ = 0x40; // 4KB min - static const uint32_t maxAqlSize_ = 0x20000; // 8MB max + const uint32_t minAqlSize_ = 0x40; // 4KB min + const uint32_t maxAqlSize_ = 0x20000; // 8MB max // @brief Create an internal queue allowing tools to be notified. core::Queue* CreateInterceptibleQueue(const uint32_t size = 0) {