Christophe Paquot
67e82629a1
SWDEV-322620 - Virtual Memory Management
...
Use correct granularity for VM address/size
Change-Id: I001f29eabe9503396bbec623df9d5155b882be4f
[ROCm/clr commit: bf5826ee93 ]
2022-06-29 15:59:56 -07:00
Christophe Paquot
f6a235ff2e
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
[ROCm/clr commit: faa7ee48ba ]
2022-06-10 17:48:07 -04:00
Christophe Paquot
c2b3dd7dc5
SWDEV-322620 - Virtual Memory Management
...
Implemented hipMemMap and hipMemUnmap
Change-Id: Idc75e3964d88e375e445733557cfa8e421688f1f
[ROCm/clr commit: 6d73282f25 ]
2022-04-28 02:14:14 -04:00
Christophe Paquot
1c5b11fd04
SWDEV-322620 - Virtual Memory Management
...
Implement hipMemAddressFree and hipMemAddressReserve
Change-Id: I1b09e433db5c5c6d6b9fe2a7a15fe2c09f1e1874
[ROCm/clr commit: fd17b53ea4 ]
2022-04-21 17:19:10 -04:00
Christophe Paquot
c6ae81b2f2
SWDEV-322620 - Virtual Memory Management APIs
...
Adding skeletons.
Implemented:
- hipMemGetAllocationGranularity with basic granularity
- hipMemGetAllocationPropertiesFromHandle
- hipMemCreate
Change-Id: I4bd2c75fae45d6a057efcad19d1d3c9715e9ae67
[ROCm/clr commit: cd447a5aaa ]
2022-04-08 11:38:51 -04:00