Ioannis Assiouras
35629e433d
SWDEV-546146 - Added support for hipMemLocationTypeHost in hipMemSetAccess ( #682 )
2025-09-10 23:06:20 +01: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
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
Manocha, Rahul
8e8dc41cf0
SWDEV-532420 - Fix kokkos P2P copy failure with vmheap ( #426 )
...
Co-authored-by: Rahul Manocha <rmanocha@amd.com >
[ROCm/clr commit: 22b1ca4d8c ]
2025-07-07 17:27:13 -07: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
Arandjelovic, Marko
558a26cf98
SWDEV-511204 - Mapped virtual memory should use device instead of host context ( #213 )
...
Since the sub-buffer(virtual memory that is mapped to device memory) is associated with device memory, it should utilize the device context instead of the host context. The original implementation caused hipMemcpyPeer to not take the P2P path, as the memory object was treated as host memory.
[ROCm/clr commit: a7492c516d ]
2025-05-12 16:55:25 +02:00
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
Patel, Jaydeepkumar
b217d3a4e6
SWDEV-508632 - Align address to 2 MBs for hidden heap allocation. ( #29 )
...
[ROCm/clr commit: b5c9cbc236 ]
2025-04-02 16:33:29 +05:30
German Andryeyev
f9d9b2c441
SWDEV-497841 - Add virtual memory heap
...
Add initial implementation of virtual memory heap with
dynamic virtual memory mapping support for memory pools.
DEBUG_HIP_MEM_POOL_VMHEAP controls the new method.
Change-Id: I8dc5be2e0f34ab472f1800f43bb6243639a5e500
[ROCm/clr commit: 296dce5570 ]
2025-02-20 10:55:49 -05:00
kjayapra-amd
eecbcddaf3
SWDEV-439234 - Access check before memcpy and kernel operations.
...
Change-Id: I7057125c03460db205409e19980145298c190fe2
[ROCm/clr commit: 6211037f63 ]
2024-09-06 14:30:00 -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
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
154a113a88
SWDEV-413997 - Changes to use GlobalContext in views.
...
Change-Id: I1f8411eae9ed49632667e244a25f223fed92c720
[ROCm/clr commit: 0e1a0572e6 ]
2024-04-29 16:41:39 -04:00
German Andryeyev
b1c0f73229
SWDEV-353281 - Corret VA unmap
...
Make sure graph mempool unmaps VA on release
Change-Id: Id3f1bd8d0115b533ae60aa5ba3676b8bf7e5b961
[ROCm/clr commit: 5c1804aa14 ]
2024-04-26 09:37:01 -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
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
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
taosang2
c9b9210059
SWDEV-299127 - Support External Mipmap
...
Support hipExternalMemoryGetMappedMipmappedArray().
Add ImageExternalBuffer to differiate ImageBuffer.
Currently we only support tiling_optimal mode as
vulkan driver doesn't provide tiling information.
Change-Id: I7e3524cdde53e4df9f728894bcebf4bd3f58d4d9
[ROCm/clr commit: 6398f604b0 ]
2023-10-05 09:58:17 -04:00
Jaydeep Patel
86bac29b0a
SWDEV-412393 - Force alloc memory to avoid another hsa image creation.
...
Change-Id: Ia3cd99eb736231e6dfe013ebae6c41fd4cc657bc
[ROCm/clr commit: 289535e805 ]
2023-08-17 05:18:43 +00: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
Todd tiantuo Li
677c88a9a6
SWDEV-333557 - 1.Add support for IPC memory to enable hipIpcGetMemHandle() and hipIpcOpenMemHandle() in PAL path. Set interprocess flag for device allocations in HIP PAL. 2.Fix PAL IPC path with ResourceCache and SubAllocation 3.Minor fixes for IpcBuffer constructor and IpcAttach 4.Remove redundant checks that may go wrong
...
Change-Id: Ie9d99847c7c2c7b3b2aaefaaf60d23bf71b68635
[ROCm/clr commit: 8434feed16 ]
2023-07-12 17:49:32 -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
taosang2
9aa3a87b66
SWDEV-368553 – Add missing mipmap Apis
...
Add missing mipmap Apis’ implementation.
Fix some bugs of mimpmap apis.
Use hipmipmappedArray to differentiate cuda
and driver apis on Nvidia.
Change-Id: I6079d9f3b2ddf4e42b9a6f7f3902322cfca02cfd
[ROCm/clr commit: f03c11491b ]
2023-06-22 17:24:21 -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
af5944dc71
SWDEV-311270 - Add IPC support for memory pools
...
Initial implementation for hipMemPoolExportToShareableHandle,
hipMemPoolImportFromShareableHandle,
hipMemPoolExportPointer and hipMemPoolImportPointer
Change-Id: I0ebdc48e9163b394ded560adca6c38bbc5aee7d1
[ROCm/clr commit: 1a0c3e4dc4 ]
2023-06-15 11:36:52 -04:00
Ruili Ji
0f6721b637
SWDEV-383856 - Remove mmap function for SVM buffer
...
For large bar platform, it's not necessary to mmap
memory allocated on VRAM to cpu again
Change-Id: I0701680476829d4058b3e7b643e8df657d0c6168
Signed-off-by: Ruili Ji <ruiliji2@amd.com >
[ROCm/clr commit: 25fe45bb2a ]
2023-04-05 07:47:30 +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
German
b5b078e036
SWDEV-377991 - Remove liquidflash support
...
Change-Id: Iba6455e5c0210c3223a06fec332404cd9f489154
[ROCm/clr commit: 53a10c9039 ]
2023-01-20 09:57:06 -05:00
German
7e82b5c716
SWDEV-377991 - Remove liquidflash support
...
Change-Id: I8ea0feb6067387f1b545a7492b6bcb55e82ec8b0
[ROCm/clr commit: 3690ae8464 ]
2023-01-19 11:39:10 -05:00
German
f399cfd045
SWDEV-377991 - Rmove Liquidflash logic
...
Untie extra dependency on opencl repo
Change-Id: I8069cd8337214043d3c1453e3dfb0a0a47a83251
[ROCm/clr commit: 5a42279a65 ]
2023-01-19 09:58:31 -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
kjayapra-amd
f8da1e1fc4
SWDEV-361374 - Adding support for hipPointerSetAttributes
...
Change-Id: I3ec9627f43b3cbe0aa299c8aa9cd96f8fbd74925
[ROCm/clr commit: 7f1fb925ff ]
2022-11-11 12:07:26 -05:00
Saleel Kudchadker
7fd80925cd
SWDEV-335626 - Use ROCr copy for IPC
...
Detect IPC buffer and use ROCr copy api instead of blit
Change-Id: Ie6bdd6fc45dbd7457611011d81570b53d5fd5276
[ROCm/clr commit: faaa41aab8 ]
2022-07-08 13:32:19 -04:00
Jaydeep
e146b7812e
SWDEV-332607 - If pitch returned from hipMallocPitch is equal to pitch passed to hipMemset2D then height passed to hipMemset2D must be less than or equal to height passed to hipMallocPitch.
...
Change-Id: I8d9b0938fb592170008aaec9cedd519bf40c6201
[ROCm/clr commit: ea0590d1fe ]
2022-06-17 10:35:22 -04:00
Sarbojit Sarkar
8f863abe02
SWDEV-325379 - Fix for remote copy crash
...
Change-Id: I22152c0b3538cf7cfc80f82505bc255c01d98f7b
[ROCm/clr commit: 356e22f910 ]
2022-06-16 23:59:11 -04:00
Rakesh Roy
52f85f8475
SWDEV-333598 - Add flags field in amd::Memory UserData
...
Change-Id: Ie4d59fa34486679fde1027dd113573bda3e7c65c
[ROCm/clr commit: ac2c3b5cad ]
2022-05-05 12:24:53 -04:00
Christophe Paquot
1024cb58a7
SWDEV-322620 - Virtual Memory Management
...
Adding virtual memory management APIs to rocclr.
The HIP layer will handle virtual allocs on devices.
Change-Id: Ia978f105c2c3fed3959c77580ba228e845105754
[ROCm/clr commit: b5f555f9ec ]
2022-04-15 00:10:02 -04:00
Christophe Paquot
0f954adf29
SWDEV-322620 - Virtual Memory Management Part 1
...
Adding opaque data handle to memory. This is used to look back the HIP object associated with it.
Change-Id: I1bbb14a915bed79c6c3593a29a627778c7aaf13a
[ROCm/clr commit: 867346520f ]
2022-03-31 21:12:26 -04:00
German Andryeyev
2f380870df
SWDEV-328670 - Enable arena for ROCr interops
...
Add ROCR memory detection and enable arena mem object for possible
access in HIP
Change-Id: Icf86ac789176bfee4ea8d36b0970a817d4c6a2f7
[ROCm/clr commit: 28597ec5b5 ]
2022-03-30 16:46:36 -04:00
German Andryeyev
c52280ae72
SWDEV-323702 - Use active queue for transfer
...
Pass active queue for transfers in the cache coherency layer.
That will allow to use device transfer queue only for
cases when active queue isn't available, because using device
transfer queue from another active queue may cause a deadlock
Change-Id: Ifbe7e0303b77dbf6eeda3939ffbc25a3df7472de
[ROCm/clr commit: 95d55fdfa8 ]
2022-02-18 09:10:53 -05:00
Sarbojit Sarkar
c8a6920b91
SWDEV-310181 - Fix for AtoH Memcpy tests failure
...
Change-Id: Ibf8c8c01257f0516088d50d5c9f82040ed8fa067
[ROCm/clr commit: 02dc6f9f9a ]
2021-11-29 22:55:23 -05:00
Satyanvesh Dittakavi
1caf1e4936
SWDEV-292714 - Add unique id for each allocation to support HIP_POINTER_ATTRIBUTE_BUFFER_ID
...
Change-Id: Ibb3fcb2d0bbbef03525fc884d5b3e9b5f6c11423
[ROCm/clr commit: c56317b2e0 ]
2021-11-24 06:10:50 -05:00
agunashe
38f3c7aea1
SWDEV-301069 - current device id saved while allocating memory in VDI
...
Change-Id: Ic5426895fb1d152e4e6e1baf8b938f35c85fa3d8
[ROCm/clr commit: 82e73c096b ]
2021-09-16 14:00:07 -04:00
kjayapra-amd
c3e74a54e3
SWDEV-295144 - Change uint64_t to size_t to fix failure on 32-bit opencl.
...
Change-Id: I5c28e9c606dec1c956f3f48071d8a0271adfff22
[ROCm/clr commit: 788ae8595b ]
2021-08-22 23:56:08 -07:00
Satyanvesh Dittakavi
04e5354d88
SWDEV-292021 - Fix Device Reset
...
- Device Reset should not purge the allocations that were not by the user
- Addresses QMCPack Test abort due to the removal of all the mem objects during reset
Change-Id: I7b7a123e72bcc985d7e51d17c2382bc618d3e041
[ROCm/clr commit: 924695fb5e ]
2021-08-22 23:56:08 -07:00
kjayapra-amd
282866139f
SWDEV-295144 - Typecast arena mem ptr(0x2) to void*, otherwise results in wrong constructor overload.
...
Change-Id: I433b70dc70377ae0c5f9b29818703e1ac9d95053
[ROCm/clr commit: e01a24d8b5 ]
2021-08-22 23:56:07 -07:00
agunashe
49f0546637
SWDEV-293742 - Update copyright end year VDI repo
...
Change-Id: I69d2fea4a7a43adf96ccea794270e4af991c5261
[ROCm/clr commit: d96481fb36 ]
2021-08-22 23:56:07 -07:00
kjayapra-amd
aae0d4ca51
SWDEV-286346 - Implement Arena Memory Object for externally created memory.
...
Change-Id: I8530602d89edf83ad367c52167e48a1559ee1e18
[ROCm/clr commit: 1c49d8816c ]
2021-05-18 10:59:52 -04:00
Jason Tang
318c9e1080
SWDEV-1 - Fix warnings when building with clang++
...
Change-Id: Idebd2b618b9a3360147984a0e33852dbe2e65818
[ROCm/clr commit: 0d47b06928 ]
2021-02-18 10:02:46 -05:00