7239 Commits

Author SHA1 Message Date
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
Belton-Schure, Aidan 0fcf5ef2c5 Fix vec operator[] (#419)
Change-Id: I1b6767b8b7f7dbcf9998662dd9f8ae3a96e1deca

[ROCm/clr commit: 9533ceb8aa]
2025-05-29 13:09:34 +05:30
Betigeri, Sourabh 328aeb758c SWDEV-508963 - Change hipMemcpy subset of methods to use const qualifier for src (#139) (#418)
Change-Id: Ia5b68bacff634d3d9e5757f515bac50887895bc3

[ROCm/clr commit: c0c3aa3637]
2025-05-29 13:07:51 +05:30
Manocha, Rahul 88c3041e15 SWDEV-460098 - Match hipModuleLaunchKernel and hipModuleLaunchCooperativeKernel with cuda (#414)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/clr commit: 7177f1c280]
2025-05-29 13:04:54 +05:30
Arandjelovic, Marko 15b839954e SWDEV-531009 - Revert SWDEV-525653 - Make hipGetDeviceProperties and hipChooseDevice use th… (#381)
This reverts commit d4275741ba.

[ROCm/clr commit: df06b2b692]
2025-05-29 13:02:45 +05:30
Dittakavi, Satyanvesh dd3eaa86ff 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

[ROCm/clr commit: 54503f0d67]
2025-05-29 12:52:10 +05:30
Li, Todd tiantuo 306a7bb5a1 SWDEV-514950 - fix hipMallocManaged & hipMemAdvise when capturing stream (#413)
[ROCm/clr commit: d96016bcc5]
2025-05-28 13:48:48 +05:30
Li, Todd tiantuo e5792ebe7d SWDEV-516511 - fix hipCreateSurfaceObject & hipDestroySurfaceObject when capturing stream (#412)
[ROCm/clr commit: 24cdff6cce]
2025-05-28 13:46:17 +05:30
Li, Todd tiantuo fb7f0a0794 SWDEV-504307 SWDEV-504308 - fix hipDeviceSetCacheConfig and hipDeviceSetSharedMemConfig when capturing stream (#411)
[ROCm/clr commit: c7f3ae6d2f]
2025-05-28 13:44:24 +05:30
Dittakavi, Satyanvesh 60c19641d8 SWDEV-534857 - Fix the hip build failure on Windows (#409)
[ROCm/clr commit: 93c6ffdec4]
2025-05-28 13:41:31 +05:30
Belton-Schure, Aidan 8074e10ce6 Add operator[] to vec class (#402)
Change-Id: I452cd5d1b258ccbc354a2f424d062f0fa91100ea

[ROCm/clr commit: 0f46bd5131]
2025-05-28 13:38:38 +05:30
Manocha, Rahul b936e55e81 SWDEV-475482 - [6.4 Preview] Match hipTexObjectCreate with cuda (#408)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>

[ROCm/clr commit: b5e9bc55cb]
2025-05-28 13:21:45 +05:30
Betigeri, Sourabh c54ec9a21a SWDEV-508969 - Fixes error code mismatch for hipBindTexture2D API (#406)
[ROCm/clr commit: 988c42a6e1]
2025-05-28 13:17:15 +05:30
Patel, Jaydeepkumar 341b17fe41 SWDEV-508982 - Handle hipMemPoolCreate, hipMemPoolDestory & hipDeviceSetMemPool during stream capture. (#398)
[ROCm/clr commit: b751614cd8]
2025-05-27 14:48:21 +05:30
Brzak, Branislav d17388cd6b SWDEV-518962 - Match hipCtxGetApiVersion signature with Cuda (#327)
[ROCm/clr commit: ee2d4a0358]
2025-05-26 20:28:22 +05:30
Belton-Schure, Aidan 983a5925c6 SWDEV-508966 - hipGetTextureAlignmentOffset return hipErrorInvalidTexture (#389)
[ROCm/clr commit: 7aae33951b]
2025-05-22 23:19:45 +05:30
Belton-Schure, Aidan 5d4ae6346e SWDEV-508977 - return error in global capture mode for hipEventQuery (#388)
[ROCm/clr commit: 51dd60a64f]
2025-05-22 23:17:57 +05:30
Stojiljkovic, Vladana 1a36230bf2 Match hipStreamAddCallback capture behavior with nvidia (#386)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: a0e946c2cc]
2025-05-22 20:54:04 +05:30
Stojiljkovic, Vladana 9af11abb42 Match hipLaunchCooperativeKernelMultiDevice behavior with nvidia (#385)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: 63c4020e49]
2025-05-22 20:52:37 +05:30
Stojiljkovic, Vladana 25084759b8 Allow hipMemAdvise capturing only in relaxed mode (#384)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: 2ddfe40de0]
2025-05-22 20:52:00 +05:30
Stojiljkovic, Vladana 3f415c28e0 Allow hipMallocManaged capturing only in relaxed mode (#383)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>

[ROCm/clr commit: 69112331ac]
2025-05-22 20:51:30 +05:30
Arandjelovic, Marko b520edc6a4 Match cuda behaviour for VMM APIs (#382)
[ROCm/clr commit: 9ef5602453]
2025-05-22 20:49:08 +05:30