German Andryeyev
45a12208b6
SWDEV-507019 - Change the function lock to the module lock
...
Multiple functions can be located in the same module.
Change-Id: Ia4ca3db64fe5b0822584059d3770c91103665c63
2025-01-09 12:35:29 -05:00
German Andryeyev
0640d36019
SWDEV-504658 - Reduce the lock scope for kernel look-up
...
The vector with all kernels is preallocated on the executable init.
Thus, reduce the scope of global lock to the binary creation only.
Change-Id: I73035013a6562175069137e895bba815f466ee35
2024-12-18 17:04:51 -05:00
Rahul Manocha
a2d8199402
SWDEV-494409 - Fix destructor path for Static and Dynamic CO
...
1) For Dynamic CO variables, free the device pointer in
DynCO destructor instead of DeviceVar destructor.
2) For Static CO Remove Fatbinary,
only call hipFree for valid device Vars instead of all devices.
Change-Id: I84291f5371b2c05d1d0bcdb4f9c6bd122e7c9b21
2024-11-19 13:04:44 -05:00
Ioannis Assiouras
1a710dabcf
SWDEV-496003 - Add support for dynamic functions in hipFuncSetAttribute
...
Modified hipFuncSetAttribute to handle pointers to dynamic functions
returned by hipModuleGetFunction.
Change-Id: I54b98f9d31a79630dd7edcd363fad81f1d89219b
2024-11-19 04:50:15 -05:00
Jaydeep Patel
c24bc05cac
SWDEV-491409 - Handle DynCO path to delete DeviceVars.
...
Change-Id: I757185e9c7c12f236e266219b67daf5836d2a122
2024-11-04 01:52:26 -05:00
Jaydeep Patel
164cbcc531
SWDEV-487905 - device_ptr_ is being removed and its amd:Memory obj is being deleted during ihipFree in hip::StatCO::removeFatBinary.
...
Change-Id: I89d9fdeb53dc4ce0699f1f445a28486917a36e72
2024-10-08 03:38:15 -04:00
Ajay
c9955a1cea
SWDEV-465215 - hipFuncSetAttribute hipFuncGetAttributes fixes
...
Change-Id: I2151e4470d63918ff6b809a8fdeaae5bea5cc899
2024-09-13 14:05:25 -04:00
kjayapra-amd
8a715ba58c
SWDEV-446959 - Check fatbinaryinfo for nullptr and return hipErrorInvalidDevice.
...
Change-Id: Iabc0d8b66ddf73a92e67dd469f1a8bc0b54b9309
2024-02-23 14:45:43 -06:00
German
68d442f29a
SWDEV-430809 - Replace hipErrorSharedObjectInitFailed vs hipErrorNoBinaryForGpu
...
hipErrorSharedObjectInitFailed should be used for interop objects.
Change-Id: Id3bcffaac3b511021f2fd57e9b156a897b646db0
2023-12-14 10:35:10 -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
kjayapra-amd
f2c07d9bc2
SWDEV-416262 - Adding missing AMD headers on hip files.
...
Change-Id: I45531004e57c664df5ce4275a49f07ebbad08b7f
2023-08-11 10:00:23 -04:00
Rakesh Roy
76c8b3157b
SWDEV-415265 - Fix segfault when library isn't built with current GPU arch
...
- Return error code instead of segfault during kernel launch when library isn't built with current gpu arch
- Fix string print bug
Change-Id: I91aaa50150fee220317cd2eb4e075d825cc448b2
2023-08-08 00:41:54 -04:00
kjayapra-amd
7f41a96ffb
SWDEV-378006 - Adding a new guarantee macro to support printing args.
...
Change-Id: I2083ddaf8058759bdace7d3bb1e8e3670cbeddd2
2023-05-03 12:43:16 -04: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
Ajay
b380a95597
SWDEV-348678 - hipManagedVar to initialize on all devices
...
Change-Id: Id714b56e89e4930ee067f3a7472a0029057d2711
2022-08-10 16:54:19 +00:00
Satyanvesh Dittakavi
a9935b3257
SWDEV-329802 - Refactor PCH to generate the right warp size on Navi GPUs
...
Change-Id: I817de9c858c152fee1f586303372820066a09dc9
2022-07-22 05:49:59 -04:00
Saleel Kudchadker
086aee0fcb
SWDEV-301667 - Fix build warnings
...
Change-Id: Ice23b3d1a19a7958ca5c3caff34db2934b361a98
2022-03-02 20:49:18 -05:00
Satyanvesh Dittakavi
6e562f4d83
SWDEV-306940 - Fix hipamd errors/warnings found by CppCheck
...
Change-Id: Ia93d4f5262ea4269d8031edbfd27033b887e5300
2022-02-05 08:42:47 -05:00
anusha GodavarthySurya
e90cb3b07b
SWDEV-305766 - Added new debug APIs to get build information
...
Change-Id: Ibbf0c010cd8f7e6e659f2c4ba932cc8436574431
2021-12-02 12:20:51 -05:00
anusha GodavarthySurya
54259ebb4a
SWDEV-308265 - Fix PCH __hipGetPCH
...
Change-Id: I65ba201eaa3a7d569f3be41942213cda40c7f09e
2021-11-28 23:41:46 -05:00
kjayapra-amd
7145c500b3
SWDEV-298434 - Delete texture references resources before deleting the ptr.
...
Change-Id: Ib616aadd45eced1b10891c908e986bbeddc08288
2021-11-12 11:20:47 -05:00
Julia Jiang
8835b897d5
SWDEV-286322 - Remove execution permission
...
Change-Id: I96e603fc8d407c3a76fa1053bad81e45744b59ad
2021-08-05 14:04:06 -04:00
Rahul Garg
19c84bc604
ROCMOPS-1956 - Push restructured code to hipamd
...
hipamd will have AMD's ROCCLR based HIP backend implementation
Change-Id: Id7de9634519b4ce46fca71a1b61f3d5b1e3fc459
2021-06-07 21:42:44 +00:00