From 3e6b4a528db49cf7303b15b05235fe95b168777e Mon Sep 17 00:00:00 2001 From: Ioannis Assiouras Date: Fri, 17 Nov 2023 14:23:37 +0000 Subject: [PATCH] SWDEV-433069 - Fixed hip mempool impl SetAttribute switch-case Change-Id: I0b1b8414db09051125dae4ea98f70827f10c4b98 --- hipamd/src/hip_mempool_impl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hipamd/src/hip_mempool_impl.cpp b/hipamd/src/hip_mempool_impl.cpp index 230c60ea50..cd7513e36c 100644 --- a/hipamd/src/hip_mempool_impl.cpp +++ b/hipamd/src/hip_mempool_impl.cpp @@ -322,6 +322,7 @@ hipError_t MemoryPool::SetAttribute(hipMemPoolAttr attr, void* value) { return hipErrorInvalidValue; } free_heap_.SetMaxTotalSize(reset); + break; case hipMemPoolAttrUsedMemCurrent: // Should be GetAttribute only return hipErrorInvalidValue;