Christophe Paquot
bf5826ee93
SWDEV-322620 - Virtual Memory Management
...
Use correct granularity for VM address/size
Change-Id: I001f29eabe9503396bbec623df9d5155b882be4f
2022-06-29 15:59:56 -07:00
Christophe Paquot
faa7ee48ba
SWDEV-322620 - Virtual Memory Management
...
Implements hipMemRetainAllocationHandle
HIP layer updates the svmPtr of the amd::memory
ROCCLR just manages the MemObjMap
This is because HIP knows the orignal (generic) address of the
physical memory whereas ROCCLR doesn't keep track of that
Change-Id: Ied26d7f814bc468f5cf586c967020737b9aa9e9f
2022-06-10 17:48:07 -04:00
Christophe Paquot
6d73282f25
SWDEV-322620 - Virtual Memory Management
...
Implemented hipMemMap and hipMemUnmap
Change-Id: Idc75e3964d88e375e445733557cfa8e421688f1f
2022-04-28 02:14:14 -04:00
Christophe Paquot
fd17b53ea4
SWDEV-322620 - Virtual Memory Management
...
Implement hipMemAddressFree and hipMemAddressReserve
Change-Id: I1b09e433db5c5c6d6b9fe2a7a15fe2c09f1e1874
2022-04-21 17:19:10 -04:00
Christophe Paquot
cd447a5aaa
SWDEV-322620 - Virtual Memory Management APIs
...
Adding skeletons.
Implemented:
- hipMemGetAllocationGranularity with basic granularity
- hipMemGetAllocationPropertiesFromHandle
- hipMemCreate
Change-Id: I4bd2c75fae45d6a057efcad19d1d3c9715e9ae67
2022-04-08 11:38:51 -04:00