Commit graph

7024 Commits

Autor SHA1 Nachricht Datum
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
Stojiljkovic, Vladana a0e946c2cc Match hipStreamAddCallback capture behavior with nvidia (#386)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-05-22 20:54:04 +05:30
Stojiljkovic, Vladana 63c4020e49 Match hipLaunchCooperativeKernelMultiDevice behavior with nvidia (#385)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-05-22 20:52:37 +05:30
Stojiljkovic, Vladana 2ddfe40de0 Allow hipMemAdvise capturing only in relaxed mode (#384)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-05-22 20:52:00 +05:30
Stojiljkovic, Vladana 69112331ac Allow hipMallocManaged capturing only in relaxed mode (#383)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-05-22 20:51:30 +05:30
Arandjelovic, Marko 9ef5602453 Match cuda behaviour for VMM APIs (#382) 2025-05-22 20:49:08 +05:30
Kandula, Venkateshwar reddy ad44dd527f [CLR ABI] step runtime api version hip memset node params (#373)
* increase hip api table version for HIP_MEMSET_NODE_PARAMS removed.

* update version in static_assert.

---------

Co-authored-by: Venkateshwar Reddy Kandula <vkandula@amd.com>
2025-05-22 15:09:31 +05:30
Dittakavi, Satyanvesh e5f7519e64 SWDEV-433031 - Match the signature of HIPRTC APIs with NVRTC (#378)
Change-Id: I5eb175b15a65a9f1c2db3ae30da6803179520dbe
2025-05-22 13:30:33 +05:30
Dittakavi, Satyanvesh 946ea72c94 SWDEV-513341 - Remove datatypes from HIPRTC (#377)
Defining int64_t, uint64_t, int32_t, uint32_t in HIPRTC
seem to result in conflicts with some apps as they use
their own definitions for these types. NVRTC also doesn't
define these. Hence remove them and replace their usage
with hip internal datatypes such as __hip_int64_t

Change-Id: Id314730bbd61c05f126f915c546052f956550a3f
2025-05-22 13:28:31 +05:30
Dittakavi, Satyanvesh b27e2abc41 SWDEV-482125 - HIPRTC implementation of standard headers moved from std to __hip_internal namespace (#376)
Change-Id: Ia359ed45e0916ad397401113a69a6b26a590d807
2025-05-22 13:27:19 +05:30
Dittakavi, Satyanvesh 2c173c6da4 SWDEV-512756 - SWDEV-510954 - Add appropriate checks during active stream capture (#375)
- hipStreamAddCallback is not permitted during stream capture for all modes
- hipModuleUnload is permitted only for relaxed mode during stream capture

Change-Id: I79ca5d2f6b61bd2e169fee7c13da4cd46e472a10
2025-05-22 13:24:49 +05:30
Andryeyev, German 5cc172c99c SWDEV-533074 - Expose hipDeviceAttributeNumberOfXccs attribute (#336) 2025-05-21 22:35:42 +05:30
Dittakavi, Satyanvesh 664bf232dd SWDEV-438790 - Remove DEBUG_HIP_7_PREVIEW env var keeping the hipGetLastError changes by default (#337) 2025-05-21 22:12:45 +05:30
Brzak, Branislav 88f15877f6 SWDEV-508964 - Match hip launch kernel retuns with cuda (#357) 2025-05-21 21:59:11 +05:30
Belton-Schure, Aidan 3cd3b3ffc5 SWDEV-527851 SWDEV-527890 SWDEV-529456 - Make HIP vector simple struct (#356)
* Make HIP vector simple struct

Change-Id: I8442c2cc9af26b2a3c7d6719e3348df1593e83b3

* Update make_vector_type

Change-Id: Ic5060994a08baa4262c2a4b09fcbe6bc74276720
2025-05-21 21:30:55 +05:30
Dittakavi, Satyanvesh e9dbd7c99d SWDEV-418904 - Remove hiprtc symbols from hip library (#370) 2025-05-21 21:22:47 +05:30
Assiouras, Ioannis 0b64eec921 SWDEV-508962 - [6.4 Preview] Update hipPointerGetAttributes to match CUDA > 11.0 behavior (#120) (#363) 2025-05-21 21:18:05 +05:30
Assiouras, Ioannis 968f5599a8 SWDEV-508965 - [6.4 Preview] Remove HIP_MEMSET_NODE_PARAMS struct (#121) (#364) 2025-05-21 21:16:42 +05:30
Andryeyev, German 58df22546b SWDEV-532868 - Disable implicit wait in hipFree for async allocations (#323)
* SWDEV-532868 - Disable implicit wait in hipFree for async allocations

* Fix compilation error
2025-05-21 21:14:38 +05:30
Brzak, Branislav 7a357800dd SWDEV-508979 - Match hipModuleLoad negative return with Cuda (#326) 2025-05-21 21:09:07 +05:30
Brzak, Branislav a46ed60e2e SWDEV-508970 - Match hipBindTextureToArray negative return with Cuda (#325) 2025-05-21 20:57:09 +05:30