Commit Graph

2399 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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 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
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
Jayaprakash, Karthik 12131de4a9 SWDEV-529929 - hipMemGetHandleForAddressRange implementation. (#245) 2025-05-20 15:56:04 -04:00
Jayaprakash, Karthik f5b8db33f1 SWDEV-531711 - Report correct error code based on device failure. (#286) 2025-05-17 06:33:13 -04:00
Patel, Jaydeepkumar 32eb6a5d89 SWDEV-530803 - User current device id while cloning graph node. (#313) 2025-05-15 09:06:15 +05:30
Xie, Pengda 0457b634f8 SWDEV-527781 - Remove Stream Validation in HIP APIs 2025-05-13 13:45:27 -07:00
Assiouras, Ioannis f7482ef0a6 SWDEV-529449 - Bug fix when retrieving a memobj from the IPC mem handle 2025-05-13 19:18:22 +01:00
Jayaprakash, Karthik acb1f7e8d5 SWDEV-526855 - Modify the SIMDPerCU calculation for gfx1250/1. (#275) 2025-05-12 11:09:03 -04:00
Arandjelovic, Marko c5ced8c3a2 SWDEV-512344 - Unmap all subbuffers (#214) 2025-05-12 16:56:10 +02:00
Arandjelovic, Marko a7492c516d SWDEV-511204 - Mapped virtual memory should use device instead of host context (#213)
Since the sub-buffer(virtual memory that is mapped to device memory) is associated with device memory, it should utilize the device context instead of the host context. The original implementation caused hipMemcpyPeer to not take the P2P path, as the memory object was treated as host memory.
2025-05-12 16:55:25 +02:00
Huang, AnZhong b434fbe2bd SWDEV-527299 - Support HIP_POINTER_ATTRIBUTE_CONTEXT (#180)
* SWDEV-527299 - Support HIP_POINTER_ATTRIBUTE_CONTEXT

As HIP enables UVA by default, it seems we can simply expose the context to support this feature.
2025-05-09 17:34:16 +08:00
Jayaprakash, Karthik fa55557f46 SWDEV-493805 - Cleaning up launch parameters arguments. (#241) 2025-05-06 15:06:13 -04:00
Dittakavi, Satyanvesh 607f8f26fd SWDEV-529831 - Return error if the program is empty (#257) 2025-05-06 15:12:12 +05:30