Graphe des révisions

7081 Révisions

Auteur SHA1 Message Date
GunaShekar, Ajay f6736d57a5 SWDEV-546178 - hipModuleLoadFatBinary implementation (#785)
* SWDEV-546178 - hipModuleLoadFatBinary implementation

* SWDEV-546178 - hipModuleLoadFatBinary CHANGELOG update

* SWDEV-546178 - fix roctracer build issue due to hip_prof_str.h
2025-08-15 13:06:24 -07:00
Manocha, Rahul 0f49c4a97f SWDEV-545952 - API definitions for hipStreamSet/GetAttribute (#831)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-08-15 12:51:35 -07:00
GunaShekar, Ajay 54e592beec SWDEV-541623 - cuda parity hipTexObjectCreate when Array is null (#734) 2025-08-15 12:35:33 -07:00
Arandjelovic, Marko be73d024e2 SWDEV-512604 - Use the same context during Image creation (#800) 2025-08-15 18:31:11 +02:00
Dittakavi, Satyanvesh ddd96c1e5d SWDEV-547629 - Fix hipLaunchHostFunc as it is supported during stream capture (#823) 2025-08-15 15:19:59 +05:30
Manocha, Rahul 5f86622adc SWDEV-546328 - API definitions for hipMemsetD2D8/D16/D32 (#789)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-08-14 14:47:28 -07:00
Arandjelovic, Marko a15957fee9 SWDEV-547453 Release the kernel command if the operation returns an error (#807)
* SWDEV-547453 Release the kernel command if the operation returns an error

* SWDEV-547453 - Initialize parameters_ to default value

* SWDEV-547453 - Run clang-format
2025-08-14 20:08:53 +02:00
Stojiljkovic, Vladana da068a2492 SWDEV-545489, SWDEV-545082 - Free marker when ipc event is recorded (#784)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-08-14 11:08:53 +02:00
GunaShekar, Ajay dfb46db2fb SWDEV-546179 - hipModuleGetFunctionCount AMD impl (#782)
* SWDEV-546179 - hipModuleGetFunctionCount AMD impl

* SWDEV-546179 - return invalid for count ptr

* SWDEV-546179 - hipModuleGetFunctionCount CHANGELOG.md update
2025-08-13 20:28:12 -07:00
Sang, Tao 35c192f1af SWDEV-502579 Revert elf symbols patches (#861)
* Revert "Fix undefined symbol at runtime with newer versions of LLVM (#791)"

This reverts commit 2da49283c8.

* Revert "SWDEV-502579 - Remove duplicated symbols (#21)"

This reverts commit b15c1657b8.

Revert them because ELF symbols will be added into comgr header.
2025-08-13 10:46:39 -04:00
Stojiljkovic, Vladana 499e2ee044 SWDEV-537855 - Free created event if hipIpcOpenEventHandle fails (#680) 2025-08-13 11:36:13 +02:00
Assiouras, Ioannis 2aa2212d93 SWDEV-549247 - Fix stream checks for hipModuleLaunchCooperativeKernel… (#858)
SWDEV-549247 - Fix stream validation checks in hipModuleLaunchCooperativeKernelMultiDevice

In CooperativeKernelMultiDevice mode, the stream's device
should be validated against the grid's assigned device
rather than the current device.
2025-08-13 07:47:49 +01:00
Assiouras, Ioannis dc34af61d7 SWDEV-543340 - Remove shared memory objects after IPC event cleanup (#745)
This change ensures that shared memory objects (e.g., files in /dev/shm)
are unlinked once all related IPC events have been destroyed.
2025-08-12 21:23:09 +01:00
Chaudhary, Jatin Jaikishan 42730527c6 SWDEV-545100 - rename the template variable (#798) 2025-08-12 21:58:55 +05:30
Chaudhary, Jatin Jaikishan 4d5fe2206d SWDEV-539481 - Add _rn variants of fp16 APIs (#582)
* Add _rn variants of fp16 APIs
* cover bf16 as well
2025-08-12 21:58:38 +05:30
Dittakavi, Satyanvesh c60888b0cd SWDEV-545947 - Add Implementation for hipSetValidDevices (#805) 2025-08-12 16:29:09 +05:30
Dittakavi, Satyanvesh b50d70564e SWDEV-540272 - copy params 3D struct should be populated even for memcpy 1D graph node (#702)
SWDEV-540272 - copy params 3D struct should be populated even for 1D graph node
2025-08-12 16:21:53 +05:30
Chaudhary, Jatin Jaikishan d7f90a3120 SWDEV-540645 - use single path for code object loading (#773)
* use single path for code object loading
* Remove printf
* Address review comments
* Fix the declaration of ihipMallocManaged
2025-08-12 15:15:18 +05:30
Betigeri, Sourabh 0d9428135c SWDEV-528351 - Clean up hipJitOptions (#439) 2025-08-11 21:24:44 +05:30
Betigeri, Sourabh da61c5d1da SWDEV-528351 - Cleanup template specializations and overloads for enums (#360)
* SWDEV-528351 - Adds temlplate specialization for enums
* SWDEV-528351 - Removes template specializations for enums
2025-08-11 21:24:24 +05:30
Chaudhary, Jatin Jaikishan ee124dda09 SWDEV-508540 - fix the max blocks per multiprocessor calculation (#737) 2025-08-11 10:17:18 +05:30
Assiouras, Ioannis 4646a756d9 SWDEV-542218 - Remove attribute(aligned) from ext_vector_type as it i… (#802)
SWDEV-542218 - Remove attribute(aligned) from ext_vector_type as it is iignored
2025-08-08 13:09:56 +01:00
Kudchadker, Saleel 9b045922a8 SWDEV-538195 - Introduce threshold for handler submission (#723)
- When doing device/stream sync, we can submit a handler which may
  introduce some host side delays. Use DEBUG_CLR_BATCH_CPU_SYNC_SIZE to
  batch commands for host wait. Default for HIP is 8 commands.
- Investigation is underway in ROCr but need to address this for now in
  HIP runtime.
2025-08-06 20:34:42 -07:00
Xie, Pengda 7e777d3755 SWDEV-534394 - Kernel launch stream check (#533)
hipErrorInvalidResourceHandle is returned if stream is not on the launching device
2025-08-05 10:39:37 -07:00
Brzak, Branislav 111f12cbed SWDEV-546137 - Don't rely on __cplusplus under hiprtc environment (#806) 2025-08-04 21:33:26 +02:00
Assiouras, Ioannis f094d16157 SWDEV-533754 - Fixed mem leak in capturing gpu packets (#365) 2025-08-04 14:58:04 +01:00
Betigeri, Sourabh 2a02d2c2f3 SWDEV-545273 - Respect HIP_LAUNCH_PARAM_BUFFER_SIZE (#770) 2025-08-03 17:32:52 -07:00
Sumner, Brian 2da49283c8 Fix undefined symbol at runtime with newer versions of LLVM (#791) 2025-08-01 08:15:02 -07:00
Patel, Jaydeepkumar c329b548eb SWDEV-541799 - Return hipSuccess from hipFreeAsync if ptr to free is … (#683)
SWDEV-541799 - Return hipSuccess from hipFreeAsync if ptr to free is nullptr to match with hipFree.
2025-08-01 14:41:40 +05:30
Chaudhary, Jatin Jaikishan 76d2c4135e 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>
2025-08-01 14:41:02 +05:30
Manocha, Rahul 3f6f9d6081 SWDEV-539710 - Defer allocation of managed variable (#652)
Co-authored-by: Rahul Manocha <rmanocha@amd.com>
2025-07-31 08:30:23 -07:00
Xie, Jiabao(Jimbo) c88f345229 SWDEV-532824 - Fixed log_printf errors for codeql (#427)
Co-authored-by: Jimbo Xie <jiabaxie@amd.com>
2025-07-31 08:17:41 -07:00
Manocha, Rahul 3bbc8bd170 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>
2025-07-30 19:43:07 -07:00
Hernandez, Gerardo 2c6ec7df45 SWDEV-534207 - fix use of uninitialized variable at hipEventRecord_common() (#771) 2025-07-23 16:49:12 +05:30
Sang, Tao 5fc6208b19 SWDEV-533964 - use __builtin_readcyclecounter() only in clock64 (#368) 2025-07-22 10:41:23 +05:30
Sang, Tao b15c1657b8 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.
2025-07-22 10:41:01 +05:30
Dittakavi, Satyanvesh c43ee71e96 SWDEV-542905 - Update the appropriate grid size in capture hipExtModuleLaunchKernel (#740) 2025-07-21 13:57:15 +05:30
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