Commit Graph

7044 Commits

Author SHA1 Message Date
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
Dittakavi, Satyanvesh 918b0bdb7a SWDEV-542832 - Refactor vector types alignment (#713) 2025-07-15 21:09:31 +05:30
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
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
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
Belton-Schure, Aidan 5e77c58bd0 SWDEV-536813 - Make alignment 16 for special cases (#609) 2025-06-27 14:20:16 +05:30
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
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
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
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
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
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
Sang, Tao 10ea744996 SWDEV-511020 - fix bugs in surface function header (#449) 2025-06-11 08:00:42 +05:30
Chaudhary, Jatin Jaikishan 543925e048 SWDEV-529899 - [ABI Break] remove unnamed namespace from fp16 operations (#244)
Change-Id: I4feb9089b4cee145300dc78fc43a4f42473f5b1c
2025-06-06 21:22:37 +05:30
Assiouras, Ioannis a01134a1ab SWDEV-536048 - Add explicit cast to int when warpSize is used with == operator (#473) 2025-06-06 12:22:31 +05:30
Dittakavi, Satyanvesh 1bce89ca51 SWDEV-535738 - Use the type traits implementation from __hip_internal namespace in hip headers (#471) 2025-06-05 00:14:56 +05:30
Belton-Schure, Aidan c2f6c98006 Add HIP_vector_base constructor (#456)
Change-Id: I57571f6bf9876d3a9ff312b952858527ec6abc7b
2025-06-03 12:23:38 +05:30
Xie, Jiabao(Jimbo) 54a2e943d7 SWDEV-535184 - Fix to switch HIP_RUNTIME_API_TABLE_STEP_VERSION 9 and 10 (#448) 2025-06-02 21:24:40 +05:30
Patel, Jaydeepkumar a018d4278a SWDEV-535738 - Use __hip_internal instead of std namespace for device code. (#455) 2025-06-02 20:09:17 +05:30
Luzynski, Sebastian 109795f6c9 SWDEV-508967 - Fix error code mismatch for hipBindTexture API (#423)
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
2025-05-29 13:13:12 +05:30
Belton-Schure, Aidan 9533ceb8aa Fix vec operator[] (#419)
Change-Id: I1b6767b8b7f7dbcf9998662dd9f8ae3a96e1deca
2025-05-29 13:09:34 +05:30
Betigeri, Sourabh c0c3aa3637 SWDEV-508963 - Change hipMemcpy subset of methods to use const qualifier for src (#139) (#418)
Change-Id: Ia5b68bacff634d3d9e5757f515bac50887895bc3
2025-05-29 13:07:51 +05:30
Manocha, Rahul 7177f1c280 SWDEV-460098 - Match hipModuleLaunchKernel and hipModuleLaunchCooperativeKernel with cuda (#414)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-05-29 13:04:54 +05:30
Arandjelovic, Marko df06b2b692 SWDEV-531009 - Revert SWDEV-525653 - Make hipGetDeviceProperties and hipChooseDevice use th… (#381)
This reverts commit b006380ff6.
2025-05-29 13:02:45 +05:30
Dittakavi, Satyanvesh 54503f0d67 SWDEV-530921 - Remove the usage of __AMDGCN_WAVEFRONT_SIZE as compile time constant (#330)
* SWDEV-530921 - Remove the usage of __AMDGCN_WAVEFRONT_SIZE as compile time constant

* wavefrontsize builtin to be used only in device compilation

* SWDEV-530921 - Remove the usage of __AMDGCN_WAVEFRONT_SIZE as compile time constant
2025-05-29 12:52:10 +05:30
Li, Todd tiantuo d96016bcc5 SWDEV-514950 - fix hipMallocManaged & hipMemAdvise when capturing stream (#413) 2025-05-28 13:48:48 +05:30
Li, Todd tiantuo 24cdff6cce SWDEV-516511 - fix hipCreateSurfaceObject & hipDestroySurfaceObject when capturing stream (#412) 2025-05-28 13:46:17 +05:30
Li, Todd tiantuo c7f3ae6d2f SWDEV-504307 SWDEV-504308 - fix hipDeviceSetCacheConfig and hipDeviceSetSharedMemConfig when capturing stream (#411) 2025-05-28 13:44:24 +05:30
Dittakavi, Satyanvesh 93c6ffdec4 SWDEV-534857 - Fix the hip build failure on Windows (#409) 2025-05-28 13:41:31 +05:30
Belton-Schure, Aidan 0f46bd5131 Add operator[] to vec class (#402)
Change-Id: I452cd5d1b258ccbc354a2f424d062f0fa91100ea
2025-05-28 13:38:38 +05:30
Manocha, Rahul b5e9bc55cb SWDEV-475482 - [6.4 Preview] Match hipTexObjectCreate with cuda (#408)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-05-28 13:21:45 +05:30
Betigeri, Sourabh 988c42a6e1 SWDEV-508969 - Fixes error code mismatch for hipBindTexture2D API (#406) 2025-05-28 13:17:15 +05:30
Patel, Jaydeepkumar b751614cd8 SWDEV-508982 - Handle hipMemPoolCreate, hipMemPoolDestory & hipDeviceSetMemPool during stream capture. (#398) 2025-05-27 14:48:21 +05:30
Brzak, Branislav ee2d4a0358 SWDEV-518962 - Match hipCtxGetApiVersion signature with Cuda (#327) 2025-05-26 20:28:22 +05:30
Belton-Schure, Aidan 7aae33951b SWDEV-508966 - hipGetTextureAlignmentOffset return hipErrorInvalidTexture (#389) 2025-05-22 23:19:45 +05:30
Belton-Schure, Aidan 51dd60a64f SWDEV-508977 - return error in global capture mode for hipEventQuery (#388) 2025-05-22 23:17:57 +05:30