Commit Graph

13708 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
Hernandez, Gerardo a5be0f5346 SWDEV-525231 - clarify that reduce sync operations are new intrinsics in the 7.0 CHANGELOG (#876)
SWDEV-525231 - clarify that reduce sync operations are new intrinsics in 7.0, not an existing one
2025-08-15 12:40:05 -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
Arandjelovic, Marko b58faa2f37 SWDEV-532479 - Add tracking of hostcall memory allocations (#416)
* SWDEV-532479 - Add tracking of hostcall memory allocations

* SWDEV-532479 - Remove hostcall allocations if request is received

* SWDEV-532479 - Cleanup

* SWDEV-532479 - Naming fix

* SWDEV-532479 - Add new separator after each new function
2025-08-15 00:17:24 +02:00
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
GunaShekar, Ajay 76637d7ebe SWDEV-532576 - clr_logs_<pid>.txt default AMD_LOG_LEVEL_FILE (#480)
avoids app crash and uses default AMD_LOG_LEVEL_FILE if invalid name is passed
2025-08-13 20:27:42 -07:00
Xie, Pengda 191f068193 SWDEV-520384 - Improve postLoad latency during program load (#758)
Change-Id: I3c5a9e148efbd845c8fa3e4b51d9653664e9c499
2025-08-13 19:36:06 -07:00
Xie, Pengda a028359ead SWDEV-547880 - Remove incorrect constMemSize calculation (#813) 2025-08-13 13:13:27 -07:00
Deshpande, Chinmay Diwakar cc99d17ddd SWDEV-548352 - Remove logging limit in cltrace (#830)
* SWDEV-548352 - Add environment var to disable logging limit in cltrace

* SWDEV-548352 - Fix formatting

* SWDEV-548352 - Remove logging limit entirely

* SWDEV-548352 - Change logging limit to 6000

---------

Co-authored-by: Chinmay Deshpande <chdeshpa@amd.com>
2025-08-13 11:18:56 -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 14760c6eba SWDEV-533220 - Release marker when HostQueue is destroyed (#460)
Co-authored-by: Anusha GodavarthySurya <Anusha.GodavarthySurya@amd.com>
2025-08-13 15:15:31 +02:00
Stojiljkovic, Vladana 499e2ee044 SWDEV-537855 - Free created event if hipIpcOpenEventHandle fails (#680) 2025-08-13 11:36:13 +02:00
Jiang, Julia eb438107a7 525231- Adding more info in changelog for 7.0 in staging (#527)
525231- Update changelog for 7.0 in staging
2025-08-13 14:47:17 +05:30
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
Andryeyev, German 2305f8ae56 SWDEV-465041 - Add support for user events with DD (#321)
* SWDEV-465041 - Add support for user events with DD

User events can be replaced with HSA signals. Add the interface
to allocate HSA signal for user events and update the status on
CL_COMPLETE.
Force pinned path with DD to avoid blocking calls. Pinned memory
can be released only when the command is complete.
Simplify device enqueue path to use generic kernel arg buffer and
signals

* Fix notifyCmdQueue() logic for OCL

* Avoid blocking calls in OCL with DD

* Add event  destruciton in a case of the failure.
2025-08-12 19:04:36 -04: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 926eedc230 SWDEV-508540 - adjust for compile time wavefront 64 (#747) 2025-08-11 10:17:27 +05:30
Chaudhary, Jatin Jaikishan ee124dda09 SWDEV-508540 - fix the max blocks per multiprocessor calculation (#737) 2025-08-11 10:17:18 +05:30
GunaShekar, Ajay ed903e8889 SWDEV-543366 - Bump PAL_CLIENT_INTERFACE_MAJOR_VERSION 916 --> 932 (#725)
Co-authored-by: Lin, Qun <Quentin.Lin@amd.com>
Co-authored-by: Lin,Qun <qlin@amd.com>
2025-08-08 08:45:42 -07:00
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 cd46294b31 SWDEV-520384 - Improve Fat Binary loading latency (#390)
Init and fini kernel needs to be launched when we load and unload code object. Avoid looping through all kernels within a code object just to run the init and fini kernels. Compiler currently only generates 1 init and fini kernel.
2025-08-05 14:02:05 -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
Xie, Pengda 4121a860bf SWDEV-505833 - Remove DEBUG_CLR_SKIP_RELEASE_SCOPE flag (#735)
Cleanup debug flag DEBUG_CLR_SKIP_RELEASE_SCOPE
2025-08-05 08:31:55 -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
Kudchadker, Saleel 1492328894 SWDEV-547614 - Demangle graph kernel names (#809) 2025-08-01 14:35:30 -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