sdashmiz
33f02abc41
SWDEV-356569 - check for mempool device
...
- mem pool should be from same device
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Id06a7f070c019548462c235bff3c0cd972e6eb8a
2022-11-04 09:36:22 -04:00
pghafari
88c399a43d
SWDEV-356570, SWDEV-356571, SWDEV-356572, SWDEV-356575 -
...
updating with current status of hipNotSupported and null checks
Change-Id: I3b1ce3d3e5ce9b69d1f5dacda35f5aa586714f5c
2022-10-11 23:45:27 -04:00
pghafari
42b5a6d5af
SWDEV-356554 - updated hipDeviceGetDefaultMemPool
...
updated the error check/messages
Change-Id: I518d497a82a14862d5168cc423aeaa20075336b8
2022-09-20 16:42:48 -04:00
sdashmiz
58c5e17c5f
SWDEV-347595 - return proper error
...
- if flags are not supported
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Id7570d2c5f3d1169da33561f05c278dcd1834db6
2022-08-04 15:57:15 -04:00
Jaydeep Patel
465421e71c
SWDEV-347592 - hipMemAllocationType must be hipMemAllocationTypePinned.
...
Change-Id: I36a5c37c6d66587c6804b60a5f0a88efb60801a4
2022-07-26 23:46:02 -04:00
Jaydeep Patel
0fed29f77c
SWDEV-347592 - validate hipMemAllocationType & hipMemLocationType
...
Change-Id: Ia8c4d3edc7ad96efa429b3530a118199d4f92902
2022-07-25 23:56:20 -04:00
German Andryeyev
ff23c5b716
SWDEV-311271 - Avoid a crash with the default queue
...
Move device access after the queue look-up
Change-Id: I799f23ff0299b20437c9a8edae42c38daa3e9ceb
2022-07-12 17:01:06 -04:00
Ajay
36a85741de
SWDEV-344440 SWDEV-344433 - null ptr checks for hipMemPoolGetAttribute hipMemPoolSetAttribute
...
Change-Id: I812abb3c74a05c4ec9097b09ee7e9a86b0c91e9b
2022-07-05 18:42:34 +00:00
German Andryeyev
8b132beb92
SWDEV-311271 - Enable MGPU support for memory pool
...
Change-Id: I36850de282d62139b5cfe342df97bb1204cb7869
2022-05-11 11:04:24 -04:00
German Andryeyev
5957ff9f7b
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
2022-04-18 10:34:21 -04:00
German Andryeyev
539d264eb0
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
2022-03-31 09:21:37 -04:00