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

Change-Id: I0b1b8414db09051125dae4ea98f70827f10c4b98
Цей коміт міститься в:
Ioannis Assiouras
2023-11-17 14:23:37 +00:00
джерело f1dc81f427
коміт 3e6b4a528d
+1
Переглянути файл
@@ -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;