Commit Graph

2509 Commits

Author SHA1 Message Date
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 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
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
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
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
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
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
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
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
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
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
Kandula, Venkateshwar reddy 10d0ae9638 [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>

[ROCm/clr commit: ad44dd527f]
2025-05-22 15:09:31 +05:30
Dittakavi, Satyanvesh e0a9266e50 SWDEV-433031 - Match the signature of HIPRTC APIs with NVRTC (#378)
Change-Id: I5eb175b15a65a9f1c2db3ae30da6803179520dbe

[ROCm/clr commit: e5f7519e64]
2025-05-22 13:30:33 +05:30
Dittakavi, Satyanvesh 36539a2ca1 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

[ROCm/clr commit: 2c173c6da4]
2025-05-22 13:24:49 +05:30
Andryeyev, German fc2f5aaf22 SWDEV-533074 - Expose hipDeviceAttributeNumberOfXccs attribute (#336)
[ROCm/clr commit: 5cc172c99c]
2025-05-21 22:35:42 +05:30
Dittakavi, Satyanvesh 1cc35da9be SWDEV-438790 - Remove DEBUG_HIP_7_PREVIEW env var keeping the hipGetLastError changes by default (#337)
[ROCm/clr commit: 664bf232dd]
2025-05-21 22:12:45 +05:30
Brzak, Branislav 834d770ca4 SWDEV-508964 - Match hip launch kernel retuns with cuda (#357)
[ROCm/clr commit: 88f15877f6]
2025-05-21 21:59:11 +05:30
Dittakavi, Satyanvesh 39b9a46025 SWDEV-418904 - Remove hiprtc symbols from hip library (#370)
[ROCm/clr commit: e9dbd7c99d]
2025-05-21 21:22:47 +05:30
Assiouras, Ioannis 6467351f4c SWDEV-508962 - [6.4 Preview] Update hipPointerGetAttributes to match CUDA > 11.0 behavior (#120) (#363)
[ROCm/clr commit: 0b64eec921]
2025-05-21 21:18:05 +05:30
Assiouras, Ioannis 3ea732b38a SWDEV-508965 - [6.4 Preview] Remove HIP_MEMSET_NODE_PARAMS struct (#121) (#364)
[ROCm/clr commit: 968f5599a8]
2025-05-21 21:16:42 +05:30
Andryeyev, German 22da169b86 SWDEV-532868 - Disable implicit wait in hipFree for async allocations (#323)
* SWDEV-532868 - Disable implicit wait in hipFree for async allocations

* Fix compilation error

[ROCm/clr commit: 58df22546b]
2025-05-21 21:14:38 +05:30
Brzak, Branislav 16aefe62f6 SWDEV-508979 - Match hipModuleLoad negative return with Cuda (#326)
[ROCm/clr commit: 7a357800dd]
2025-05-21 21:09:07 +05:30
Brzak, Branislav 10d97b4b3c SWDEV-508970 - Match hipBindTextureToArray negative return with Cuda (#325)
[ROCm/clr commit: a46ed60e2e]
2025-05-21 20:57:09 +05:30
Jayaprakash, Karthik a17e22a78c SWDEV-529929 - hipMemGetHandleForAddressRange implementation. (#245)
[ROCm/clr commit: 12131de4a9]
2025-05-20 15:56:04 -04:00