Commit grafiek

13657 Commits

Auteur SHA1 Bericht Datum
Jiang, Julia 9cd8757717 SWDEV-523483 - Update atomics add-operation in CLR (#751) 2025-07-19 06:48:54 +05:30
Betigeri, Sourabh 1edac1bf3a SWDEV-537486 - Change the SPIRV bundle entry id to match 4-field triple (#513) 2025-07-17 09:29:51 +05:30
Betigeri, Sourabh 0313e20706 SWDEV-540629 - Update the current device ID (#699) 2025-07-15 21:40:26 +05:30
Betigeri, Sourabh a1f056bd11 SWDEV-483895 - Use ROCr to reserve memory for HMM (#590) 2025-07-15 21:40:13 +05:30
Dittakavi, Satyanvesh 918b0bdb7a SWDEV-542832 - Refactor vector types alignment (#713) 2025-07-15 21:09:31 +05:30
Xie, Jiabao(Jimbo) a5d932f160 SWDEV-460151 - add gfx1201 to amd-staging clr (#183)
* SWDEV-460151 - add gfx1201 to amd-staging clr

* SWDEV-460151 - removed pal macro

---------

Co-authored-by: Jimbo Xie <jiabaxie@amd.com>
2025-07-11 08:51:47 -07:00
Sang, Tao 1351cd7fa8 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()
2025-07-11 10:38:40 -04:00
GunaShekar, Ajay b568971718 SWDEV-541623 - do not print hip library path on console (#707)
DeviceTest.exe Unit_Uuid_FntlTstsFor_SetEnv_HIP_VISIBLE_DEVICES
2025-07-10 12:07:03 -07:00
Sang, Tao 397f303d97 SWDEV-508776 - support VGPRs validation (#274)
Clarify some VGPRs terms description.
Fix some wrong query logics of availableVGPRs_ and
availableRegistersPerCU_ in device info.
Add hipDeviceAttributeMaxAvailableVgprsPerThread
attribute query.
Remove hardcoding of following
 info_.vgprAllocGranularity_
 info_.vgprsPerSimd_
2025-07-09 10:46:52 -04:00
Salinas, David 71c6535b07 SWDEV-536367 - Make DEPRECATED message in roc-obj tools STDERR (#469) 2025-07-09 17:01:33 +05:30
Brzak, Branislav 32e027e66c SWDEV-540609 - hipGraph capture of hipExtModuleLaunchKernel assumed grid size was a multiple of block size (#694) 2025-07-09 16:05:40 +05:30
Kudchadker, Saleel 46d766e4e2 SWDEV-539378 - Use agent of IPC memory owner (#570)
- Currently runtime just uses the local agent as it did not check for
  IPCShared()
- With this fix we query hsa_amd_pointer_info and get the right agent
  for the memory to pass it to the HSA copy api
2025-07-08 12:02:01 -07:00
Belton-Schure, Aidan 81238db679 SWDEV-515426 - Remove HIP_USE_RUNTIME_UNBUNDLER (#205)
* remove HIP_USE_RUNTIME_UNBUNDLER
* clang-format
* Generic to use comgr
* Remove HIP_ALWAYS_USE_NEW_COMGR_UNBUNDLING_ACTION flag
* Removes runtime unbundling unused and debug Code
* Removes stale functions
2025-07-08 21:45:31 +05:30
Manocha, Rahul 22b1ca4d8c SWDEV-532420 - Fix kokkos P2P copy failure with vmheap (#426)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-07-07 17:27:13 -07:00
Xie, Pengda 9c1bff0ae7 SWDEV-540576 - Abort if user request a core dump (#653)
* SWDEV-539414 - Return error status from runtime handler when HIP_SKIP_ABORT_ON_GPU_ERROR is false

* SWDEV-539414 - default handler when GPU core file is generated

* SWDEV-540576 - Abort if user request a core dump

Change-Id: I9e2c640acf559880bd13641de9103e660ef822a3

---------

Co-authored-by: Assiouras, Ioannis <Ioannis.Assiouras@amd.com>
Co-authored-by: agunashe <ajay.gunashekar@amd.com>
2025-07-03 00:29:14 +05:30
Xie, Pengda 21f6842fff SWDEV-536925 - Check for C++ compiler instead of C when building hip (#490)
Change cmake to use CMAKE_CXX_COMPILER_ID since CMAKE_COMPILER_IS_GNUCC is deprecated
2025-07-01 12:59:54 -07:00
Sang, Tao a7d7687b8f 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.
2025-07-01 10:10:10 +05:30
Trinh, Ethan 2ce45143d8 SWDEV-539861 - add ROCclr version to logs (#612) 2025-06-27 16:37:58 -04:00
Xie, AlexBin ef26fcdbd2 SWDEV-530767 ocltst GL test work with GL context on 2nd GPU (#324)
Change-Id: Ia3dbc661b3b9b1de71a632969707318f208131cd
2025-06-27 12:25:23 -04:00
Xie, AlexBin 592c25e936 SWDEV-540176 - deb and rpm package include OpenCL config files (#615) 2025-06-27 11:59:24 -04:00
Guan, Zichuan 51508e0bef Fix memory leak in opengl interop (#541)
Signed-off-by: zichguan-amd <zichuan.guan@amd.com>
2025-06-27 09:51:18 -04:00
Belton-Schure, Aidan 5e77c58bd0 SWDEV-536813 - Make alignment 16 for special cases (#609) 2025-06-27 14:20:16 +05:30
Lin, Qun b584fc8cd1 SWDEV-508869 - Replace asicRevision with gfxip triple in paldevice (#601)
asicRevision is not unique in pal path now, use gfxip triple to match isa is more straight forward in pal path.
2025-06-27 10:09:21 +08:00
Lin, Qun 9699cc3864 SWDEV-508869 - Fix Linux build error for HIP on PAL (#176) 2025-06-27 07:51:22 +08:00
Luu, Jonathan a2dafbeacf SWDEV-531400_SYMLINK remove SYMLINK (#525)
Co-authored-by: Jonathan Luu <jonatluu@amd.com>
2025-06-26 15:53:39 -04:00
Luu, Jonathan c64d56195f SWDEV-531400 - Remove file reorganization backward compatibility (clr hip) (#472)
* SWDEV-531400 Remove file reorganization backward compatibility (clr hip)

* SWDEV-531400 remove backwards compatibility for opencl

* SWDEV-531400 remove header_template.hpp.in

---------

Co-authored-by: Jonathan Luu <jonatluu@amd.com>
2025-06-26 15:53:11 -04:00
Sang, Tao f4d78d427c SWDEV-539399 - Support ROCCLR_MEM_HSA_CONTIGUOUS (#610)
Fix missing support of ROCCLR_MEM_HSA_CONTIGUOUS in
hipExtMallocWithFlags().
2025-06-26 14:05:23 -04:00
Jiang, Julia b5cd8321d3 SWDEV-461599 - scrub HCC in clr documents (#569) 2025-06-26 15:05:59 +05:30
Sicarov, Dragoslav a4631b5700 SWDEV-533232 Add num_threads API in cooperative_groups (#437)
* Add num_threads API in cooperative_groups
* Reimplementsize API as its alias.
* Update changelog
2025-06-26 15:05:17 +05:30
Arandjelovic, Marko 349b83c1f6 SWDEV-512344 - Allow unmapping of only complete subbuffers (#608)
* Do not allow partial unmapping
* Add check to prevent out of bounds unmap
* Improve code quality
* Use getOrigin instead of getOffset
2025-06-26 15:01:33 +05:30
Lytovchenko, Danylo 704fea29cf SWDEV-123456 - use explicit PR head SHA for clang-format (#623)
* SWDEV-123456 - use explicit PR head SHA for clang-format

* SWDEV-123456 - set new runners name
2025-06-26 10:46:02 +02:00
Patel, Jaydeepkumar a60212b9b4 SWDEV-536226 - Avoid waiting for lastCommand completion if GPU has already reported an error otherwise it causes hang due to status of cmd is not becoming CL_COMPLETE. (#478) 2025-06-25 20:59:17 +05:30
Lytovchenko, Danylo ccb31fdf9d SWDEV-123456 - use only specific lines (#573)
* SWDEV-123456 - use only specific lines

* SWDEV-123456 - only run clang on diff between PR target and current
2025-06-25 10:54:29 +02:00
Kudchadker, Saleel 4c2405b108 SWDEV-535490 - Fix build break on windows (#618) 2025-06-24 18:34:55 -07:00
Kudchadker, Saleel 5d53c83806 SWDEV-535490 - Improve logging (#441)
- Include HIP version/githash in the logs
- Add a new method to print library path
2025-06-24 13:00:00 -07:00
Lytovchenko, Danylo 0f4ad06629 SWDEV-123456 - allow merge commits in the log (#605) 2025-06-24 13:13:59 +02:00
Lytovchenko, Danylo be289f7fc7 SWDEV-123456 - use new hosted runners for clang actions (#604)
* SWDEV-123456 - use new hosted runners for clang actions

* SWDEV-123456 - set specific runner for validation PRs
2025-06-24 09:02:00 +02:00
Sang, Tao 7755660eeb SWDEV-533964 - Let comgr compile SPIRV to exec directly (#494) 2025-06-23 09:59:53 -04:00
Salinas, David 0635f13d9a SWDEV-526498 - [HIPCC] Stop including perl scripts in hipcc packages (#474) 2025-06-23 18:23:54 +05:30
Belton-Schure, Aidan 49690b8b38 Fix rocWMMA specialization (#532)
Co-authored-by: Aidan Belton <abeltons@amd.com>
2025-06-23 18:22:37 +05:30
Belton-Schure, Aidan 3faece02dc SWDEV-536813 - Fix HIP_vector_base alignment (#501)
* SWDEV-536813 - Fix HIP_vector_base alignment

Change-Id: I6ee211437768bbdf42186bcd0805b8c2290373da

* Remove alignas for vec3

Change-Id: If93c55327cad38cf179bdd2a89faa725b0a0fc15

* align array to match native_vector

Change-Id: I54fbdba01c19241a4c4945ba4c35ac6d40f17ea6

* update

Change-Id: Ib7de5a7ebde0b2a5c18fe5c70f7329a90807abfb
2025-06-23 18:21:51 +05:30
Lytovchenko, Danylo f3003d674b SWDEV-123456 - fix historical AI codeql (#576) 2025-06-20 08:45:15 +02:00
Ramakrishnan, Ranjith 7a2ba7e5db SWDEV-535853 - Update the dependencies of rocm-opencl package (#462)
Currently rocm-opencl depends on ocl-icd runtime package. libopencl.so is part of ocl-icd-dev/devel package
Added the same to the dependency list of rocm-opencl-dev/devel package
2025-06-19 11:32:32 -07:00
Sang, Tao 428fce9fd6 SWDEV-519446 Part 2: Update unsafe atomic function file header (#394)
* SWDEV-519446 Part 2: Update unsafe atomic function file header
* Use  __HIP_ATOMICS_IGNORE_DENORMAL_MODE to denote [[clang::atomic(ignore_denormal_mode)]] when condition met.
2025-06-19 19:12:59 +05:30
Belton-Schure, Aidan adda2602e1 SWDEV-535738 - Properly define size_t for windows (#481) 2025-06-18 19:32:11 +05:30
Lytovchenko, Danylo a2550e0a9e SWDEV-123456 - add AI CodeQL workflows (#558) 2025-06-17 09:30:58 +02:00
Assiouras, Ioannis e88d9fabe0 SWDEV-537656 - Added c++11 include guard for constexpr HIP_vector_type operator== (#517) 2025-06-13 12:05:41 +05:30
Hernandez, Gerardo 0877d257e6 SWDEV-510589 - fix libgcc1 dependency on Debian 10 (#252)
* fix libgcc1 should added to HIP_RUNTIME_DEB_STDPKG_DEPENDENCIES and not HIP_RUNTIME_RPM_STDPKG_DEPENDENCIES
* add libgcc1 and not libgcc_s1 also to HIP_RUNTIME_RPM_STDPKG_DEPENDENCIES as it seems rpms are also generated when compiling on Debian
2025-06-12 14:22:28 +05:30
Sang, Tao 67f6409eb1 SWDEV-519446 - Part 1: update normal atomic function file header (#345)
Remove the scope of __has_builtin(__hip_atomic_compare_exchange_strong) == false
2025-06-12 09:16:51 +05:30
Brzak, Branislav b7778ecd65 SWDEV-537139 - Add missing typename qualifier to permuteType (#505) 2025-06-11 08:03:10 +05:30