diff --git a/projects/clr/hipamd/src/hip_mempool_impl.cpp b/projects/clr/hipamd/src/hip_mempool_impl.cpp index 230c60ea50..cd7513e36c 100644 --- a/projects/clr/hipamd/src/hip_mempool_impl.cpp +++ b/projects/clr/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;