Graphe des révisions

6318 Révisions

Auteur SHA1 Message Date
Satyanvesh Dittakavi be8dbcf736 SWDEV-375607 - Fix hipGraphExecUpdate behavior
Addresses the below scenarios like parameters mismatch
in memcopy node, difference in the count of nodes, difference
in the dependencies of the nodes.

Change-Id: I31c6516fb27cc1007809f1b50306fdb0c2356ccc


[ROCm/clr commit: f16d336e32]
2023-09-21 11:17:49 -04:00
Satyanvesh Dittakavi 78a3dc739d SWDEV-395996 - Add HIPRTC support for missing hip headers
hip headers such as hip_math_constants.h, library_types.h,
hip_common.h, channel_descriptor.h, device_functions.h, hip_complex.h,
hip_texture_types.h, math_functions.h, surface_types.h
are added in HIPRTC

Change-Id: I4a4c198449ceb609c3ff55e00b43056c1f085431


[ROCm/clr commit: d7d0f11318]
2023-09-21 03:11:06 -04:00
Ioannis Assiouras 7d69dd7598 SWDEV-416741 - Improve logging in find_package(hip)
Change-Id: Iaaaa595c668e5a8e977c9d2d31beca481748f637


[ROCm/clr commit: 5e51335ef6]
2023-09-18 19:10:38 -04:00
Ajay c9c3d951f2 SWDEV-421102 - make clr compatible with c++20
Change-Id: Ia692817232caa3ee97dc0b2139645a0474b582e1


[ROCm/clr commit: 2bae1b1387]
2023-09-18 11:28:29 -04:00
David Salinas f1325c1adf SWDEV-421615 - Correct required perl modules
Change-Id: I4e7e19e666042c0e8bfdb0ae0bfb2fc8d3ffa565


[ROCm/clr commit: bf88980e0a]
2023-09-15 11:46:48 -04:00
kjayapra-amd 22bc3d52a3 SWDEV-417244 - Create Unique File Desc Store and guarantee no duplicates fds are opened.
Change-Id: I7be7fee52b673f0b1b3facdfbd847b57f2a47cde


[ROCm/clr commit: 85b645731c]
2023-09-13 17:03:18 -04:00
Jaydeep Patel 5b450d5551 SWDEV-418038 - Drop GPU_ENABLE_WAVE32_MODE from RTC.
Change-Id: Iac11f26714e8b3bae14cbf69933ef7c8c8be47da


[ROCm/clr commit: a37c95d7ed]
2023-09-08 02:13:41 -04:00
Anusha GodavarthySurya f464a6ade6 SWDEV-301667 - Optimize performance when graph has single branch
Three for loops iterate over all graph nodes for UpdateStream, FillCommands and
EnqueueCommands has performance drop for large graphs.

Change-Id: I077accf3a4680d5d944b73200fd6498a7a48f25c


[ROCm/clr commit: 530dc6de2a]
2023-09-07 23:35:36 -04:00
Ioannis Assiouras a0ee7e2784 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


[ROCm/clr commit: 315082e554]
2023-09-07 12:57:46 -04:00
German 5d9912f48b SWDEV-407533 - [ABI Break]Remove Wavelimiter
Change-Id: I6a2f6fb5a0c3acea93fa0200a69679783e76f5bd


[ROCm/clr commit: 7be3a5e33e]
2023-09-07 09:58:41 -04:00
David Salinas 4963cb0b77 SWDEV-419396 - hipcc.bin.exe and hipconfig.bin.exe missing from build
Correct HIPAMD cmake file for finding/instaling hipcc.bin

Change-Id: I3aa56331615fa81a489464210a9be734e917aa47


[ROCm/clr commit: e1efdfbca1]
2023-09-06 10:55:54 -04:00
Ioannis Assiouras 0066c6cb6b SWDEV-420222 - Removed implementation of hipMemcpyArray functions
hipMemcpyArrayToArray, hipMemcpyFromArrayAsync, and hipMemcpyToArrayAsync
are deprecated in cuda and are missing the headers in hip_runtime_api.h.
Removed their implementation from hip_memory.cpp.

Change-Id: I9720aec6241515c56c66b7e90a37b2ed53347eb2


[ROCm/clr commit: 2bc6661737]
2023-09-04 13:35:08 +01:00
Rahul Garg 87bbe33acd SWDEV-418360 - Continue parsing modules even when some module don't have
right binaries built for current device

Change-Id: Icc6a4233fbcede9b2dc6feb78e6bfbd761684c7f


[ROCm/clr commit: c9cf3bdc16]
2023-08-31 14:54:59 -04:00
Ioannis Assiouras f28fa0277e SWDEV-415937 - Make _IMPORT_PREFIX in hip*targets.cmake point to a relative path
Change-Id: Ib0f4321f2954254d0486d741d057f182cb2481a7


[ROCm/clr commit: 209525d6e4]
2023-08-31 08:10:50 -04:00
kjayapra-amd 76cc68ff80 SWDEV-381625 - Parse compiler and linker options from environment variable.
Change-Id: Id5a012b678e5973c4b64dff84444a909aefae006


[ROCm/clr commit: 6a0f80a03d]
2023-08-29 20:24:27 -04:00
Jaydeep Patel 6258f8254f SWDEV-375596 - Device context should not be changed while graph exec update for graph nodes other than empty and host node.
Change-Id: I89d734b111aae5b042386175d2786ce9002771b9


[ROCm/clr commit: d2655d84fd]
2023-08-27 22:58:32 -04:00
Jatin Chaudhary 98b3f79d45 SWDEV-418230 - fix warning seen in HIP headers
This PR fixes warning seen on HIP headers due to -Wignored-attributes.
The warning is attributes for a variable must precede definition.
This also fixes a potential issue with C-style header where templates
were declared outside __cplusplus.

Change-Id: I78bfd391717c7891afb442ef79812ea630c0ff49


[ROCm/clr commit: 8fe5100d16]
2023-08-24 08:41:08 -04:00
Saleel Kudchadker d7a63b9d66 SWDEV-301667 - Port optimization to save extra packet to graphs
Change-Id: Ibaf64a4efe070c42620e6e153c1862a4a0b15664


[ROCm/clr commit: e1e5d071ba]
2023-08-23 16:58:21 -04:00
Jatin Chaudhary 105212ef57 SWDEV-414425 - __half2's member variable should be __half instead of unsigned short
We currently have __half2 made up of unsigned short instead of __half.
This prevents users to do operation seamlessly when they want to operate on individual components.

Change-Id: I856917db905f68055fdf484f526707fe8ea3117d


[ROCm/clr commit: 19afdf719e]
2023-08-22 04:25:19 -04:00
Satyanvesh Dittakavi bee336d360 SWDEV-416443 - hipPointerGetAttributes should return correct type for managed memory
Change-Id: Ic197cd8c9d3f5405616ed6e4924ed5577e636b94


[ROCm/clr commit: 84eae1f0a9]
2023-08-21 07:47:32 -04:00
Vikram 5588dc0583 SWDEV-417558 - Fix dynamic linker error caused by SWDEV-378651 fix
Seems the windows linker error seen with https://gerrit-git.amd.com/c/compute/ec/clr/+/886078
also exists for linux, but only appears with dynamic linker. This fixes both usecases.

Change-Id: I1bb6df151eb1e09f75af4d461ead28bcbaa5f236


[ROCm/clr commit: 62464ca4c3]
2023-08-18 02:21:14 -04:00
Anusha GodavarthySurya b25939b4de SWDEV-415772, SWDEV-414682 - Fix childgraph node execution
Change-Id: If9ffc08d98a57b8daa5f131f72ef1bf2317f29e1


[ROCm/clr commit: f76a40c26d]
2023-08-18 00:45:00 -04:00
David Salinas 8130c99cdc Correct HIPAMD cmake file to install hipcc.bin
Change-Id: Ie90dddbcebba29d4c06cf1485581c9742dd1ad70


[ROCm/clr commit: b00e6fe89e]
2023-08-15 11:51:02 -04:00
Vikram 41ee2ee689 SWDEV-378651 - add proper wavefrontsize link time option to hipRTC, in accordance with env variable GPU_ENABLE_WAVE32_MODE
This is a copy of http://gerrit-git.amd.com/c/compute/ec/hipamd/+/841299
Raising this here again since hipamd repo is frozen.

Change-Id: I8722ef55f78a9176e131fd5766fb11101b51f1b5


[ROCm/clr commit: cec579c006]
2023-08-15 00:12:31 -04:00
taosang2 c4bc05f0d0 SWDEV-408843 - Fix vulkan_interop failure
Fix runtime issues found in  vulkan_interop test

Change-Id: I32c9bed861ddf4fe1d7bba21dce9bd720168c399


[ROCm/clr commit: d2cfb86ddc]
2023-08-11 10:13:56 -04:00
kjayapra-amd 73facd3425 SWDEV-416262 - Adding missing AMD headers on hip files.
Change-Id: I45531004e57c664df5ce4275a49f07ebbad08b7f


[ROCm/clr commit: f2c07d9bc2]
2023-08-11 10:00:23 -04:00
taosang2 088704abeb SWDEV-415029 - [ABI Break] Remove hcc symbols
Change-Id: Ic0082d3960aadbb7ac559141b6e84bd29a75b5cd


[ROCm/clr commit: 051e1005f4]
2023-08-10 21:21:01 -04:00
kjayapra-amd 6b628eca2e SWDEV-416218 - Set the image mapped flag correctly on COMGR path.
Change-Id: I6c0908731f10c8ff5b3e159c0cfb68ce096c7bdf


[ROCm/clr commit: d18f4b1ad4]
2023-08-10 15:52:30 -04:00
Satyanvesh Dittakavi c97dd090f0 SWDEV-415439 - Address segfault issues with hiprtcLinkCreate
Change-Id: I5c5898a9d0afadc344ae2fafc371e9ed647cec6e


[ROCm/clr commit: 8ee985a67b]
2023-08-10 08:28:11 -04:00
Jaydeep Patel 60e169c0a2 SWDEV-415421 - End is relative to start and so no need to offset.
Change-Id: Icd65227d9879d9ee4e0bd2795f112b4d5e8c8e9e


[ROCm/clr commit: 34d071c767]
2023-08-10 00:41:01 -04:00
Ranjith Ramakrishnan 9ee9052513 SWDEV-413429 - Removed the dependency of hip-dev/devel package to hipcc
Change-Id: Ic3505be69e6c484ac05580a7e58d9e3e5c1c8c80


[ROCm/clr commit: 5671badef9]
2023-08-09 12:30:49 -04:00
Ioannis Assiouras 31a85017bb SWDEV-415849 - Revert "SWDEV-386448 - Remove setting of HIP_CLANG_ROOT, HIP_PATH and ROCM_PATH in hip-config.cmake"
This reverts commit 41fe945a7a.

HIP_PATH is still needed on windows as amd_build.py injects
depedency to HIP_PATH variable in hip-targets.cmake

Change-Id: I57d9aff3e8046a7381affaf5adc5b130d5702190


[ROCm/clr commit: 5262693da0]
2023-08-08 18:11:19 -04:00
Ranjith Ramakrishnan d665a115e2 SWDEV-366827 - Disable file reorg backward compatibility support by default
Change-Id: Ifb0e3ea1a2217e287498efc26369596209be8c93


[ROCm/clr commit: 03ad34a6c6]
2023-08-08 13:32:17 -04:00
Rakesh Roy b3e340eb5d 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


[ROCm/clr commit: 76c8b3157b]
2023-08-08 00:41:54 -04:00
David Salinas 7792716dcf SWDEV-404809 - hip packages shouldn't depend in non-default perl modules
Change-Id: I30829a735dd6a6f1d5780578e30701e3f8d3394a


[ROCm/clr commit: c1126fc727]
2023-08-04 12:34:44 -04:00
Satyanvesh Dittakavi 54c3576dd1 Github-3225 - Fix hip on cuda build issue with -default-stream=per-thread
Change-Id: I0485891c265617c213964f4130e90fbca9d801d4


[ROCm/clr commit: ee3714e916]
2023-08-04 06:15:47 -04:00
Ioannis Assiouras 14f3d8bcd6 SWDEV-414194 - Make hip-lang available on nvidia platform
Change-Id: Ic0082d3960aadbb7ac559140b6e84bd29a75b5cb


[ROCm/clr commit: 97403db468]
2023-08-02 05:19:34 -04:00
Maneesh Gupta e45838a25c Revert "SWDEV-389530 - [ABI Break]Match error with cuda"
This reverts commit 2b78a9c443.

Change-Id: I07aac68c76b3bc42b595330fdbbb04646b35a814


[ROCm/clr commit: 76a4bd1d7f]
2023-07-31 21:41:54 -04:00
Maneesh Gupta 045ec1919e Revert "SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName"
This reverts commit 20add33513.

Change-Id: Ia7b9ca115be4f9591b195194eed967fc6c330012


[ROCm/clr commit: 8c89d16572]
2023-07-31 21:41:12 -04:00
Ioannis Assiouras 62573a3ec4 SWDEV-414482 - Remove cmake_minimum_required from hip-config.cmake
It currently sets an old cmake version that gives warnings with
recent versions of cmake and it is something that should not be
dictated by the config file but instead be set at the app level.

Change-Id: I3584159cafeb0bf3f6ae4929ac062dc11b3658a5


[ROCm/clr commit: 683c041a73]
2023-07-31 14:34:01 +01:00
Jaydeep Patel 5b51ca53f4 SWDEV-412993 - As origin is passed with start, region should be end.
Change-Id: I7077484d4d8c302fb2f2714cb68c15ba5173eae3


[ROCm/clr commit: a28a5a9a38]
2023-07-28 12:56:53 -04:00
Ioannis Assiouras b8b8ae323a SWDEV-404865 - Remove unused macro definitions from hip-lang-config.cmake
Change-Id: I726884d81b9cd83355f0f26306dca04256b82a4a


[ROCm/clr commit: 9b78869e64]
2023-07-28 12:27:53 -04:00
Ioannis Assiouras 41fe945a7a SWDEV-386448 - Remove setting of HIP_CLANG_ROOT, HIP_PATH and ROCM_PATH in hip-config.cmake
Change-Id: I232d9078087483606fe30176092fb05743919ac8


[ROCm/clr commit: 24f1368ad3]
2023-07-28 11:54:45 +01:00
sdashmiz 2b78a9c443 SWDEV-389530 - [ABI Break]Match error with cuda
- match error for invalid params

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I2faf1191f665d8bd06d6ba315f440e87b1a5b8ab


[ROCm/clr commit: c7d8557eee]
2023-07-26 20:32:41 -04:00
kjayapra-amd 5a35c345d1 SWDEV-408889 - Add the logging message back that will print devices without COs from Bundle.
Change-Id: Ie6f95d5e9bafe6c3db192419e4d8829053cc8b65


[ROCm/clr commit: 3a2615f5aa]
2023-07-26 17:47:52 -04:00
Anusha GodavarthySurya d8022cd081 SWDEV-407568 - Move graph implementation to hip namespace
Change-Id: I7023f202a7e3eb25b17db6d3e361205594ae81a5


[ROCm/clr commit: fd97dde1e6]
2023-07-26 06:52:45 +00:00
Jatin Chaudhary 20add33513 SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName
Change-Id: I4b31284243a801f92f0be9468c25db7d027d9a13


[ROCm/clr commit: f136a576f5]
2023-07-25 02:51:29 -04:00
Jatin Chaudhary dfc4d60ec4 SWDEV-412457 - remove unused header, add correct header for cpp
Change-Id: I2192daec7c033e94097c26db6177e14558a8728d


[ROCm/clr commit: b67d055eb6]
2023-07-21 11:30:59 -04:00
Ajay eaed05a860 SWDEV-411709 - rename .hipVersion to version. Fix path to share/hip
Change-Id: Ic7ec170f2fc6e3197d9a37b28dfc1d0b9611954b


[ROCm/clr commit: 2205684f6c]
2023-07-21 11:04:41 -04:00
Ioannis Assiouras 62b3d8f59b SWDEV-412496 - treat USE_PROF_API to always be true
Change-Id: I77cfac409215a33d11228a0f2da9ffba63c3d73a


[ROCm/clr commit: cb7776ef07]
2023-07-21 04:42:57 -04:00