Commit Graph

6229 Commits

Author SHA1 Message Date
Aakanksha f313c2ea80 Package hipcc binaries
(hipcc.bin and hipconfig.bin)

Change-Id: Ib13cbc5fb33ffd03c5fada46f13875bd5ac47800
2021-12-20 23:07:45 +00:00
haoyuan2 a8b30291c3 SWDEV-303956 - add make_int2/3/4 and make_float2/3/4 function support
Change-Id: I0260d1a9d2ac66e84dc31a80b0995616ef78b0fe
2021-12-15 14:57:36 -08:00
haoyuan2 937415141c SWDEV-303956 - align with CUDA to define float4 data type
Change-Id: I9ad1315e5899a8c0cf1812302b27010d88015f88
2021-12-14 15:22:43 -05:00
anusha GodavarthySurya e3585209d7 SWDEV-313856, SWDEV-313907, SWDEV-313915 - Export StreamCapture APIs, handle few graph negitive senarios, set event, parallelstreams for endcapture
Change-Id: I3c6008e1a1195cd2e1a14ef24c943ef6b54033ab
2021-12-14 05:54:13 -05:00
haoyuan2 d1a491b30b SWDEV-311585 - workaround dynamic loading functional issue in Blender
Change-Id: I815724c0bdcb712e40ec1ed11b9632fab7243f69
2021-12-10 11:52:15 -08:00
haoyuan2 981ef060fb SWDEV-290298 - add a flag to indicate the primary context active status
Change-Id: Id13d132923fcef697b689e75b6aa04060923a2ad
2021-12-09 23:32:16 -05:00
Ajay 9ed0c29bb6 SWDEV-273235 - Linux: catch2 test packaging
Change-Id: I5b4e44b367d9310a66ea70c31c3e15ad45589166
2021-12-09 17:51:25 -05:00
Satyanvesh Dittakavi f3c5f12d26 SWDEV-311744 - Update floating point max/min atomic implementation
Clang builtins doesnt yet support max/min atomics with float/double
parameters, Hence modify atomicMax/Min to use compare and swap
implementation

Change-Id: Ia351f9b136129fe25f0eddcbbb17549553247182
2021-12-07 13:29:44 -05:00
Satyanvesh Dittakavi c9532093ce SWDEV-309286 - Add check to limit host malloc upto system memory size
Change-Id: I4a0f55d6f7faa323b16d9b8fb12e876900da1bbc
2021-12-07 12:02:29 -05:00
Sarbojit Sarkar 9a51909058 SWDEV-313905 - Fix for hipLaunchCooperativeKernel crash
Change-Id: I41205171a9607962ab6b66f2ebc6f8dc9db7f158
2021-12-05 23:15:06 -05:00
Sarbojit Sarkar 9a3cb1608b SWDEV-313722 - Fix for segfault while using rocprof
Change-Id: Ia00868e058069ee73ce4a852ab2529d8f785a4b7
2021-12-05 23:14:26 -05:00
Tao Sang 5acc8b5102 SWDEV-303204 - Disable texture/image Apis on some devices
If the target device doesn't support image,
compiler will send out unavailable error if device texture apis
are called; and host texture apis will return hipErrorNotSupported.
Remove useless include/hip/amd_detail/texture_functions.h.
Add hipDeviceAttributeImageSupport attribute to check image
support in runtime.
Add __HIP_NO_IMAGE_SUPPORT(=1) macro in device code to indicate
texture apis not supported.
Change-Id: Ia891493e681a61980a2444859a90e046a9ebea39
2021-12-04 08:14:08 -05:00
haoyuan2 69117705c8 SWDEV-309292 - add hipPos definition in CUDA path
Change-Id: Ia81d5db77d7403cafb583fda8083d0f4dbe33835
2021-12-04 04:40:34 -05:00
haoyuan2 1101cfedf5 SWDEV-311856 - check if the function pointer is valid
Change-Id: Iaa5bd7f8321434ce63d0bcf2791d3c65577b453d
2021-12-04 04:40:09 -05:00
Jatin Chaudhary bf28ecb048 SWDEV-307838 - Push clang diagnostics to be ignored
Change-Id: I7487170b44994079bfe7167b6211489a0c7fef2b
2021-12-03 02:48:34 -05:00
cjatin 5b08779b25 SWDEV-307407 - Add hiprtc's type traits function to match implementation of libcxx
Change-Id: I0a10eca329f817bbe31bdc47869b2de104d12d38
2021-12-02 23:32:23 -05:00
Jatin Chaudhary 546d6c18bf SWDEV-308889 - Add HIP_INCLUDE_HIP_HIP_RUNTIME_H define to stop including hip_runtime header in hiprtc code
Change-Id: Ic8f05dcfe61195a500718122f5fbd178c9df6be8
2021-12-02 22:48:30 -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 1564f2cd77 SWDEV-306833 - Refactor HIPEvent IPC code
Change-Id: I118e41ac843d14fa3b42b4eb538c5d112dff1c03
2021-12-02 12:20:40 -05:00
sdashmiz 981125aacc SWDEV-312099 - hipsteam capture API status report fix
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Iee0bbad978f3ca89ff81e5a8583c0aa9cfcb4098
2021-12-02 11:04:00 -05:00
anusha GodavarthySurya ff00f2cea7 SWDEV-284895 - unload program object before releasing it
Change-Id: Ib10c9877043d90de8e292db319bb9def43df8061
2021-12-01 20:25:26 -05:00
anusha GodavarthySurya 671fe75c26 SWDEV-240806 - Added Implementation for hipGraphInstantiateWithFlags and hipGraphExecMemsetNodeSetParams
Change-Id: I71683abb25234bf4e73be52a717d792c32e9aaa6
2021-11-30 13:04:08 -05:00
Sarbojit Sarkar 2cbdadd037 SWDEV-310181 - Fix for hipMemcpy2DFromArray dtest failure
Change-Id: I4284cc543c5ebd5f09254d570230a25742e9dc3c
2021-11-29 22:56:09 -05:00
sdashmiz 15a6fc8a7c SWDEV-311117: graph fetch node correct behavior
Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: Ie2794bbbf2eb171240eb7125c561026edb9ac042
2021-11-29 15:14:11 -05:00
pghafari 24e984fd57 SWDEV-310292 - checking hip initialization
Change-Id: I83c9a0d511699c150abe61c3053cc4de2f7f1205
2021-11-29 14:59:19 -05:00
Sarbojit Sarkar d3c829aec2 SWDEV-313024 - added missing stream validation check
Change-Id: Iba541776b3d0975d3fa008000df12845b2fcf970
2021-11-29 00:13:35 -05:00
anusha GodavarthySurya 54259ebb4a SWDEV-308265 - Fix PCH __hipGetPCH
Change-Id: I65ba201eaa3a7d569f3be41942213cda40c7f09e
2021-11-28 23:41:46 -05:00
Jatin Chaudhary aa6538079d ROCMOPS-2659 - Add HIP_PATH to current binary directory
Change-Id: I2b91f10d620cef951c7832b2ee138f4981b40570
2021-11-26 03:31:10 -05:00
Rahul Garg 2472abf589 Revert "SWDEV-296926 - hipamd cmake file change to build hip/src"
This reverts commit 5f254dc780.

Reason for revert: Fix for SWDEV-312654

Change-Id: I45bef538273431e0dd5d85cf889a7c769c87af73
2021-11-23 12:24:38 -05:00
anusha GodavarthySurya a6bf18791e SWDEV-240808 - Added nvidia handling for few graph APIs
Change-Id: I8edee87ea75d80152418f76cc8a521b2ba58f139
2021-11-22 07:17:34 -08:00
shadi e5a8719417 SWDEV-310910-add-property-details-in-dll
Signed-off-by: shadi <shadi.dashmiz@amd.com>
Change-Id: Ifd373cbb16398416c56511148b14e9c2fe11ad9e
2021-11-22 09:50:04 -05:00
Saleel Kudchadker 0d5bc833c3 SWDEV-299893 - Set preferred node affinity
Set affinity to the node nearest to default GPU at init. Afterthat
set it to NUMA node thats nearest to whatever GPU is set with
hipSetDevice
Change-Id: I85749258ea7c25385096ffe4089a70c948f332c7

Change-Id: I99a92c922655e22955bee512073b6ac8e6ced3a2
2021-11-21 01:13:36 -05:00
anusha GodavarthySurya d2f202b116 SWDEV-240806 - Fix compilation warning
Change-Id: I1b540059b1e386bc7b6f4493226c45199542bfc3
2021-11-19 20:46:18 -05:00
anusha GodavarthySurya cfb42c1408 SWDEV-240806 - Added graph API hipGraphExecUpdate & hipGraphExecChildGraphNodeSetParams
Change-Id: Ie9c85b746846374b73194b96c7ee73d15463b894
2021-11-19 20:42:54 -05:00
Satyanvesh Dittakavi 3b157b3d5f SWDEV-304151 - Reset file descriptor after Module Load
File descriptors opened during hipModuleLoad are not closed
until hipModuleUnLoad. In large models, this exceeds the ulimit
for no. of open file descriptors causing out of resource issues.
Hence, close the file descriptors once the required data is read
from the file, and not wait until unload.

Change-Id: Ic50d424e5ca388715b1e6309a0de72a480321582
2021-11-19 12:25:59 -05:00
anusha GodavarthySurya ce58dae704 SWDEV-240806 - Added support for host graph node
Change-Id: I8b3088d34d0b4e8080b55b5da80d821c5f29d8a4
2021-11-17 01:10:18 -08:00
anusha GodavarthySurya 9c8b6b65e0 SWDEV-308983 - Fix hipGraphKernelNodeSetParams
Change-Id: I8a57a4e33048931955b7ba5ed567631703bd6c5d
2021-11-17 01:02:50 -08:00
anusha GodavarthySurya 3e2c2dfb71 SWDEV-240806 - hip stream capture handling for memory APIs
Change-Id: Ie29493cd09421175c3ce5a198f8c2c299739f997
2021-11-17 00:15:13 -08:00
anusha GodavarthySurya ec6b8d82b5 SWDEV-240806 - hipGraph performance create new graph commands for every launch
Change-Id: I7360b48055f67a91c23169ca532a19124d40e98b
2021-11-17 00:13:52 -08:00
Rahul Garg bcfac99cea SWDEV-289558 - Generate hip-config.cmake on Windows
Change-Id: I00b553bcba596e882573b99cfb6894c310cf7c2a
2021-11-15 20:58:13 -05:00
Julia Jiang 7c86f2e8d5 SWDEV-306204 - update disclaimer in hipamd
Change-Id: I8ad325e310b8aed9f6c618f0dcbf4c0a9b814a48
2021-11-12 15:35:20 -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
kjayapra-amd 2f87d24dd2 SWDEV-310194 - Return hipSuccess early if fill_size is 0.
Change-Id: I79d8c94b099d441f14f938205e007ae521649672
2021-11-09 09:28:25 -05:00
German Andryeyev 21a2fdb80a SWDEV-305016 - Check for HW event ready
Runtime can skip the marker if HW event was completed already.

Change-Id: Ie9fbc08b06b375c5586cbe1aa93922f1880608e4
2021-11-01 10:07:08 -04:00
Tao Sang 17cc99c05d SWDEV-306947 Enable hipAddressModeBorder
Enable hipAddressModeBorder.
Fix default of height of hipMallocArray().
Some code improvement.

Change-Id: I57045118e7adf915074c547cbe76349a4cfd72d8
2021-10-27 10:05:53 -04:00
cjatin aef1250a41 SWDEV-303745 - SWDEV-307757 - SWDEV-308024 - SWDEV-308834 - Find clangrt lib using find_library
Change-Id: Ia311e9f10c59f21c271e83f09fa84eb65e95105a
2021-10-27 02:08:42 -04:00
anusha GodavarthySurya 8d30df5ccf SWDEV-307915 - hipHccModuleLaunchKernel correct event timing
Change-Id: I397a3d6cf0cf8639666befb9ed7a357c6753741c
2021-10-25 21:46:46 -07:00
anusha GodavarthySurya 63c6799130 SWDEV-307642 - Fix memcpy directed tests failure
Change-Id: I7a835a5a519b35fcda813c2acc1ac3cf5d0b5f23
2021-10-26 00:15:11 -04:00
German Andryeyev 981508b2af SWDEV-303567 - Correct events for hipHccModuleLaunchKernel
Start event should be collected before the kernel launch.
End event can use the command from the kernel launch.

Change-Id: I5413c340280be680b15a44daa0c69b21ed314213
2021-10-25 16:56:37 -04:00
Ajay 5f254dc780 SWDEV-296926 - hipamd cmake file change to build hip/src
Change-Id: Ie40a8250a7843f174b322f3e179835961f4e7cac
2021-10-22 12:57:51 -04:00