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:
@@ -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.*/
|
||||
|
||||
Reference in New Issue
Block a user