نمودار کامیت

59 کامیت‌ها

مولف SHA1 پیام تاریخ
Jacob Lambert 1171518b97 SWDEV-380857 - Remove space in "Linker Program" used to set Comgr object name
Not a required change, but it does make dealing with temporary files generated
by Comgr easier.

Change-Id: I9c43138dd2a6c4fea965b57fbce7a087ab2bbd28
2023-05-30 13:47:26 -04:00
Jacob Lambert 283dd8352d SWDEV-371628 - Remove now-redundant Comgr devlib call from hipRTC
Because hipRTC is now using the newer
AMD_COMGR_COMPILE_SOURCE_WITH_DEVICE_LIBS_TO_BC, and now that this
action has been fixed for HIP compilations in Comgr, hipRTC no
longer needs separate Comgr call to link in the device libs.

Change-Id: Ibf9024cbaaab825584566e8d0b5fce60d7063dd8
2023-05-23 18:34:59 -04:00
Satyanvesh Dittakavi c98fad1edc SWDEV-399851 - Add template overload for ToString in HIPRTC
HIPRTC_INIT_API can have nullptr in the arguments and ClPrint
can crash while printing

Change-Id: Iecade5c3867196509c8cc0647b9aa24be0960a02
2023-05-16 14:21:19 +00:00
Jatin Chaudhary 8753db5446 SWDEV-384013 - Print link options being passed to compiler with AMD_LOG_LEVEL
Change-Id: I556ed434587cff07a634796da51dcbb9ae78ef21
2023-05-15 15:52:04 -04:00
Jacob Lambert b17056cb93 SWDEV-380857 - Fix bug when reading bitcode file into vector<char> buffer
The previous implementation using std::copy() resulted in
differences between the in-memory and on-disk representations.
With the updated implementation, we get the same contents.

Change-Id: Iadfae3cd7f7ba99538da2ac4f11f30f5a78260d8
2023-05-08 16:25:01 -04:00
kjayapra-amd f14e8a2dba SWDEV-393910 - Port gfx94x changes to mainline.
Change-Id: Ibf727223bbe5230b132b47c39e0fc1d87cbd3b9c
2023-05-05 15:16:23 -04:00
Ioannis Assiouras d88f0358b0 SWDEV-397356: Move HIP_API_PRINT after HIP_INIT so that the begin function call gets printed
Change-Id: I99b655596741c19bc483647794ae8b4f6e6f2843
2023-05-04 18:46:21 -04:00
Satyanvesh Dittakavi a3104c60e1 SWDEV-393060 - Address directed tests build failures with CLR
Change-Id: I76b93ee073d21ec5fae0db5a129ada89f750855d
2023-04-14 03:53:51 -04:00
Jaydeep Patel 0f975e6e93 SWDEV-390439 - SWDEV-387997 - Delete array.
Change-Id: Ica20b005f5db7f4ed65c5ebc51959392671fe320
2023-04-05 16:37:39 +00:00
Jatin Chaudhary 300ba5b1f1 SWDEV-384013 - Add HIPRTC_JIT_IR_TO_ISA_OPT_EXT
Change-Id: Icfc06c19af32f41d603bf880ab1927bffb391097
2023-04-05 10:52:48 +00:00
Anusha GodavarthySurya 9b84e05427 SWDEV-386102 - Handle code object v5
Change-Id: I47b840f484d90ca7815fb9c8af959ceaac62cf70
2023-03-09 00:19:25 -05:00
Satyanvesh Dittakavi a8c2375fe1 SWDEV-384714 - Add hipRTC support for amd_hip_fp16
Change-Id: Ib6e2b46908d740909dfc15253965590f496a7068
2023-03-01 06:57:57 -05:00
Konstantin Zhuravlyov caf7551dd7 SWDEV-1 - Add missing gpu cases in getProcName
Change-Id: I16103ab213cc70f388690df85e6a03e7a408384d
2023-02-17 15:55:09 -05:00
Satyanvesh Dittakavi 99556449b6 SWDEV-370552 - Correct the HIPRTC behavior to optimize the ISA only once
Change-Id: Idaf0ea8294657db3666e9548deb6a9629e0ee718
2023-02-09 11:55:41 -05:00
Satyanvesh Dittakavi 0ccd41050b SWDEV-372396 - Address the errors in hiprtc headers with -Werror
Change-Id: Ied553216dfc2ff8b5c72de617cb47b6ca8f52063
2023-01-23 17:25:42 +00:00
Satyanvesh Dittakavi 842b9d0b56 SWDEV-373231 - Support hip atomics header with HIPRTC
Change-Id: Ic500dfb66ed5ef0c4b672dfd0595409d0e8caaf5
2023-01-17 00:31:07 -05:00
Jacob Lambert 7dd54c746e SWDEV-356171 - Adding support for name lowering for bitcodes (-fgpu-rdc) via
Comgr mangled name fetching APIs

Change-Id: I10ce2b1288c459e3e61218d68a270aba2148376e
2023-01-09 14:49:51 -05:00
Juan Manuel MARTINEZ CAAMAÑO 537df06c4f SWDEV-290384 - Missing hiprtcResult case in hiprtcGetErrorString
Change-Id: I11d18ff19f6f6f1b36febf87a586bc9ffb95af10
2023-01-06 03:38:44 -05:00
Satyanvesh Dittakavi 516acd4e60 SWDEV-375020 - Revert "SWDEV-370552 - Improve hiprtc performance by passing the right flags to comgr"
This reverts commit 627e689ad7.

Reason: Adding "-Xclang" and "-disable-llvm-passes" in hiprtc
compilation seem to cause perf issues and memory fault in few apps.

Change-Id: I12ff46293c7b7afb24d570351736d884d2881b77
2023-01-06 00:09:06 -05:00
Satyanvesh Dittakavi 627e689ad7 SWDEV-370552 - Improve hiprtc performance by passing the right flags to comgr
Change-Id: I99674b033d1248d9b34ac598b4780bd84a38c279
2022-12-19 06:16:56 -05:00
kjayapra-amd 2f8847bfbd SWDEV-363865 - Use COMGR path to unbundle code object in HIPRTC.
Change-Id: Ifca29ea0c6ff319c3f584397e542a1658d220c4a
2022-12-15 07:16:55 -05:00
Jacob Lambert 2835ff1a63 SWDEV-322000 - Removing scoped locks in code regions with Comgr calls
Comgr now internally locks to avoid multi-threading issues with LLVM

Change-Id: I74b903d373af55c2efade17a9caf31fda3ca1795
2022-12-14 12:40:45 -05:00
Satyanvesh Dittakavi 91291e48db SWDEV-372032 - Support cooperative groups header with HIPRTC
Change-Id: Ia64652fd52b210a4eeee9d38fdfdfa6fdc7163ff
2022-12-09 04:45:59 -05:00
Satyanvesh Dittakavi 88270b34f2 SWDEV-366306 - SWDEV-366314 - Add hip vector types and hip bfloat16 to HIPRTC cmake
Change-Id: If4213c3ca9446afe931c6b111c220033987e0204
2022-12-09 04:43:51 -05:00
Satyanvesh Dittakavi 450d0941ca SWDEV-370841 - Correct the devicelibs library bitcode used by hiprtc
Change-Id: I1f2ab9ca4ab2947f42e101c37bb3e6a046e32d5b
2022-12-01 12:00:36 -05:00
Maneesh Gupta fab70a41ed Revert "SWDEV-330775 - Update search path for LLVM"
This reverts commit 3d15f9cbda.

Reason for revert: SWDEV-368704

Change-Id: I8c38b4f40285f90f7d99145b970c2a14d051d5bb
2022-11-22 09:14:24 -05:00
Siu Chi Chan 3d15f9cbda SWDEV-330775 - Update search path for LLVM
ROCm's LLVM will be moved into /opt/rocm-<ver>/lib/, teach hipcc and
hipconfig about the new location.

Change-Id: Ie7f17146771aff94c684deb22148226cbb3a2895
2022-11-14 13:31:07 -05:00
kjayapra-amd cc9427e969 SWDEV-356947 - Create a new thread if current thread is nullptr.
Change-Id: Iebd69f22284041ed450d583471d24cb82fb0e47a
2022-11-10 22:12:02 -05:00
Satyanvesh Dittakavi 1155dbda1e SWDEV-364545 - Fix hiprtc cmake target on Windows
Change-Id: I360d0d1ee7f6a0c65a4d6cd07620bfa2a503c19f
2022-11-10 01:23:42 -05:00
kjayapra-amd 1b902e1809 SWDEV-355727 - Change in AMDGCN format in bitcode.
Change-Id: Ic32a3e7b866b35a321d8ececc2f6c63f9b23121d
2022-10-13 14:19:03 -04:00
Rakesh Roy 8b391ef18c SWDEV-351969 - TLS Optimization
- Aggregate all TLS(Thread Local Storage) variables into a single class
- This is to improve cache accesses per thread

Change-Id: Ic8361eaeae290fff00254684e309471958365eb9
2022-10-09 22:08:14 -04:00
Satyanvesh Dittakavi b425e27230 SWDEV-357250 - hiprtc support with AMD_LOG_LEVEL when linked as separate library
Change-Id: Ieda83af85a9344b4e09d4fe85acc65386db79c39
2022-09-23 05:50:07 -04:00
kjayapra-amd d870bdb9b1 SWDEV-355727 - Added more rules to target ID comparison in hiprtc.
Change-Id: I56137375c3eb47dd604c7a02bb88f7e3dbe6c04d
2022-09-21 12:18:13 -04:00
Maneesh Gupta 8e10332ff1 Revert "SWDEV-339488 - Address HIPRT tests failure with spaces in the include path"
This reverts commit 89355fb586.

Change-Id: I10f91ec0205cd4276b141aade5728fdc20030195
2022-09-13 23:06:23 -04:00
Satyanvesh Dittakavi b7716825c8 SWDEV-344342 - hiprtc-config-version.cmake should be generated in build directory
Change-Id: I7becaa64873c5e8ba95e814421c1f700a0997a8b
2022-09-05 00:05:18 -04:00
Satyanvesh Dittakavi 89355fb586 SWDEV-339488 - Address HIPRT tests failure with spaces in the include path
Change-Id: Ic9ed57e44fcfdf82a0d066483bc73e1d59c39e30
2022-08-26 06:47:56 -04:00
Satyanvesh Dittakavi ab112eaf1d SWDEV-344342 - Expose hiprtc target via cmake config interface
Change-Id: I1f19c4792665b078c2799c0c3c9e2d5b28c906de
2022-08-25 00:29:23 -04:00
Ranjith Ramakrishnan ba04f95771 SWDEV-353137 - Fix for incorrect library path for hiprtc
Hiprtc related libraries are duplicated when installed from build directory
This happens when cmake install libdir is set with lib64 as default and using hard code path "lib" for LIBRARY_DESTINATION
Replaced "lib" with cmake install libdir
Removed the default setting of libdir in source code and its should be controlled via build argument

Change-Id: Icac55eac9427a5088903d01942e6bfd5263a6fc0
2022-08-23 12:19:06 -04:00
kjayapra-amd f15016227b SWDEV-351609 - Updating the right structure with file info.
Change-Id: Ia4e1195df0669450162b2df4de50197ff27cfcae
2022-08-22 21:54:35 -04:00
Satyanvesh Dittakavi 651f333140 SWDEV-336448 - Load comgr versioned dll in hiprtc
Change-Id: I9c966ac6e3beae707d732e4bf84f88457d6265de
2022-08-19 00:38:08 -04:00
kjayapra-amd 9e9754be80 SWDEV-351508 - Change the data_kind to BC from FATBIN, since unbundling happens in runtime now.
Change-Id: Iaf6e85637edaa92171edc4edc650a0b4598bf625
2022-08-12 19:52:29 -04:00
Satyanvesh Dittakavi c33a6b4a03 SWDEV-350479 - Add missing hiprtcVersion symbol on Windows
Change-Id: Ifcb737adddade80ebe91a50812c96c585d7d3217
2022-08-09 03:15:12 -04:00
Satyanvesh Dittakavi 9299d5febb SWDEV-336448 - hiprtc dll versioning on windows
Change-Id: I6ab6f975bcd7cd2fb27d59d0860a6dbe8434970e
2022-08-09 00:50:21 -04:00
kjayapra-amd 4bba4faa0c SWDEV-346018 - Support unbundling of code object in runtime for hiprtc.
Change-Id: Idda30def999b28500738c7b48560d36ca6a8e730
2022-08-03 17:57:29 -04:00
Satyanvesh Dittakavi 958b97b433 SWDEV-2 - Fix hiprtcCompileProgram
- hiprtcCompileProgram should create isa with temp name when
  program name is not provided along with --save-temps option

Change-Id: I47974e2ac56336c851531622ff7d2a3ffb53455e
2022-08-02 16:16:31 -04:00
Satyanvesh Dittakavi ee27685ac4 SWDEV-340226 - SWDEV-340692 - Fix minor issues with hiprtc Link APIs
- hiprtcAddLinkData should accept 0 or null as input name
- hiprtcLinkCreate should accept 0 or null as options ptr
- hiprtcCompile should send -fgpu-rdc option to comgr if its present in the options

Change-Id: I84f6e36df5c99b719ee9c67dfc1b4dbcfd8e3172
2022-07-22 07:23:26 -04:00
Satyanvesh Dittakavi b263ab3248 SWDEV-341360 - Handle named expressions with space in hipRTC
Change-Id: I1c26855d8a94e0a4d818664ca71094c6992221c9
2022-06-22 14:19:16 +00:00
kjayapra-amd 2731d03f03 SWDEV-339995 - Adding hiprtcGetBitcode and hiprtcBitcodeSize changes.
Change-Id: I378f1ac98de3b11fa3f74161abd036702c7b479b
2022-06-22 04:17:56 -04:00
Satyanvesh Dittakavi a39ab85e04 SWDEV-340226 - hiprtcLinkAddData should allow empty name
Change-Id: I2c9a53453223ee4899b0a5d05e1097bc7e0e428e
2022-06-22 04:15:32 -04:00
kjayapra-amd 5d385fa0e2 SWDEV-340226 - Fixing conversion to void* from size_t instead of size_t*.
Change-Id: Ib7e083395d4fbbe2a6f3012fce5b268e108ad62a
2022-06-21 06:28:06 -04:00