SWDEV-539145 - Return error when ext_fine_grain_pool unavailable (#877)

Return error when ext_fine_grain_pool is unavailable for
hipHostMallocUncached, hipHostAllocUncached and
hipExtHostRegisterUncached.
Disable related tests on Navi4x where
ext_fine_grain_pool is unavailable
このコミットが含まれているのは:
MachineTom
2025-09-21 19:25:28 -04:00
committed by GitHub
コミット 25922d08c3
6個のファイルの変更、43行の追加、16行の削除
+1 -5
ファイルの表示
@@ -1980,12 +1980,8 @@ hsa_amd_memory_pool_t Device::getHostMemoryPool(MemorySegment mem_seg,
ClPrint(amd::LOG_DETAIL_DEBUG, amd::LOG_MEM,
"Using extended fine grained access system memory pool");
segment = agentInfo->ext_fine_grain_pool;
} else {
ClPrint(amd::LOG_DETAIL_DEBUG, amd::LOG_MEM,
"Falling through on fine grained access system memory pool");
segment = agentInfo->fine_grain_pool;
break;
}
break;
default:
guarantee(false, "Invalid Memory Segment");
break;