Danylo Lytovchenko
2ff2316227
Adjust clang format to the new versions, revert broken macro layout ( #714 )
2025-08-22 17:23:22 +02:00
Danylo Lytovchenko
f7338717ae
SWDEV-470698 - fix formatting, add format check workflow ( #657 )
2025-08-20 19:58:06 +05:30
GunaShekar, Ajay
0d63a5abd3
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
[ROCm/clr commit: f6736d57a5 ]
2025-08-15 13:06:24 -07:00
Arandjelovic, Marko
208d124f54
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
[ROCm/clr commit: a15957fee9 ]
2025-08-14 20:08:53 +02:00
GunaShekar, Ajay
76328ecfde
SWDEV-546179 - hipModuleGetFunctionCount AMD impl ( #782 )
...
* SWDEV-546179 - hipModuleGetFunctionCount AMD impl
* SWDEV-546179 - return invalid for count ptr
* SWDEV-546179 - hipModuleGetFunctionCount CHANGELOG.md update
[ROCm/clr commit: dfb46db2fb ]
2025-08-13 20:28:12 -07:00
Assiouras, Ioannis
59b7dba6f0
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.
[ROCm/clr commit: 2aa2212d93 ]
2025-08-13 07:47:49 +01:00
Betigeri, Sourabh
0e0ca48a6a
SWDEV-528351 - Clean up hipJitOptions ( #439 )
...
[ROCm/clr commit: 0d9428135c ]
2025-08-11 21:24:44 +05:30
Xie, Pengda
213623506f
SWDEV-534394 - Kernel launch stream check ( #533 )
...
hipErrorInvalidResourceHandle is returned if stream is not on the launching device
[ROCm/clr commit: 7e777d3755 ]
2025-08-05 10:39:37 -07:00
Betigeri, Sourabh
40999496c1
SWDEV-545273 - Respect HIP_LAUNCH_PARAM_BUFFER_SIZE ( #770 )
...
[ROCm/clr commit: 2a02d2c2f3 ]
2025-08-03 17:32:52 -07:00
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
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
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
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
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
Jayaprakash, Karthik
cde2a250ec
SWDEV-493805 - Cleaning up launch parameters arguments. ( #241 )
...
[ROCm/clr commit: fa55557f46 ]
2025-05-06 15:06:13 -04:00
Godavarthy Surya, Anusha
ff69bcc903
SWDEV-469422 - Avoid using of hipStream_t in internal methods ( #69 )
...
Change-Id: Ifd5362f371c846a88241927383cb95cf046548ef
[ROCm/clr commit: fb92683d86 ]
2025-04-28 15:09:11 +05:30
GunaShekar, Ajay
34d3f7022b
SWDEV-523281 - CHANGELOG.md and negative test return values : hipLaunchKernelEx, hipLaunchKernelExC, hipDrvLaunchKernelEx ( #155 )
...
[ROCm/clr commit: 64d6f5714a ]
2025-04-22 21:47:37 +05:30
Arandjelovic, Marko
963de868ae
SWDEV-523137 - function ptrs should match across all devices ( #171 )
...
[ROCm/clr commit: 5fe080fd67 ]
2025-04-16 10:35:48 +02:00
Patel, Jaydeepkumar
dea880f9da
SWDEV-508973 - If total # of threads/block is more than HW capacity, it's invalid config issue and should return invalid config error. ( #25 )
...
[ROCm/clr commit: 8531cd3bbe ]
2025-04-10 15:16:16 +05:30
Betigeri, Sourabh
487ede31a9
SWDEV-523281 - [clr] Implementation of hipLaunchKernelExC and hipDrvLaunchKernelEx API with support for cooperative launch ( #92 )
...
[ROCm/clr commit: 8c6b90996e ]
2025-04-03 20:10:05 +09:00
Saleel Kudchadker
c8f39ec2b0
SWDEV-502365 - Track last used command
...
- This change tries to save extra synchronization packets we may insert
as we didnt track the completion signals for every command. We track
the current enqueued command until it exits the enqueue stage. We also
record the exit scope to know if we flushed the caches
- Handle correct release scopes and store completion signal as HW events
- Use a new finishCommand implementation to only wait for the command
passed as the argument
Change-Id: Ie4350c5dd24f5d48dfa6ccbabd892f0544caadcc
[ROCm/clr commit: e03e4f3b5d ]
2025-03-04 16:05:02 -05:00
Rahul Manocha
75d53e5c22
SWDEV-489106 - Linker API addition to runtime
...
1) Add Linker APIs to runtime to support SPIRV linking
2) Migrate Internal implementations to runtime and share with rtc
3) Add Support to bundled and unbundled SPIRV Code object linking.
Change-Id: Ic1fd4431f842a208a2468e8aec54a65b5fa6b0e3
[ROCm/clr commit: 5930f047bb ]
2025-02-22 13:39:23 -05:00
Ioannis Assiouras
a349b23474
SWDEV-514686 - Fixed hipEventSynchronize/hipStreamWaitEvent for IPC events
...
Resolved an issue where hipEventSynchronize and hipStreamWaitEvent APIs
did not function correctly for events created with the hipEventInterprocess flag.
The bug caused the event to be incorrectly marked as "recorded,"
leading to these APIs failing to wait for the event as expected.
Change-Id: Ic9fdfaab2393beb93d6e0b83661545e902a63499
[ROCm/clr commit: 1cdfbfd270 ]
2025-02-11 18:43:06 -05:00
Vladana Stojiljkovic
4b786b5207
SWDEV-498061 - Add capture support for hipModuleLaunchCooperativeKernel
...
Change-Id: I5ed188e046c680c2785b3952391f59ed1d0c21b8
[ROCm/clr commit: 30cb2d0e67 ]
2025-01-16 10:54:30 -05:00
Marko Arandjelovic
8647bb483b
SWDEV-504084 - Make hipModuleGetFunction use the device the module is loaded on
...
If a module is loaded on one device, hipModuleGetFunction and other similar APIs should be able to run successfully from another device.
Change-Id: I96084cbd6c6dcf2a81019779a6ab1842ef2f35d1
[ROCm/clr commit: c46f843b99 ]
2025-01-16 10:16:42 -05:00
Vladana Stojiljkovic
3e8d5599d4
SWDEV-494612- Add capture support for hipLaunchCooperativeKernel
...
Change-Id: I6b3c6af55c60cffd43ce6f47b75998f750b75703
[ROCm/clr commit: b75b0d9a53 ]
2024-11-29 08:17:41 -05:00
Ioannis Assiouras
eae7d9bdc8
SWDEV-496003 - Add support for dynamic functions in hipFuncSetAttribute
...
Modified hipFuncSetAttribute to handle pointers to dynamic functions
returned by hipModuleGetFunction.
Change-Id: I54b98f9d31a79630dd7edcd363fad81f1d89219b
[ROCm/clr commit: 1a710dabcf ]
2024-11-19 04:50:15 -05:00
Sourabh Betigeri
78d068f153
SWDEV-450052 - Return if numDevices is more than device count on the platform
...
Change-Id: I538106d1b02084df9cd06b41427629207312e76f
[ROCm/clr commit: 64e1b15551 ]
2024-10-24 17:07:11 -04:00
Saleel Kudchadker
5c03a593e7
SWDEV-491375 - Optimize multithreaded dispatches
...
- Fix typo
Change-Id: If4c68455dcfa03fee18cb4720e8b5b438642703c
[ROCm/clr commit: 0f2342bc13 ]
2024-10-17 17:02:23 -04:00
Rahul Manocha
da48c3b185
[SWDEV-467733] - Add Param checking for SetCacheConfig APIs
...
Change-Id: I9e777fa0fae6791ebab539e49346e6956a6ff196
[ROCm/clr commit: 0d20383ef9 ]
2024-09-27 11:32:58 -04:00
Ajay
d7f4f778b3
SWDEV-465215 - hipFuncSetAttribute hipFuncGetAttributes fixes
...
Change-Id: I2151e4470d63918ff6b809a8fdeaae5bea5cc899
[ROCm/clr commit: c9955a1cea ]
2024-09-13 14:05:25 -04:00
Jaydeep Patel
82474ca1db
SWDEV-465220 - Validate stream on which Kernel is planned to be launched.
...
Change-Id: I34c679bd888c275584c11ad3e8346d4d542976f9
[ROCm/clr commit: b0047d690a ]
2024-08-06 00:31:22 -04:00
Marko Arandjelovic
7cd2515908
SWDEV-465204 - Fix hipModuleLaunchKernel data validation
...
Change-Id: I129f265a5eb79d0a13da4f12e78e06ba307b17ee
[ROCm/clr commit: be5f097e8e ]
2024-08-01 05:09:23 -04:00
kjayapra-amd
30a4b9e316
SWDEV-460948 - Remove dflock, since kernel arguments are part of command now.
...
Change-Id: I6b5a229307b41bd24ffa0bc172c64ad1154df474
[ROCm/clr commit: 9c03f85f46 ]
2024-07-22 16:02:01 -04:00
Julia Jiang
3c7ae28776
SWDEV-472710 - Adding gitattributes and remove trailing spaces
...
Change-Id: Ic8ad2071745f0ffe6a2e120bfebb6d90bf270f87
[ROCm/clr commit: dd30e0e893 ]
2024-07-15 12:39:56 -04:00
kjayapra-amd
41cb6dadf9
SWDEV-460948 - Changes to alloc, set, capture under single function.
...
Change-Id: I7b2d40e99e812b97c53535c5e63c41ad64a8f543
[ROCm/clr commit: 892071aeb2 ]
2024-06-06 16:57:53 -04:00
Ajay
5b731168ca
SWDEV-439581 - hip event flags clean up
...
Change-Id: I2197762d912da41a8b53b32b3446f0a958c988a6
[ROCm/clr commit: 6ec5074d74 ]
2024-05-28 06:31:10 +00:00
Tao Sang
5bf67d7da7
Revert "SWDEV-433371 - use comgr to unbundle code objects"
...
This reverts commit c0ee0ffa1c .
Reason for revert: <INSERT REASONING HERE>
New comgr unbundling action leads to perf drop for uncompressed code object. Will create a new patch to use old path for uncompressed , new unbundling api for compressed .
Change-Id: I41ef53b71fc9f7aaa8cf231d4d70945f1117db52
[ROCm/clr commit: a1350fe8c1 ]
2024-05-28 06:31:10 +00:00
taosang2
c0ee0ffa1c
SWDEV-433371 - use comgr to unbundle code objects
...
1.Make runtime use comgr to unbundle code objects
2.Support compressed/uncompressed modes
3.Remove HIP_USE_RUNTIME_UNBUNDLER and
HIPRTC_USE_RUNTIME_UNBUNDLER to simplify logics
4.Add comgr wrapper for
amd_comgr_action_info_set_bundle_entry_ids()
Change-Id: Ic41b1ad1b64cca1e31986437983a5146d52a7329
[ROCm/clr commit: e53df57ffe ]
2024-05-01 16:09:12 -04:00
Rahul Manocha
35ab01f7de
[SWDEV-442583] - Fix hipLaunchCooperativeKernel API error codes
...
Change-Id: Id3cb4b58b9efd3aceec4377d4d1d3a053c50333e
[ROCm/clr commit: 59051ed3af ]
2024-05-01 11:36:59 -04:00
Jaydeep Patel
c4239ed8e8
SWDEV-446992 - Request can be for bytes OR dptr OR both.
...
Change-Id: Ib479c744b90125b74d99cbf18b7f4b8cf765bf1c
[ROCm/clr commit: 09328f45b3 ]
2024-03-26 11:10:24 -04:00
Satyanvesh Dittakavi
15f01694f4
SWDEV-444021 - Implement hipGetFuncBySymbol
...
Change-Id: I7ef13d02c5b5c6ce2386ccb92b5602d005b35988
[ROCm/clr commit: 684fd60c8f ]
2024-03-14 02:56:30 -04:00
Jaydeep Patel
97ad1412ea
SWDEV-445539, SWDEV-445549 - Restore kernel launch prof data.
...
Issue is due to INIT_hipLaunchKernel_CB_ARGS_DATA turns out to be empty when we generate new hip_prof_str.h with since
extra space introduced by https://gerrit-git.amd.com/c/compute/ec/clr/+/846275/77/hipamd/src/hip_module.cpp#667
Change-Id: Id251956c1663483cc7ab11a3722769cb5b0d3664
[ROCm/clr commit: d1b75659f2 ]
2024-02-14 00:05:41 -05:00
Anusha GodavarthySurya
daf22604af
SWDEV-439637 - Updated to compile with clang compiler
...
Change-Id: Ib0a8e1cc007f083fb1d1f4363cf89ba76ad3c4f2
[ROCm/clr commit: a1b2cbe44e ]
2024-02-06 23:57:13 -05:00
Anusha GodavarthySurya
b10799a7e7
SWDEV-351966 - Rename hip::__hipExtModuleLaunchKernel to hip::hipExtModuleLaunchKernel
...
Change-Id: Ie922760f37bf0c9abf2653d36e32705a12ab5a90
[ROCm/clr commit: 9b6cf0f74b ]
2023-12-20 22:50:01 -05:00
Saleel Kudchadker
f969d89aa4
SWDEV-301667 - Logging refactor
...
- Remove newline from logging as log function internally inserts a new
line
Change-Id: I25eb2242a1f1e87cf811bcc373d1d485b2e027a8
[ROCm/clr commit: 058b2702db ]
2023-12-07 12:12:57 -05:00
Anusha GodavarthySurya
3bdedf0cc7
SWDEV-351966 - Dispatch table for hip runtime
...
Change-Id: Ie4a44fa8cf1ff9c152146070bbbf6b0636d4e325
[ROCm/clr commit: 5e21f0c6bd ]
2023-11-22 01:11:19 -05:00
sdashmiz
fffa6e3296
SWDEV-389530 - [ABI Break]Match error with cuda
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Id9de54b4fd1be7b6b887a4ebfcc6a3d9a70c7bc9
[ROCm/clr commit: 2d83abaca6 ]
2023-10-16 07:31:34 -04:00
Ioannis Assiouras
dda3517ead
SWDEV-425129 - Revert "SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute"
...
This reverts commit 1502016756 .
Change-Id: I02d6e77f0874fc37f22de267435917edd4fdede3
[ROCm/clr commit: bf31109241 ]
2023-10-03 11:32:19 +01:00
Ioannis Assiouras
1502016756
SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute
...
Change-Id: I9b9f7979e9b8dd422d9064c17c79a25bf7248d30
[ROCm/clr commit: c469f18e91 ]
2023-10-01 06:52:12 -04:00