sdashmiz
af7db12908
SWDEV-356569 - check for mempool device
...
- mem pool should be from same device
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Id06a7f070c019548462c235bff3c0cd972e6eb8a
[ROCm/clr commit: 33f02abc41 ]
2022-11-04 09:36:22 -04:00
pghafari
537b3dd67f
SWDEV-356570, SWDEV-356571, SWDEV-356572, SWDEV-356575 -
...
updating with current status of hipNotSupported and null checks
Change-Id: I3b1ce3d3e5ce9b69d1f5dacda35f5aa586714f5c
[ROCm/clr commit: 88c399a43d ]
2022-10-11 23:45:27 -04:00
pghafari
c328f3b15f
SWDEV-356554 - updated hipDeviceGetDefaultMemPool
...
updated the error check/messages
Change-Id: I518d497a82a14862d5168cc423aeaa20075336b8
[ROCm/clr commit: 42b5a6d5af ]
2022-09-20 16:42:48 -04:00
sdashmiz
b25033b7be
SWDEV-347595 - return proper error
...
- if flags are not supported
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Id7570d2c5f3d1169da33561f05c278dcd1834db6
[ROCm/clr commit: 58c5e17c5f ]
2022-08-04 15:57:15 -04:00
Jaydeep Patel
6f564f9e76
SWDEV-347592 - hipMemAllocationType must be hipMemAllocationTypePinned.
...
Change-Id: I36a5c37c6d66587c6804b60a5f0a88efb60801a4
[ROCm/clr commit: 465421e71c ]
2022-07-26 23:46:02 -04:00
Jaydeep Patel
f4642fc0d4
SWDEV-347592 - validate hipMemAllocationType & hipMemLocationType
...
Change-Id: Ia8c4d3edc7ad96efa429b3530a118199d4f92902
[ROCm/clr commit: 0fed29f77c ]
2022-07-25 23:56:20 -04:00
German Andryeyev
4122b89ac6
SWDEV-311271 - Avoid a crash with the default queue
...
Move device access after the queue look-up
Change-Id: I799f23ff0299b20437c9a8edae42c38daa3e9ceb
[ROCm/clr commit: ff23c5b716 ]
2022-07-12 17:01:06 -04:00
Ajay
64cdfb8d75
SWDEV-344440 SWDEV-344433 - null ptr checks for hipMemPoolGetAttribute hipMemPoolSetAttribute
...
Change-Id: I812abb3c74a05c4ec9097b09ee7e9a86b0c91e9b
[ROCm/clr commit: 36a85741de ]
2022-07-05 18:42:34 +00:00
German Andryeyev
a7d73a753d
SWDEV-311271 - Enable MGPU support for memory pool
...
Change-Id: I36850de282d62139b5cfe342df97bb1204cb7869
[ROCm/clr commit: 8b132beb92 ]
2022-05-11 11:04:24 -04:00
German Andryeyev
3de1a9e36c
SWDEV-311271 - Make sure memory pool can accept default stream
...
Add lock protection for access to the pool list.
Remove destroyed stream from the list of the safe streams
Change-Id: I1863b89bd3f5e188c161227cc790c3adaf72cc58
[ROCm/clr commit: 5957ff9f7b ]
2022-04-18 10:34:21 -04:00
German Andryeyev
e7d2493402
SWDEV-311271 - Initial mempool implementation
...
HIP_MEM_POOL_SUPPORT controls memory pool support in runtime.
Currently it's disabled by default. The initial change doesn't
include: IPC, MGPU, virtual memory alloc, suballoc, defragmentation,
internal dependencies.
Change-Id: Ibed8528ebec698b045ebb247e49c0ecd6e587ed7
[ROCm/clr commit: 539d264eb0 ]
2022-03-31 09:21:37 -04:00