SaleelK
e197aa83ba
SWDEV-543723 - Execute permission for kernArg buf ( #728 )
...
- Refactor deviceLocalAlloc arguments
- Refactor hostAlloc code, have cleaner interface
- Kern args buffer need to have execute flag set as CP enforces this on
certain newer HW.
2025-09-08 12:21:30 -07:00
SaleelK
c4537e8050
SWDEV-553126 - Improve logging ( #835 )
...
* Ability to mask COPY api usage in logs
* Show total graph nodes in logs
* Add another log level for detailed debug
2025-09-04 10:08:41 -07:00
Ajay GunaShekar
f2ad8d6d5e
SWDEV-553099 - remove WITHOUT_HSA_BACKEND usage ( #831 )
2025-09-03 08:40:25 -07:00
Karthik Jayaprakash
89070536c0
SWDEV-552141 - Fix handle/fd type passed from app to align with spec. ( #759 )
...
* SWDEV-552141 - Fix handle/fd type passed from app to align with spec.
* SWDEV-552141 - Fix handle/fd type passed from app to align with spec.
2025-08-27 14:28:53 -04:00
Danylo Lytovchenko
2ff2316227
Adjust clang format to the new versions, revert broken macro layout ( #714 )
2025-08-22 17:23:22 +02:00
Danylo Lytovchenko
f7338717ae
SWDEV-470698 - fix formatting, add format check workflow ( #657 )
2025-08-20 19:58:06 +05:30
Andryeyev, German
72b9408fed
SWDEV-547108 - Fix compilation errors under Windows ( #867 )
...
Interop and numa are not enabled.
[ROCm/clr commit: 0ac913e64c ]
2025-08-17 02:33:31 -04:00
Manocha, Rahul
4a93a614e5
SWDEV-539710 - Defer allocation of managed variable ( #652 )
...
Co-authored-by: Rahul Manocha <rmanocha@amd.com >
[ROCm/clr commit: 3f6f9d6081 ]
2025-07-31 08:30:23 -07:00
Betigeri, Sourabh
680c7fbf64
SWDEV-483895 - Use ROCr to reserve memory for HMM ( #590 )
...
[ROCm/clr commit: a1f056bd11 ]
2025-07-15 21:40:13 +05:30
Sang, Tao
a777d6eca0
SWDEV-539145 - Simplify host memory pool management ( #668 )
...
* SWDEV-539145 - Simplify host memory pool management
Remove unnecessary variables and functions.
Make code simpler and clear.
* Change cpu_agent_info_ into pointer.
* Restore getPreferredNumaNode()
[ROCm/clr commit: 1351cd7fa8 ]
2025-07-11 10:38:40 -04:00
Sang, Tao
287ec83f5c
SWDEV-539145 - Support extended fine grained system memory pool ( #603 )
...
* Add hipHostMalloc() new flag hipHostMallocUncached which will force to allocate pinned
host memory on extended fine grained system memory pool.
* Add hipHostAlloc() new flag hipHostAllocUncached which will force to allocate pinned
host memory on extended fine grained system memory pool.
* Add hipHostRegister() new flag hipHostRegisterUncached which will force to map
host memory onto extended fine grained system momory pool.
[ROCm/clr commit: a7d7687b8f ]
2025-07-01 10:10:10 +05:30
Jayaprakash, Karthik
a17e22a78c
SWDEV-529929 - hipMemGetHandleForAddressRange implementation. ( #245 )
...
[ROCm/clr commit: 12131de4a9 ]
2025-05-20 15:56:04 -04:00
Jayaprakash, Karthik
f4c9056cdc
Revert "SWDEV-522707 - Set phys_mem_handle type to sizeof(size_t) to avoid blocking address range. ( #105 )" ( #348 )
...
This reverts commit 0071d33754 .
[ROCm/clr commit: bb7750a946 ]
2025-05-19 15:19:16 +05:30
Jayaprakash, Karthik
0071d33754
SWDEV-522707 - Set phys_mem_handle type to sizeof(size_t) to avoid blocking address range. ( #105 )
...
[ROCm/clr commit: 6811fd90b8 ]
2025-04-29 11:19:16 +05:30
Ioannis Assiouras
6a00aa8d61
SWDEV-508435 - Added a fix for double free of hsaImageObject
...
Change-Id: I9397f7c9dbbad7c249b359155df312cb920eba6c
[ROCm/clr commit: d05ecea253 ]
2025-02-05 22:21:24 +00:00
kjayapra-amd
a064de92b8
SWDEV-464828 - Initial implementation of VMM IPC on PAL/Windows.
...
Change-Id: I3d5e148fad9105704db6724b00df06bef4fc9d2f
[ROCm/clr commit: e7a7feb273 ]
2024-07-16 10:38:35 -04:00
kjayapra-amd
abeed5c711
SWDEV-467706 - Do not set HostMemoryDirectAccess flag for vaddr mem creation.
...
Change-Id: Iac30e906eea8a05a192a981f9069a5bbade10728
[ROCm/clr commit: d1b833e509 ]
2024-06-14 06:55:11 -04:00
Ioannis Assiouras
407d1346f2
SWDEV-463865 - changed device,roc and pal namespaces to be nested under amd
...
Change-Id: Icad342843c039c634e249a13a7aa31400730b1dd
[ROCm/clr commit: 775dc204aa ]
2024-06-07 12:23:06 -04:00
Ioannis Assiouras
f1aae6b5bf
SWDEV-460581 - Fixed memory leak in hipIpcCloseMemHandle
...
hsa_amd_ipc_memory_detach is called with an invalid mapped pointer.
Changed to pass the svm pointer of the owner memory instead.
Change-Id: I8203c6e2d718efb8ca3b028309bc78caff8d4c7d
[ROCm/clr commit: 5bb30d7718 ]
2024-05-28 06:28:17 +00:00
Jaydeep Patel
ab70925687
SWDEV-456279 - Adding new hip flag to access contiguous memory and pass the flag to HSA API.
...
Change-Id: I1bafeaa3096395c729723af958d609bc41e7845c
[ROCm/clr commit: 1d48f2a1ab ]
2024-04-30 05:25:38 -04:00
kjayapra-amd
f613be3d81
SWDEV-413997 - Cleanup fixes for Virtual Memory Management.
...
Change-Id: I9a4a4d9087b5daf15e3ba31e786d34db431212a1
[ROCm/clr commit: 74ffc5f0d5 ]
2024-04-22 10:58:06 -04:00
kjayapra-amd
71aa6ff3a0
SWDEV-413997 - VMM IPC implementation for Linux.
...
Change-Id: Icfeb83ca51e96be35abb67a94d6e3e1a1ca5a934
[ROCm/clr commit: 56ebf5157a ]
2024-04-18 11:28:13 -04:00
German Andryeyev
7f195e2996
SWDEV-444670 - Enable teardown class
...
Force implicit runtime teardown with a global destructor.
Change-Id: Iabe63dedf5b94fefc98668585c45a61607120669
[ROCm/clr commit: c95a75a2bf ]
2024-04-16 12:00:06 -04:00
kjayapra-amd
0f8a9567e6
SWDEV-413997 - Save hsa_handle as ptr in hipMemCreate path.
...
Change-Id: Ica32017ef7b00326dfb6d1f604e126d40ad5b786
[ROCm/clr commit: 5cbd74b554 ]
2024-03-26 10:24:29 -04:00
Ioannis Assiouras
50ecfb39c9
SWDEV-451736 - Revert "SWDEV-444670 - Register the Runtime::tearDown function to be called at exit"
...
This reverts commit 8392200773 .
Change-Id: Ib9cb1cc0c3903bfba56c9a5d05ae8afe96be583a
[ROCm/clr commit: 51926b6b6b ]
2024-03-23 07:05:02 -04:00
kjayapra-amd
8947420e41
SWDEV-423835 - Fixing kernel launch issues on Virtual Memory Management path.
...
Change-Id: I9f5e8a3d83af3809b2c50b21a10697e26113dd23
[ROCm/clr commit: f5ca620baa ]
2024-03-12 17:22:07 -04:00
Ioannis Assiouras
8392200773
SWDEV-444670 - Register the Runtime::tearDown function to be called at exit
...
Change-Id: I2200b8154ce6806bf99150d0d68f6f20138fa3dc
[ROCm/clr commit: 5e294f89a8 ]
2024-03-08 18:46:59 -05:00
Lang Yu
2860991fb4
SWDEV-439419 - Unlock host ptr when device ptr equals host ptr
...
hsa_amd_memory_lock_to_pool() and hsa_amd_memory_unlock()
should be called balanced.
Change-Id: I8b1549861bff752aabbb6399d717d1e346079a38
Signed-off-by: Lang Yu <Lang.Yu@amd.com >
[ROCm/clr commit: cc29df873a ]
2024-02-05 05:08:11 +00:00
German Andryeyev
67597f4901
SWDEV-436869 - Destroy host memory
...
Recent changes disabled system memory allocation
in the abstraciton layer. That requires memory
allocation/destruction in ROCR. Add destruction logic.
Change-Id: I68fe6b0a620ca743fe5850052ea0efa8bb7931c2
[ROCm/clr commit: a6d480e098 ]
2023-12-15 16:39:41 -05:00
German
a414a5c7a3
SWDEV-435015 - Disable sysmem allocation in abstraction layer
...
Change-Id: Idefdabd2997d618b962c42545ae67768c628c5d6
[ROCm/clr commit: 01217d0383 ]
2023-12-04 11:40:28 -05:00
kjayapra-amd
6d8458ba5a
SWDEV-413997 - Initial VMM changes for ROCm path.
...
Change-Id: I4405fd7b53182eb4c4622835c811c0dc08461537
[ROCm/clr commit: 3ef829939a ]
2023-10-16 11:29:16 -04:00
German Andryeyev
e62940f7df
SWDEV-409815 - Fix image view cache issue
...
Add a view bit to avoid original resource destruction when parent
dependency doesn't exist with the image view cache
Change-Id: I8277afd575af8f29951c5d1a9f7d94d784251657
[ROCm/clr commit: b49e8e78e1 ]
2023-07-25 12:30:04 -04:00
kjayapra-amd
8f7eeb8a74
SWDEV-408891 - Only register the host pointer to the current device.
...
Change-Id: If5397f148638e3b7d542b9e6fb8ac749a602b35e
[ROCm/clr commit: 8c7f59663f ]
2023-07-12 21:44:52 -04:00
German Andryeyev
116c9fd6c1
SWDEV-409815 - Fix image view cache issue
...
Make sure parent_ field is cleared for the internal image views.
The internal image views don't require dependencies tracking.
The issue appeard only when Navi10 pitch workaround was enabled.
Change-Id: I376d212750085a9391f8c32fc2979dcb5d93c89c
[ROCm/clr commit: 6b89980fb2 ]
2023-07-11 11:22:29 -04:00
German Andryeyev
1de5c73c38
SWDEV-396088 - Add image view cache
...
Blit manager requires an image view to reduce the amount
of copy kernels. Creation/destruction of a view in ROCr is
an expensive operation. Thus, runtime can cache views for fast access.
Change-Id: Ia67d775b481cc8326d91215ca22d4a73c1dddb59
[ROCm/clr commit: d29755452b ]
2023-06-28 09:44:05 -04:00
Alex Xie
867d1fc66f
SWDEV-382072 - One more case that needs workaround
...
Change-Id: Ief81dd898e4d59ba858f38a843d79be45b5ea944
[ROCm/clr commit: cfc10d0e1e ]
2023-06-22 19:00:34 -04:00
Alex Xie
c14a017d77
SWDEV-382072 - [Naiv 10]EncodeSDK H264 test fails
...
let ROCr and addrlib decided whether a pitch is supported.
Then, check if we uses workaround.
Also improve image performance for Navi 1x in some cases.
Change-Id: If8bda46648b23c1dcfa26608ca3bb9cd89fef430
[ROCm/clr commit: b961d4a970 ]
2023-06-22 10:40:31 -04:00
German
c8e65415ea
SWDEV-311270 - Clean-up IPC path in ROCclr
...
- Make IPC interfaces generic between devices and rely on the IPC buffer
for attach/detach logic
Change-Id: Id3c18d122030329b7ee532bbb6317de9dd6a0bbe
[ROCm/clr commit: 9aa6f25f1c ]
2023-06-20 15:18:21 -04:00
German Andryeyev
b2525dfb82
SWDEV-381627 - Move cl_vk_amd.hpp into rocclr
...
Rename VK interop to ExternalMemory object, since it should handle
DX interops also
Change-Id: I536ec46d3e53ece35234a2e29030393ad411b96d
[ROCm/clr commit: 3e5803c4c0 ]
2023-04-26 15:25:01 -04:00
Xie.AlexBin
7101f3c02c
SWDEV-339709 - Device Atomic test failed
...
Code change for Linux
Change-Id: I002881c188b9de351618a06ee8b5ce2aa5d9fd95
[ROCm/clr commit: 91e2cd5d67 ]
2023-04-05 07:49:47 +00:00
Ajay
db10db5d99
SWDEV-381627 - adding cl interop files to vdi
...
Change-Id: Ic40363587a2bc56f977a148eba386dfb73d6286e
[ROCm/clr commit: 88736010fb ]
2023-04-05 07:48:49 +00:00
kjayapra-amd
53073c4657
SWDEV-376697 - Use PCIE fine grain memory pool when hipDeviceMallocUncached flag is used.
...
Change-Id: I7234d456ef2df42b0b9b9e0d2647ee9bded565f9
[ROCm/clr commit: 6b873b8a86 ]
2023-02-16 14:05:50 -05:00
Sourabh Betigeri
ceca882cf3
SWDEV-340649 - Removes calls to commitMemory in hmm path
...
Change-Id: I8d381b4c3f5cf95628487e0d10ae643443c9709d
[ROCm/clr commit: 2388f61705 ]
2023-01-27 13:15:23 -05:00
German
6eec7a361e
SWDEV-377991 - Remove liquidflash support
...
Remove amdgpu-pro interface for persistent memory,
used in Liquidflash
Change-Id: I7d1720ad0875a62ebb2d7f96cba39601d560a5df
[ROCm/clr commit: 6dad2fc306 ]
2023-01-23 10:40:57 -05:00
Anusha GodavarthySurya
e8c8fd8c3f
SWDEV-374778 - Select SDMA path when HSA_XNACK is enabled
...
Change-Id: I052675186238eb24b910a0a558d6b8ede36d1413
[ROCm/clr commit: 710749c291 ]
2023-01-12 23:34:21 -05:00
kjayapra-amd
e295beb8ba
SWDEV-371904 - Adding pseudo fine grain flag to hsa memory allocation for device fine grained memory.
...
Change-Id: I8cada90f0e3880dfbc5bf5a3fac4554e7a0cb08e
[ROCm/clr commit: e56a611b92 ]
2022-12-11 08:15:17 -05:00
Julia Jiang
a8c33d177a
SWDEV-357122 - fix failure in vdi so as to handle unreasonable input size in MallocManagedNegativeTest
...
Change-Id: I1ed1916b652afc67327b0935c3c60fc2a404df30
[ROCm/clr commit: dacd55f3d7 ]
2022-10-20 12:19:22 -04:00
haoyuan2
1499630fb7
SWDEV-343162 - fix OCL test regression
...
For OCL, keep original control logic
FOr HIP, keep the fix for SWDEV-338781
Change-Id: I89de8d1e73cd103b3b4f62206eed72d45695dd6e
[ROCm/clr commit: 0a43f6bff3 ]
2022-06-24 13:23:10 -04:00
German Andryeyev
14f03b4571
SWDEV-341316 - Copy image SRD only if it's valid
...
Change-Id: I971a21fe99fd07b21cfd3dbe4e7ed33c0ea322f4
[ROCm/clr commit: 73ec7bada6 ]
2022-06-16 09:18:04 -04:00
haoyuan2
8126f235e2
SWDEV-338781 - fix blender crash issue on Navi1x
...
remove incorrect control logic which caused seg fault on Navi1x
Change-Id: Ic56e8a73c53062bd86adcf57d0b66e00e21734ec
[ROCm/clr commit: 6937fcae3a ]
2022-06-15 10:54:57 -04:00