taosang2
e53df57ffe
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
2024-05-01 16:09:12 -04:00
Rahul Manocha
59051ed3af
[SWDEV-442583] - Fix hipLaunchCooperativeKernel API error codes
...
Change-Id: Id3cb4b58b9efd3aceec4377d4d1d3a053c50333e
2024-05-01 11:36:59 -04:00
Jaydeep Patel
09328f45b3
SWDEV-446992 - Request can be for bytes OR dptr OR both.
...
Change-Id: Ib479c744b90125b74d99cbf18b7f4b8cf765bf1c
2024-03-26 11:10:24 -04:00
Satyanvesh Dittakavi
684fd60c8f
SWDEV-444021 - Implement hipGetFuncBySymbol
...
Change-Id: I7ef13d02c5b5c6ce2386ccb92b5602d005b35988
2024-03-14 02:56:30 -04:00
Jaydeep Patel
d1b75659f2
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
2024-02-14 00:05:41 -05:00
Anusha GodavarthySurya
a1b2cbe44e
SWDEV-439637 - Updated to compile with clang compiler
...
Change-Id: Ib0a8e1cc007f083fb1d1f4363cf89ba76ad3c4f2
2024-02-06 23:57:13 -05:00
Anusha GodavarthySurya
9b6cf0f74b
SWDEV-351966 - Rename hip::__hipExtModuleLaunchKernel to hip::hipExtModuleLaunchKernel
...
Change-Id: Ie922760f37bf0c9abf2653d36e32705a12ab5a90
2023-12-20 22:50:01 -05:00
Saleel Kudchadker
058b2702db
SWDEV-301667 - Logging refactor
...
- Remove newline from logging as log function internally inserts a new
line
Change-Id: I25eb2242a1f1e87cf811bcc373d1d485b2e027a8
2023-12-07 12:12:57 -05:00
Anusha GodavarthySurya
5e21f0c6bd
SWDEV-351966 - Dispatch table for hip runtime
...
Change-Id: Ie4a44fa8cf1ff9c152146070bbbf6b0636d4e325
2023-11-22 01:11:19 -05:00
sdashmiz
2d83abaca6
SWDEV-389530 - [ABI Break]Match error with cuda
...
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: Id9de54b4fd1be7b6b887a4ebfcc6a3d9a70c7bc9
2023-10-16 07:31:34 -04:00
Ioannis Assiouras
bf31109241
SWDEV-425129 - Revert "SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute"
...
This reverts commit c469f18e91 .
Change-Id: I02d6e77f0874fc37f22de267435917edd4fdede3
2023-10-03 11:32:19 +01:00
Ioannis Assiouras
c469f18e91
SWDEV-420822 - [ABI Break] Merge hipFunction_attribute into hipFuncAttribute
...
Change-Id: I9b9f7979e9b8dd422d9064c17c79a25bf7248d30
2023-10-01 06:52:12 -04:00
pghafari
96f41fad07
SWDEV-369567 - [ABI Break] updating gridY and Z max dimension check
...
Change-Id: If515fda4938d3c5f455a02b4a65adaad76dc0aed
2023-09-22 04:52:27 -04:00
Ioannis Assiouras
fe2d747bcc
SWDEV-401489 - [ABI Break] Removed hipModuleLaunchKernelExt
...
Change-Id: I0b31d9db755f8a89ead203dbd238a93c18b76855
2023-09-21 23:50:16 -04:00
Ioannis Assiouras
315082e554
SWDEV-419996 - Allow both kernelParams and extra arguments to be set to null
...
When kernel function expects no parameters no error should be returned
if both kernelParams and extra arguments are set to null.
Change-Id: I5941bcc400b6fb380e623bdae0233ae3e4f73815
2023-09-07 12:57:46 -04:00
Maneesh Gupta
76a4bd1d7f
Revert "SWDEV-389530 - [ABI Break]Match error with cuda"
...
This reverts commit c7d8557eee .
Change-Id: I07aac68c76b3bc42b595330fdbbb04646b35a814
2023-07-31 21:41:54 -04:00
sdashmiz
c7d8557eee
SWDEV-389530 - [ABI Break]Match error with cuda
...
- match error for invalid params
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com >
Change-Id: I2faf1191f665d8bd06d6ba315f440e87b1a5b8ab
2023-07-26 20:32:41 -04:00
pghafari
9e08ecdd16
SWDEV-406821 - use int32 for grid y,z till rocm 6
...
Change-Id: If9eee4dd5553cc81e283cb2211cc69884808d5c1
2023-06-22 09:42:00 -04:00
pghafari
fb82b292c2
SWDEV-399734, SWDEV-399733 - update maxGridDim for y and z
...
Change-Id: Id5b1dd2491798dd20a0672362f445ab4de164f6d
2023-05-17 19:03:04 -04:00
pghafari
31b362bf6e
SWDEV-369567 - dimension check update
...
Change-Id: I31deb5070d4852db7dd6d37f9a514965f387698e
2023-05-02 08:04:04 -04:00
German Andryeyev
e82eecf33e
SWDEV-231145 - Add a validation for uniform launch
...
Change-Id: I68d61690c50060d9dcca117b248dddf69204a23f
2023-04-18 12:56:09 -04:00
German Andryeyev
73698479a9
SWDEV-382359 - Workaround a non-uniform launch in MIOpen
...
Change-Id: I0abff25fb20143225739e771c4d3bae5c2a054b9
2023-04-18 11:36:10 -04:00
Ioannis Assiouras
e6520ddf8a
SWDEV-388278 - Fix return HIP_RETURN(x)
...
Change-Id: I940ee3660a2427eade8690a9318966fb04a1fbe8
2023-03-13 13:32:55 +00:00
Saleel Kudchadker
7fc5ae2226
SWDEV-364604 - Add support for hipEventDisableSystemFence
...
Change-Id: I1a6451c873fb22729ac61e4e80f8531251e990f0
2023-02-21 23:11:40 -05:00
Ioannis Assiouras
e3633dc8f4
SWDEV-381402 - Derive hip::Stream from amd::HostQueue
...
Change-Id: I6c1aca5eb350c32d974ae4ffcc725705355956d8
2023-02-21 18:12:03 -05:00
victzhan
d6a08403d8
SWDEV-376995 - Fixed misplaced checking
...
Change-Id: Ia3bddabfa7fc76066541fb81723136ae6cffb0a4
2023-02-17 13:34:51 -05:00
victzhan
4e324a9c63
SWDEV-376995 - Added if statement so that when AQL dispatch failed it returns corresponding hip error instead of hipSuccess
...
Change-Id: I0724fbcf0833c5dd8b2e4d6e443b3e226046dddf
2023-02-14 14:30:50 -05:00
Jaydeep Patel
01c3299425
SWDEV-379395 - Use getQueue as it handles null stream and flags can be combination.
...
Change-Id: If37854a9fc0fc57acb30e652953a7f283831cad8
2023-02-01 12:03:42 -05:00
pghafari
2e60edbe0e
SWDEV-369570 - MaxSharedMemoryPerBloc check
...
Change-Id: I74d216a5d9316758bb611eb241ba85222194ce8b
2023-01-17 07:52:15 -05:00
Ioannis Assiouras
0d2e0d1621
SWDEV-374403 - Added input sanity checks for hipLaunchCooperativeKernelMultiDevice and hipExtLaunchMultiKernelMultiDevice
...
Change-Id: Iebef5ae68439d87549fdf9559de51c6c79c64392
2023-01-13 19:48:42 -05:00
Rakesh Roy
b321e2afc6
SWDEV-368881 - Implement hipModuleLaunchCooperative* APIs
...
- Add implementation for hipModuleLaunchCooperativeKernel, hipModuleLaunchCooperativeKernelMultiDevice APIs
Change-Id: I2a80264e458549211c34b413397a08b57d021147
2023-01-10 13:50:20 -05:00
pghafari
2c906460cb
SWDEV-369580 - hipModuleGetTexRef matching cuda
...
Change-Id: I3f071fe0b289c0ba8316c691f066f47d12b156b5
2022-12-27 13:58:26 -05:00
Anusha GodavarthySurya
707ca92a80
SWDEV-373147 - Return error when getDeviceKernel returns nullptr
...
Change-Id: Ie9fcaa2bff87cb8ef363dc7e8362b74b8725b3b6
2022-12-21 22:14:10 -05:00
Ioannis Assiouras
b83271b4ca
SWDEV-374402 - Added check for invalid events in hipExtLaunchKernel
...
Change-Id: I8dfd69aa1ef38971a72b98c723d2099347a66d11
2022-12-21 12:37:12 -05:00
Ioannis Assiouras
f4f377bcaa
SWDEV-374402 - Added input stream check for hipExtLaunchKernel
...
Change-Id: I42915c3b9b10b4a4a5b3ae74b6a2dccc8fddbf7f
2022-12-20 14:29:58 -05:00
Ioannis Assiouras
97c5f772c6
SWDEV-374400, SWDEV-374404 - Change error message in hipFuncGetAttribute(s) to match nvidia.
...
Change-Id: I95b69a49ced24115f0aebc288ea067a49b770aca
2022-12-20 12:49:17 -05:00
pghafari
3b143cf3a2
SWDEV-369575, SWDEV-369568, SWDEV-369574 - matching
...
matching cuda return value
hipModuleLaunchKernel and hipExtModuleLaunchKernel matching with cuda in
negative cases
Change-Id: I636070924c81116dccbfa74f693061c60530de45
2022-12-20 12:24:23 -05:00
pghafari
c0f779fdf1
SWDEV-369576, SWDEV-369578, SWDEV-369577, SWDEV-369579, SWDEV-369563 - matching cuda return value
...
SWDEV-369576, SWDEV-369578, SWDEV-369579, SWDEV-369563 - matching cuda return value
Change-Id: I21b598e959571979307238c485492eb7fe2388cc
2022-12-16 01:12:49 -05:00
pghafari
698f52acd8
SWDEV-369566, SWDEV-369565, SWDEV-369564 - match with cuda return
...
Change-Id: I308f5344a64e5a06aa89685de9348f6722c196da
2022-12-12 09:53:18 -05:00
Ioannis Assiouras
6847427dd4
SWDEV-369572 - Check for valid stream before capture
...
Change-Id: I712ce136327ad459a048d84d1caeec506ed1cc39
2022-12-05 22:09:07 +00:00
Rakesh Roy
4f5d180ca7
SWDEV-368881 - Revert enable hipLaunchCooperativeKernel for hipRTC compiled function
...
This reverts commit b4d8586a11 .
Reason for revert: Doesn't match with CUDA behavior
Change-Id: I413f3d241f864c1e7c21681c5fff8f216ef54306
2022-11-30 03:58:29 -05:00
Rakesh Roy
b4d8586a11
SWDEV-368881 - Enable hipLaunchCooperativeKernel for hipRTC compiled function
...
- Add helper function to validate whether a dynamic function is present or not
- If getStatFunc fails, then check whether the function passed is a valid dynamic function
Change-Id: I4141172f42dce7ff689709560c483e602b5dad4b
2022-11-29 00:35:43 -05:00
Satyanvesh Dittakavi
30d6497953
SWDEV-363369 - Elapsed time needs only stop event timings if both start and stop events are recorded
...
Change-Id: I91c9ce79aacf1014ae77600d1250cfccd9dd6039
2022-11-09 00:31:06 -05:00
Anusha GodavarthySurya
0a3e89c0cb
SWDEV-356314 - Init managed vars on device kernel is launched
...
Change-Id: I9c30b7d0e2a490dbb2bd9c02dccaae17d76874ef
2022-10-11 00:18:30 -04:00
Saleel Kudchadker
df278887fe
SWDEV-301667 - Pass all params to API Init
...
- Correct return for ihipLaunchKernel
Change-Id: I66e81fa635473e6e728936e4cfba9f1bc7f018ad
2022-09-15 22:20:02 -07:00
Anusha Godavarthy Surya
2b322a9087
SWDEV-354717 - Add support for hipExtLaunchKernel as part of stream capture
...
Change-Id: I22708923f454a0f4456ff99d25559daffe08c208
2022-09-01 05:02:20 +00:00
Anusha Godavarthy Surya
c72942964d
SWDEV-352951 - Add capture support for hipModuleLaunchKernel
...
Change-Id: Iced0846c9f753ecbb87e3f7aec2bfd72137d8c00
2022-08-31 22:15:02 -04:00
Anusha Godavarthy Surya
0d6e8e378e
SWDEV-350474 - Added hipExtModuleLaunchKernel API support as part of stream capture
...
Change-Id: I90a880ae0d3a85a0cc8380d2cb21e4759ea8151b
2022-08-24 11:20:22 -04:00
Ajay
b380a95597
SWDEV-348678 - hipManagedVar to initialize on all devices
...
Change-Id: Id714b56e89e4930ee067f3a7472a0029057d2711
2022-08-10 16:54:19 +00:00
Sourabh Betigeri
5549c8cd1b
SWDEV-318237 SWDEV-330173 - Fixes kernel parameter corruption when multiple nodes of the same kernelNode exist
...
Change-Id: I6437593be46b7b5afc3d77cdd887ad4139978ad3
2022-06-14 18:06:21 -04:00