Commit Graph

7060 Commits

Author SHA1 Message Date
Assiouras, Ioannis b3ae0230a5 SWDEV-542218 - Remove attribute(aligned) from ext_vector_type as it i… (#802)
SWDEV-542218 - Remove attribute(aligned) from ext_vector_type as it is iignored

[ROCm/clr commit: 4646a756d9]
2025-08-08 13:09:56 +01:00
Kudchadker, Saleel 3a849c6962 SWDEV-538195 - Introduce threshold for handler submission (#723)
- When doing device/stream sync, we can submit a handler which may
  introduce some host side delays. Use DEBUG_CLR_BATCH_CPU_SYNC_SIZE to
  batch commands for host wait. Default for HIP is 8 commands.
- Investigation is underway in ROCr but need to address this for now in
  HIP runtime.

[ROCm/clr commit: 9b045922a8]
2025-08-06 20:34:42 -07:00
Xie, Pengda 213623506f SWDEV-534394 - Kernel launch stream check (#533)
hipErrorInvalidResourceHandle is returned if stream is not on the launching device

[ROCm/clr commit: 7e777d3755]
2025-08-05 10:39:37 -07:00
Brzak, Branislav d54e70063e SWDEV-546137 - Don't rely on __cplusplus under hiprtc environment (#806)
[ROCm/clr commit: 111f12cbed]
2025-08-04 21:33:26 +02:00
Assiouras, Ioannis b443903ad8 SWDEV-533754 - Fixed mem leak in capturing gpu packets (#365)
[ROCm/clr commit: f094d16157]
2025-08-04 14:58:04 +01:00
Betigeri, Sourabh 40999496c1 SWDEV-545273 - Respect HIP_LAUNCH_PARAM_BUFFER_SIZE (#770)
[ROCm/clr commit: 2a02d2c2f3]
2025-08-03 17:32:52 -07:00
Sumner, Brian b617e8feb6 Fix undefined symbol at runtime with newer versions of LLVM (#791)
[ROCm/clr commit: 2da49283c8]
2025-08-01 08:15:02 -07:00
Patel, Jaydeepkumar 4458842ceb SWDEV-541799 - Return hipSuccess from hipFreeAsync if ptr to free is … (#683)
SWDEV-541799 - Return hipSuccess from hipFreeAsync if ptr to free is nullptr to match with hipFree.

[ROCm/clr commit: c329b548eb]
2025-08-01 14:41:40 +05:30
Chaudhary, Jatin Jaikishan b69f832430 SWDEV-543350 - restrictions on usage of hipMemcpyWithStream (#727)
* SWDEV-543350 - Do not hipMemcpyWithStream to be called during stream capture

* update comment

---------

Co-authored-by: Jatin Chaudhary <jatchaud@amd.com>

[ROCm/clr commit: 76d2c4135e]
2025-08-01 14:41:02 +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
Xie, Jiabao(Jimbo) 405962df53 SWDEV-532824 - Fixed log_printf errors for codeql (#427)
Co-authored-by: Jimbo Xie <jiabaxie@amd.com>

[ROCm/clr commit: c88f345229]
2025-07-31 08:17:41 -07:00
Manocha, Rahul 86039381a2 SWDEV-540733 - Add PCI CHIP ID device attribute (#647)
SWDEV-540733 - Add PCI CHIP ID Device Attribute

Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/clr commit: 3bbc8bd170]
2025-07-30 19:43:07 -07:00
Hernandez, Gerardo f47693b755 SWDEV-534207 - fix use of uninitialized variable at hipEventRecord_common() (#771)
[ROCm/clr commit: 2c6ec7df45]
2025-07-23 16:49:12 +05:30
Sang, Tao 1aae121e86 SWDEV-533964 - use __builtin_readcyclecounter() only in clock64 (#368)
[ROCm/clr commit: 5fc6208b19]
2025-07-22 10:41:23 +05:30
Sang, Tao 2296162578 SWDEV-502579 - Remove duplicated symbols (#21)
Remove duplicated compiler symbols from hip-rt. hip-rt should use symbols such as EF_AMDGPU_MACH_AMDGCN_XXX and
ELFABIVERSION_AMDGPU_HSA_VX defined in compiler header.

[ROCm/clr commit: b15c1657b8]
2025-07-22 10:41:01 +05:30
Dittakavi, Satyanvesh a3e576a317 SWDEV-542905 - Update the appropriate grid size in capture hipExtModuleLaunchKernel (#740)
[ROCm/clr commit: c43ee71e96]
2025-07-21 13:57:15 +05:30
Jiang, Julia 005672c314 SWDEV-523483 - Update atomics add-operation in CLR (#751)
[ROCm/clr commit: 9cd8757717]
2025-07-19 06:48:54 +05:30
Betigeri, Sourabh 5683c5fb61 SWDEV-537486 - Change the SPIRV bundle entry id to match 4-field triple (#513)
[ROCm/clr commit: 1edac1bf3a]
2025-07-17 09:29:51 +05:30
Betigeri, Sourabh 52363f797e SWDEV-540629 - Update the current device ID (#699)
[ROCm/clr commit: 0313e20706]
2025-07-15 21:40:26 +05:30
Dittakavi, Satyanvesh b6d69d162e SWDEV-542832 - Refactor vector types alignment (#713)
[ROCm/clr commit: 918b0bdb7a]
2025-07-15 21:09:31 +05:30
Sang, Tao 7fd322af90 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_

[ROCm/clr commit: 397f303d97]
2025-07-09 10:46:52 -04:00
Salinas, David 84e9845897 SWDEV-536367 - Make DEPRECATED message in roc-obj tools STDERR (#469)
[ROCm/clr commit: 71c6535b07]
2025-07-09 17:01:33 +05:30
Brzak, Branislav afa60c590c SWDEV-540609 - hipGraph capture of hipExtModuleLaunchKernel assumed grid size was a multiple of block size (#694)
[ROCm/clr commit: 32e027e66c]
2025-07-09 16:05:40 +05:30
Belton-Schure, Aidan 88c1717658 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

[ROCm/clr commit: 81238db679]
2025-07-08 21:45:31 +05:30
Xie, Pengda 19007f7015 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

[ROCm/clr commit: 21f6842fff]
2025-07-01 12:59:54 -07: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
Belton-Schure, Aidan b735783ae7 SWDEV-536813 - Make alignment 16 for special cases (#609)
[ROCm/clr commit: 5e77c58bd0]
2025-06-27 14:20:16 +05:30
Luu, Jonathan 20a9e311a9 SWDEV-531400_SYMLINK remove SYMLINK (#525)
Co-authored-by: Jonathan Luu <jonatluu@amd.com>

[ROCm/clr commit: a2dafbeacf]
2025-06-26 15:53:39 -04:00
Luu, Jonathan 81c75a7acc 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>

[ROCm/clr commit: c64d56195f]
2025-06-26 15:53:11 -04:00
Sicarov, Dragoslav dbfd869936 SWDEV-533232 Add num_threads API in cooperative_groups (#437)
* Add num_threads API in cooperative_groups
* Reimplementsize API as its alias.
* Update changelog

[ROCm/clr commit: a4631b5700]
2025-06-26 15:05:17 +05:30
Arandjelovic, Marko c530e72a7c 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

[ROCm/clr commit: 349b83c1f6]
2025-06-26 15:01:33 +05:30
Kudchadker, Saleel 3c9f80b4e4 SWDEV-535490 - Improve logging (#441)
- Include HIP version/githash in the logs
- Add a new method to print library path

[ROCm/clr commit: 5d53c83806]
2025-06-24 13:00:00 -07:00
Sang, Tao e113c4da2c SWDEV-533964 - Let comgr compile SPIRV to exec directly (#494)
[ROCm/clr commit: 7755660eeb]
2025-06-23 09:59:53 -04:00
Salinas, David f748dac1fb SWDEV-526498 - [HIPCC] Stop including perl scripts in hipcc packages (#474)
[ROCm/clr commit: 0635f13d9a]
2025-06-23 18:23:54 +05:30
Belton-Schure, Aidan 90508da214 Fix rocWMMA specialization (#532)
Co-authored-by: Aidan Belton <abeltons@amd.com>

[ROCm/clr commit: 49690b8b38]
2025-06-23 18:22:37 +05:30
Belton-Schure, Aidan 56bee0426a 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

[ROCm/clr commit: 3faece02dc]
2025-06-23 18:21:51 +05:30
Sang, Tao 0faa7d7c95 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.

[ROCm/clr commit: 428fce9fd6]
2025-06-19 19:12:59 +05:30
Belton-Schure, Aidan 615b904729 SWDEV-535738 - Properly define size_t for windows (#481)
[ROCm/clr commit: adda2602e1]
2025-06-18 19:32:11 +05:30
Assiouras, Ioannis 079b490e64 SWDEV-537656 - Added c++11 include guard for constexpr HIP_vector_type operator== (#517)
[ROCm/clr commit: e88d9fabe0]
2025-06-13 12:05:41 +05:30
Hernandez, Gerardo fa377062e6 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

[ROCm/clr commit: 0877d257e6]
2025-06-12 14:22:28 +05:30
Sang, Tao cca39a7e19 SWDEV-519446 - Part 1: update normal atomic function file header (#345)
Remove the scope of __has_builtin(__hip_atomic_compare_exchange_strong) == false

[ROCm/clr commit: 67f6409eb1]
2025-06-12 09:16:51 +05:30
Brzak, Branislav cefb51e63e SWDEV-537139 - Add missing typename qualifier to permuteType (#505)
[ROCm/clr commit: b7778ecd65]
2025-06-11 08:03:10 +05:30
Sang, Tao 06616a4837 SWDEV-511020 - fix bugs in surface function header (#449)
[ROCm/clr commit: 10ea744996]
2025-06-11 08:00:42 +05:30
Chaudhary, Jatin Jaikishan c914642086 SWDEV-529899 - [ABI Break] remove unnamed namespace from fp16 operations (#244)
Change-Id: I4feb9089b4cee145300dc78fc43a4f42473f5b1c

[ROCm/clr commit: 543925e048]
2025-06-06 21:22:37 +05:30
Assiouras, Ioannis af6016fe89 SWDEV-536048 - Add explicit cast to int when warpSize is used with == operator (#473)
[ROCm/clr commit: a01134a1ab]
2025-06-06 12:22:31 +05:30
Dittakavi, Satyanvesh 2001b250b5 SWDEV-535738 - Use the type traits implementation from __hip_internal namespace in hip headers (#471)
[ROCm/clr commit: 1bce89ca51]
2025-06-05 00:14:56 +05:30
Belton-Schure, Aidan 415ba0773b Add HIP_vector_base constructor (#456)
Change-Id: I57571f6bf9876d3a9ff312b952858527ec6abc7b

[ROCm/clr commit: c2f6c98006]
2025-06-03 12:23:38 +05:30
Xie, Jiabao(Jimbo) 1539c16ee8 SWDEV-535184 - Fix to switch HIP_RUNTIME_API_TABLE_STEP_VERSION 9 and 10 (#448)
[ROCm/clr commit: 54a2e943d7]
2025-06-02 21:24:40 +05:30
Patel, Jaydeepkumar cb73b09ce1 SWDEV-535738 - Use __hip_internal instead of std namespace for device code. (#455)
[ROCm/clr commit: a018d4278a]
2025-06-02 20:09:17 +05:30
Luzynski, Sebastian 700692bae2 SWDEV-508967 - Fix error code mismatch for hipBindTexture API (#423)
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>

[ROCm/clr commit: 109795f6c9]
2025-05-29 13:13:12 +05:30