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
Este commit está contenido en:
MachineTom
2025-09-21 19:25:28 -04:00
cometido por GitHub
padre c6c2fa212c
commit 25922d08c3
Se han modificado 6 ficheros con 43 adiciones y 16 borrados
+2 -2
Ver fichero
@@ -848,7 +848,7 @@ enum hipLimit_t {
/**
* Host memory will be forcedly allocated on extended fine grained system memory
* pool which is with MTYPE_UC.
* @note This allocation flag is applicable on AMD devices in Linux only.
* @note This allocation flag is applicable on AMD devices, except for Navi4X, in Linux only.
*/
#define hipHostMallocUncached 0x10000000
#define hipHostAllocUncached hipHostMallocUncached
@@ -909,7 +909,7 @@ enum hipLimit_t {
#define hipExtHostRegisterCoarseGrained 0x8
/** Map host memory onto extended fine grained access host memory pool when enabled.
* It is applicable on AMD devices in Linux only
* It is applicable on AMD devices, except for Navi4X, in Linux only.
*/
#define hipExtHostRegisterUncached 0x80000000