SWDEV-554608 - Add hipHostRegisterIoMemory for hipHostRegister (#962)

* SWDEV-554608 - Add hipHostRegisterIoMemory for hipHostRegister

* SWDEV-554608 - Add hipHostRegisterIoMemory for hipHostRegister

* SWDEV-554174 Added hipHostRegisterIoMemory flag in test cases

* SWDEV-554174 : Did formatting corrections

* SWDEV-554608 - set HSA_AMD_MEMORY_POOL_UNCACHED_FLAG if IoMemory is set

* SWDEV-554608 - set HSA_AMD_MEMORY_POOL_UNCACHED_FLAG if IoMemory is set

* SWDEV-554608 - Add hipHostRegisterIoMemory for hipHostRegister

---------

Co-authored-by: Anavena Venkatesh <Anavena.Venkatesh@amd.com>
Co-authored-by: Rambabu Swargam <rambabu.swargam@amd.com>
This commit is contained in:
Jimbo
2025-10-22 20:25:59 -04:00
committed by GitHub
parent 79076c4ad5
commit 37f2be9140
11 changed files with 70 additions and 7 deletions
+4 -1
View File
@@ -899,7 +899,10 @@ enum hipLimit_t {
* can be obtained with #hipHostGetDevicePointer.*/
#define hipHostRegisterMapped 0x2
/** Not supported.*/
/** The passed memory pointer is treated as pointing to some memory-mapped I/O space, e.g.
* belonging to a third-party PCIe device, and it will be marked as non cache-coherent and
* contiguous.
* */
#define hipHostRegisterIoMemory 0x4
/** This flag is ignored On AMD devices.*/