78 Commity

Autor SHA1 Zpráva Datum
German Andryeyev db792fac37 SWDEV-558849 - Add support for static linking with ROCR (#2659) 2026-01-20 14:53:01 -05:00
systems-assistant[bot] b002c6a739 SWDEV-538607 - Add SIMDe as a build dependency, remove naked intrinsic use. (#500)
Co-authored-by: Alex Voicu <alexandru.voicu@amd.com>
Co-authored-by: Ioannis Assiouras <Ioannis.Assiouras@amd.com>
2025-12-15 17:40:51 +00:00
Jin Jung deaf8ab38a SWDEV-567119 - Windows GL Interop Support (#1892) 2025-12-08 11:03:59 -05:00
lancesix f7ffcd1402 clr: SWDEV-547890 - Bump PAL API version to 954 (#1680)
* clr: Adjust call to ICmdBuffer::CmdCopyMemoryToImage for PAL >= 955

PAL starting versino 955 adds a new argument to
ICmdBuffer::CmdCopyMemoryToImage.  Adjust teh callsite to account
fort his.

* clr: Handle new GpuUtil::TraceSessionState cases for PAL >= 939

Starting PAL API version 939, GpuUtil::TraceSessionState changes its
possible values.  Adjust for it.

* clr: require PAL version 954

Bump the PAL required vesion to 954, as this is required for proper
debugger support.
2025-11-08 00:52:04 +00:00
MachineTom 5f76cb916d SWDEV-555888 - Refactor Numa code (#1191)
1. Create a set of mini numa interface.
In Linux, the interface is based on system call rather than libnuma.
In Windows, the interface can also work, but the policy class is dummy.
Different from Linux, Windows doesn't provide numactl tool or numa lib to setup numa policy, thus
the default policy is followed in Windows, that is, using the closest host numa node to allocate
pinned host memory in hipHostMalloc().
To get the closest host numa node of a GPU device, you need query the new attribute
hipDeviceAttributeHostNumaId. Then you can create a thread with CPU affinity on the numa node.
For example, reference the test in hip-tests/catch/perftests/memory/hipPerfHostNumaAllocWin.cc.

2. Remove pfnSetThreadGroupAffinity and pfnGetNumaNodeProcessorMaskEx as the functions have been exposed since Win7 and Win server 2008.

3. Other minor fixes.
2025-10-23 21:56:15 -04:00
Pengda Xie a4bbd73dc6 SWDEV-556684 - Remove HSAIL support (#1183) 2025-10-23 11:21:49 -07:00
Stella Laurenzo 2e93b9f6cb [clr] Only enable comgr dynamic loading if it is a shared lib. (#1065)
Prior we were enabling dynamic loading mode if BUILD_SHARED_LIBS, but this is not correct. We should only be loading dynamically if the amd_comgr library itself is shared.

Background: we have a configuration where we use a static linked comgr stub in order to achieve LLVM isolation (it dynamically loads the comgr and compiler into a dedicated link namespace) in an otherwise dynamic linked clr.
2025-09-19 16:10:15 -07:00
German Andryeyev ea89ddd589 SWDEV-547108 - Add dll loader for Windows build (#1004)
The build of ROCR backend will be enabled by default in Windows.
It requires the dll loader until ROCR dll will be always available in Windows for any configuration.
2025-09-19 11:25:30 -04:00
GunaShekar, Ajay bfcf0ef4e8 SWDEV-543366 - Bump PAL_CLIENT_INTERFACE_MAJOR_VERSION 916 --> 932 (#725)
Co-authored-by: Lin, Qun <Quentin.Lin@amd.com>
Co-authored-by: Lin,Qun <qlin@amd.com>

[ROCm/clr commit: ed903e8889]
2025-08-08 08:45:42 -07:00
Trinh, Ethan 66b125d5dc SWDEV-539861 - add ROCclr version to logs (#612)
[ROCm/clr commit: 2ce45143d8]
2025-06-27 16:37:58 -04:00
Sang, Tao 68deb3d10a SWDEV-520352 - Remove HostThread and legacy monitor (#230)
* SWDEV-520352 - Remove HostThread and legacy monitor

Remove HostThread, semaphore and  legacy monitor.
Make original logics of thread and command queue stricker.
Add more comments to make logics clearer.
Some other minor improvement.

Also part of SWDEV-458943.

[ROCm/clr commit: 96cadbc9e9]
2025-04-29 09:55:24 -04:00
Critchley, Paul 4fd8a0164a SWDEV-527731 - [Ubertrace] OpenCL driver reports wrong Instrumentation API Version (#211)
[ROCm/clr commit: 4f2a4b12a9]
2025-04-24 14:06:17 -07:00
Andryeyev, German 0569c7713c SWDEV-523300 - Add the new option to build HIP (#179)
Add the new cmake option AMD_COMPUTE_WIN  to build HIP on Windows
from the public github. AMD_COMPUTE_WIN should point to a special
repo with the PAL static libs

[ROCm/clr commit: a3effa16f1]
2025-04-22 21:05:04 +05:30
Chaudhary, Jatin Jaikishan c72604a2af SWDEV-509213 - make cmake_minimum_required consistent across clr (#51)
Change-Id: Ib0b1df7af8984a37d6bf7ca68ec99597d5978821

[ROCm/clr commit: fcaefe97b8]
2025-04-15 15:23:41 +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
agunashe 52a1f5dbf7 SWDEV-507967 - Deprecate gfx9, gfx8, gfx7 on Windows
PAL_CLIENT_INTERFACE_MAJOR_VERSION from 872 --> 910

Change-Id: I03dfa2924ccdae4c2f13f09d5f34ee58298e1343


[ROCm/clr commit: ea804e16f8]
2025-02-17 02:59:41 -05:00
Jacob Lambert d7371306b0 SWDEV-360440 - Prepare CLR CMake for Comgr V3 transition
Change-Id: Ia279928fd3549a45bae561d0d2d8fcf110d8c245


[ROCm/clr commit: 1fc7c6bb9a]
2025-01-27 01:09:23 -05:00
Jatin Chaudhary 0795f00a14 SWDEV-341217 - Initial work to use SPIRV in HIP
Change-Id: If5c09b5e86b498e7ac5eb05adf28cb7a1fac8101


[ROCm/clr commit: 6a5d19059d]
2025-01-20 03:54:23 -05:00
Marko Arandjelovic 12dc02b4f8 SWDEV-495609 - Change include path for rocclr/utils
- Header files inside rocclr/utils when included from hipamd or opencl should be included as #include "rocclr/utils/xxx.h" instead of "utils/xxx.h"

Change-Id: Ic0760c33b9d091f5620dec67e5482c9698d22093


[ROCm/clr commit: 78f62d3230]
2024-12-05 11:44:20 -05:00
Daniel Livingston 7c0ff614a2 SWDEV-77148 - Add UberTrace support to PAL device
This PR adds UberTrace-based tracing support to ROCclr's PAL device class.
Legacy RGP-based tracing is still available and is the default.
If UberTrace support is enabled tool-side, this new code path will activate.

Change-Id: I268b2dcef70e850a50e2caef8355f38bf51d4641


[ROCm/clr commit: e550032d25]
2024-09-17 16:06:37 -04:00
Alex Xie daa1c6ade3 SWDEV-469252 - Remove Macro definition to use other method
Change-Id: I6d6b242030938c48859fd6b0157a418a6af5a0b0


[ROCm/clr commit: 12c18ed610]
2024-06-25 19:06:16 -04:00
German Andryeyev 9d599d30e8 SWDEV-1 - Switch PAL to the interface version 872
Change-Id: I71ef232ec7080b36dbffefb201429ab839645ac4


[ROCm/clr commit: 6c812634e4]
2024-05-28 06:31:10 +00:00
Ajay 31748d52c7 SWDEV-460151 - enable gfx12 code in runtime
Change-Id: I2d6fbf350c7cc2e1e4a698f0bad4ce8d512c4368


[ROCm/clr commit: d754ab4e30]
2024-05-28 06:30:26 +00:00
Maneesh Gupta f30be8996b SWDEV-433371 - Build needs comgr >= 2.8
Unbundle compressed code objects needs comgr 2.8 or higher

Change-Id: I23942d2038e19b02c3ea5d3c9c1fe5367db87136


[ROCm/clr commit: 1bd8b4eaf5]
2024-05-03 09:34:49 +00:00
Alex Xie cce9904813 SWDEV-446014 - Use branch ASIC definition to build PAL
Change-Id: I80f70b5c963184ef9ae22517c23cbc5a26fbeafd


[ROCm/clr commit: 848a36b631]
2024-02-16 19:09:56 -05:00
Alex Xie dcf9f5a27a SWDEV-443538 - Fix cmake build warning
Use GLVND versin of GL

Change-Id: I1d6b0ec8672a232d017ad27a01803556992e8a49


[ROCm/clr commit: 370ff6ea3e]
2024-02-05 05:08:11 +00:00
German e6578eda9c SWDEV-1 - Promote PAL verison to 843
Change-Id: I2b8d2fd1df61b376598da53bef530243f8d6e757


[ROCm/clr commit: adf9406a16]
2023-12-19 10:25:32 -05:00
German 8ea61ce28e SWDEV-1 - Switch to PAL interface 836
Change-Id: I90cdbf3afa19220e968f8f24e5707ee0c37a73ce


[ROCm/clr commit: 65b85d1b33]
2023-11-07 09:48:25 -05:00
German 5d9912f48b SWDEV-407533 - [ABI Break]Remove Wavelimiter
Change-Id: I6a2f6fb5a0c3acea93fa0200a69679783e76f5bd


[ROCm/clr commit: 7be3a5e33e]
2023-09-07 09:58:41 -04:00
German 476e7f7022 SWDEV-418038 - Remove opengl32.lib from linking in runtime
Change-Id: If9416742cd8dc6a35adaccce802d65888e808ef2


[ROCm/clr commit: ad56c20cd0]
2023-08-30 14:07:28 -04:00
German db1e03f276 SWDEV-3 - Move PAL to version 818
Restore PAL platform destruction.
Update CmdAllocatorCreateInfo::AllocInfo for the new interface.

Change-Id: Iea418eed7ee26166039a4a9cc1999438856e9097


[ROCm/clr commit: bd00826446]
2023-08-29 12:46:28 -04:00
Ajay 17813d3e3c SWDEV-414828 - set AMD_DK_ROOT variable to env DK_ROOT
this ensures python to be picked from DK

Change-Id: Idd006b7a2bb819c6aa747136aa55cfc28737a5a9


[ROCm/clr commit: 0d3a5c4c81]
2023-08-17 12:21:16 -04:00
Maneesh Gupta 247c8ca332 SWDEV-1 - Bump min required ROCr version
ROCr version needs to be > 1.11 due to 03504e2f6c

Change-Id: I836dd5dc4ad5626120661ba19bad2e36dccbe36c


[ROCm/clr commit: 96fb1ac289]
2023-07-06 05:17:52 +00:00
AravindanC 27616948ac SWDEV-336531 - Fix for relative path issue in debuginfo
Change-Id: Ie36d1a93f40ddc3a42823eb83e041af8c55bcdee


[ROCm/clr commit: 3f4b70cafd]
2023-05-17 13:06:26 -04:00
Jason Tang f62c6dad78 SWDEV-1 - Make gl.h mandatory for build
Change-Id: I6f68d1bdb455f219c7b05a05256eb67d00e81a3c


[ROCm/clr commit: c95944fd7e]
2023-04-17 18:22:18 -04:00
German Andryeyev 79dbac1008 SWDEV-1 - Enable PAL interface 792
Change-Id: I4b77ecc8e4c129c5e1e62ec84ac4a5381f97a823


[ROCm/clr commit: 1cd99b5056]
2023-04-17 09:44:29 -04: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
Maneesh Gupta 6fb6b30136 SWDEV-361630 - Workaround for rocfft build failure
Change-Id: Ie15e17361f2e6cd5f11e6fc1e6755c98cef7f4ce


[ROCm/clr commit: 88b4b6428c]
2023-04-03 14:52:44 +00:00
Maneesh Gupta 44cdb3b395 SWDEV-361630 - Fix loading of versioned comgr for hiprtc
Change-Id: Ib0f604008e9197029eeacd22bc853538cda24cb5


[ROCm/clr commit: 52b78d8e79]
2023-03-31 11:24:50 +00:00
Maneesh Gupta 90da0eaee4 SWDEV-361630 - Enable opencl build
Change-Id: I19f8aa2e8157b8bfa053c502dcd63c52f0b6f104


[ROCm/clr commit: d9ceb6a3a3]
2023-03-26 15:42:33 +00:00
Maneesh Gupta dc41080660 SWDEV-361630 - Enable hip build
Change-Id: Icdeaeff555d46e495c3de954b614168995a82a9f


[ROCm/clr commit: 1bc186323f]
2023-03-26 15:42:33 +00:00
jatang 7fb52c0970 SWDEV-386844 - Find packages using the ROCM_INSTALL_PATH variable
Change-Id: Ia533bdd7fb904108142e1fe6033143e5a4f64a34


[ROCm/clr commit: 409e2c4438]
2023-03-08 09:45:08 -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 e7d9a3f450 SWDEV-368308 - Remove HW debug extension
Change-Id: If0c68023c09f0dac9111d52ecc0ad63719aa4e70


[ROCm/clr commit: e5a36ab1ad]
2022-11-18 10:29:44 -05:00
Todd tiantuo Li 32b0929ce3 SWDEV-302996 - add gfx1103 Phoenix support - OCL runtime
Change-Id: Ib6b7efa085b734bda6b5b50c720fe9d93e6dbf95


[ROCm/clr commit: 246429bd68]
2022-11-04 12:07:22 -04:00
Alex Xie 29acb61cae SWDEV-351337 - Add asic ID to staging for PAL
Change-Id: I64a24cc0118457d492d76063c808465d212b47bd


[ROCm/clr commit: c00f10daea]
2022-08-31 15:56:40 -04:00
Alex (Bin) Xie 375e6aaf80 SWDEV-352193 - OpenCL needs to remove build dependency on UGL/ORCA
Change-Id: I45c615ee0ec339c1694ac0bc122dab7fce959d59


[ROCm/clr commit: 35919d1760]
2022-08-25 10:01:53 -04:00
Satyanvesh Dittakavi af659de4c1 SWDEV-336448 - Support loading comgr versioned dll
Change-Id: I03283fc2a200d778c5efa43e509624bba9ce0541


[ROCm/clr commit: 64c1c4757f]
2022-08-19 00:38:19 -04:00
Maneesh Gupta f34161f293 SWDEV-286739 - VDI needs ROCr 1.6+
Change-Id: I5774563edf001eed2994e92713630adbfb75c489


[ROCm/clr commit: 959ba793db]
2022-07-13 04:15:32 -04:00
Jason Tang 8aca1872a1 SWDEV-316665 - Use CMAKE_SIZEOF_VOID_P to detect 32bit build
Change-Id: If959b0d012caa55afbe54f0fe7da8ad3cca6d452


[ROCm/clr commit: 7356d2ecb1]
2022-03-15 10:56:26 -04:00