SWDEV-433069 - Fixed hip mempool impl SetAttribute switch-case

Change-Id: I0b1b8414db09051125dae4ea98f70827f10c4b98
This commit is contained in:
Ioannis Assiouras committed 2023-11-17 17:51:39 -05:00
1 parent f1dc81f427
commit 3e6b4a528d
1 file changed
+1
+1
View File
@@ -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;