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:
@@ -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
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user