Граф коммитов

533 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta 4f8106dac2 Bump HIP version to 5.3 2022-05-26 21:58:09 +05:30
ROCm CI Service Account 5e6f4ba06d SWDEV-335125 - Windows: path for lld-link (#2681)
Change-Id: I499ef11e2b6811d97c06bc804d65fac9fc2429b2
2022-05-17 14:54:10 -07:00
ROCm CI Service Account 0e9f6ac717 SWDEV-335125 - to use clang lld-link inplace of dk link or MSVC link (#2671)
Change-Id: Iad217e1fe06827ac3a5a6fad4f3fe61a49ff96b7
2022-05-06 10:14:38 -07:00
agunashe 042c5ee5e6 Revert "SWDEV-326661 - hipcc/hipconfig to use return value from pl scripts, disabling deviceLib. (#2584)" (#2625)
This reverts commit 3cccb105f6.
2022-04-14 12:14:35 +05:30
ROCm CI Service Account 7b8ac4cc7a SWDEV-314946 - Windows: adding properties to hip tests exe (#2620)
Change-Id: I3bac668345e3168f8a2b2772bf8ca422430803d8
2022-04-13 10:26:25 -07:00
ROCm CI Service Account 3cccb105f6 SWDEV-326661 - hipcc/hipconfig to use return value from pl scripts. (#2584)
On Windows build failures were ignored becasue hipcc script ignored the output of hipcc.pl
Also disables catch2 deviceLib testset on Windows due to linking issue.
This makes sure that we have a baseline of no build failures on Windows

Change-Id: I007a2a47e69ce1ae69e5569bbef4c63a636110ee
2022-04-01 05:38:23 +05:30
ROCm CI Service Account a296100da7 SWDEV-291455 - File Reorganization with backward compatibility (#2555)
Related changes for HIP installation in /opt/rocm
Setting HIP_PATH and ROCM_PATH
Setting INTERFACE directories

Depends-On: If70b61020fa3ee85bf49171c842837da05191a48
Change-Id: I30adccf7e6241dae12270156602d4b033ea99d93
2022-03-17 15:35:13 -07:00
ROCm CI Service Account cb0a5b3b53 SWDEV-324823 - Stop passing -fhip-new-launch-api (#2532)
Stop passing this flag to Clang since it's already the default option

Change-Id: I164f973603dcc2bf02a29939a02af1e0413729b5
2022-03-11 15:27:33 +05:30
Maneesh Gupta 02c1f8748d Bump HIP version to 5.2 2022-03-11 10:29:11 +05:30
agunashe e2ae92502c SWDEV-313590 - appending rocmpath at the end of rpath after rebase (#2526) 2022-03-08 16:08:25 -08:00
agunashe 46d9f76702 SWDEV-1 - hipcc/hipconfig path detection in bat file (#2488)
Change-Id: I075148087bc07b5044a3360f1636d07372b16a1d
2022-02-24 18:59:18 +05:30
Maneesh Gupta 15cf839904 Bump HIP version to 5.1 2022-02-18 07:24:18 +05:30
Konstantin Zhuravlyov c447b392d7 SWDEV-314372 - Refactor hipcc and hipconfig scripts (#2476)
* SWDEV-314372 - Refactor hipcc and hipconfig scripts

- Rename original hipcc to hipcc.pl
- Rename original hipconfig to hipconfig.pl
- New hipcc to invoke either hipcc.pl or hipcc.bin based on env var
- New hipconfig to invoke either hipconfig.pl or hipconfig.bin based on env var

* SWDEV-314372 - Add executable permissions to hipcc and hipconfig
2022-02-10 09:33:01 -08:00
agunashe ffe3f9cf81 SWDEV-273235 - hip change to build catch tests on Windows (#2472)
* SWDEV-273235 - hip change to build catch tests on Windows

Change-Id: I96de305694609c669cb81480f3572d987ce87d98

* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
2022-02-09 08:17:45 -08:00
Maneesh Gupta ee16f95c77 SWDEV-320978 - Revert "SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation (#2438)" (#2469)
This reverts commit 9799a0278a.
2022-02-04 09:52:41 -08:00
agunashe 9799a0278a SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation (#2438)
Change-Id: I9bd339b1cbeac54b9905a00a71849a441694d0ff
2022-01-13 10:03:58 +05:30
Maneesh Gupta df2e7fa198 Bump HIP version to 5.0 (#2435) 2021-12-13 13:56:55 +05:30
Maneesh Gupta cddb52549b SWDEV-314299 - chomp HIP_CLANG_TARGET
HIP_CLANG_TARGET can contain newline. chomp it to avoid warnings since we use the result in file stat
2021-12-08 17:02:31 +05:30
agunashe 0cd18226a6 SWDEV-309909 - gitbash windows detection (#2415)
Change-Id: I5cca12c25b9a1b4a8b7b077f586715c4a4feb5e9
2021-11-26 04:49:12 +05:30
Aakanksha Patil 6902f11835 SWDEV-309659 - Delete duplicate files - hipify-perl and helper scripts (#2403)
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md
2021-11-25 15:12:09 +05:30
Sarbojit2019 a6f49b27db SWDEV-304211 - Removed known targets from hipcc (#2388) 2021-11-25 15:09:36 +05:30
Jatin Chaudhary 5d57c55c4a SWDEV-303745 - Add new path of clangrt lib (#2385)
Change-Id: I3bfe28ac5c50884653187d733a466e661ff32f7d
2021-11-25 15:09:00 +05:30
Maneesh Gupta 26dc58d72a Revert HIP version back to 4.4.0 2021-11-24 11:06:31 +05:30
Maneesh Gupta 3384fbdfe5 Bump HIP version to 5.0.0 2021-11-16 08:21:00 +05:30
Jatin Chaudhary 63dfe6e8a1 SWDEV-294226 - Add -x c++ if openmp targets are mentioned (#2363)
Change-Id: Ie15d63eebe2b0b86487ac59845b4fc7f5e5a9e86
2021-09-24 16:28:25 +05:30
ansurya 6c9f2c1857 SWDEV-287884 - [HIP] Package versioning (#2311)
Change-Id: Icb2b9e7ed83b02e0ae38816a9a8200333b1e252d
2021-08-19 10:28:37 +05:30
Nagy-Egri Máté Ferenc 2cdf39edfd Fix nvcc hipconfig (#2307)
hipconfig tries printing the version of nvcc assumed to be on the PATH, not the one that actually gets picked up.
2021-08-19 10:27:06 +05:30
Harmen Stoppels b248df8653 Fix -Wl,--rpath -> -Wl,-rpath (#2305) 2021-08-19 10:26:23 +05:30
Harmen Stoppels 526d0bf97b Use perl from PATH, not from absolute shebang (#2304) 2021-08-19 10:26:03 +05:30
Rahul Garg a797475e35 SWDEV-294828 - Move roc-obj binaries from hip to hipamd
Change-Id: I2a234c46d8516737b7153594e7f978ce3247d6e8
2021-07-30 15:11:47 -04:00
Anusha GodavarthySurya 6e7ea5b612 SWDEV-240806 - Added Implementation for few more graph APIs
Change-Id: I1e443cf1b4e3a1e85f6fb9c1db8fdfa7c1fdfe06
2021-07-14 01:58:03 -04:00
agunashe d529637fbc SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2
2021-07-07 12:57:23 -04:00
Sarbojit Sarkar 341de7b12e SWDEV-292449 - Bump version to 4.3
Change-Id: Ia425cdf0d9c030894a180fda5a786240e19dcbcc
2021-06-26 05:53:45 -04:00
Aaron En Ye Shi a6d568b9ca SWDEV-291481 - Port hipcc.bat and hipconfig.bat
Add the hipcc.bat and hipconfig.bat files previously
only residing in P4 to CMake builds. Ship this .bat
file as part of bin directory on Windows.

Change-Id: I2822e1419f1f6a0a6cdde9e292231995a83df77d
2021-06-18 18:54:37 +00:00
Nick Curtis 6d20ee19c7 SWDEV-290252 - Fix for incorrect call to ar in mixed shared / static link
Corrects an invalid call to 'ar', which results in link failures for mixed shared
and static link invocations using hipcc.

Change-Id: I51c33438106af066a13e5ff9533721cdc326790d
2021-06-14 04:20:45 -04:00
Scott Linder 17c3469cf6 SWDEV-229776 - Add bin/roc-obj
Change-Id: If4449d7c47b72e437aaca71ae64ea37d202e2b18
2021-06-11 16:29:20 -04:00
Sarbojit Sarkar 571eea5059 SWDEV-285459 - fix for rpath vs runpath
Change-Id: I5919b7af09f1ee4dbeaf74090d8a84ab430987fb
2021-06-11 00:44:42 -04:00
Arya.Rafii 408486d6d0 SWDEV-290228 - Adding support for path with white spaces in the name
Change-Id: I84a4235f6246c72d182c744174b5a2b1eb9ad9a7
2021-06-10 14:00:47 -04:00
Rahul Garg ce76ec8b88 SWDEV-288707 - Merge HIP refactored code to staging
These changes move-
- rocclr based implementation inside src/hipamd/src
- platform specific (both nvidia and amd) headers inside
src/hipamd/include/hip

Change-Id: Ia29791a727244952591fe1d813dcef0303b73a9e
2021-06-07 00:07:24 +00:00
Aaron En Ye Shi b982637965 SWDEV-283266 - Fix hipRTC script bugs
Remove extra -isystem causing --cuda-device-only flag
to be dropped. Fix missing __hipRTC_header_size symbol.
Add macros which were consumed during pre-processor
generation. Add INT_MAX and CHAR_BIT macros used in
HIP headers.

Change-Id: Id5143e3c8a2b1e7c78658ba84d5ab3b55ac1fa72
2021-06-04 13:58:32 -04:00
Vladislav Sytchenko 30f1fcaf53 SWDEV-273235 - Initial support for Windows CMake
This change is tied to the ROCclr cmake rework. ROCclr will now be built
as part of HIP itself.

All the dependencies on comgr and rocr have been moved into ROCclr
itself. This allows HIP to pull in all the required compiler/runtime
dependencies by simply linking against ROCclr. Note that ROCclr needs to
be configured from HIP cmake command line. If not, we will default to
LC + ROCr support.

Since HIP depends on ROCclr and ROCclr depends on OpenCL, HIP will
transitevly pull in all the required OpenCL headers. No need to keep a
local copy of them anymore.

Change-Id: Ib39f4929e88da1248be962490c150b10fc7abd3a
2021-05-27 15:21:05 -04:00
Anusha GodavarthySurya 093af3cf25 SWDEV-288065 - allow hipcc to recognize .C files
Change-Id: I0ec884eb6e083e823cf27ca1251c354a7f3b744c
2021-05-26 10:25:57 -07:00
Jatin Chaudhary a4c9db8e17 SWDEV-277697 - Make sure hipcc can handle standard CXX options when being used with nvcc
Change-Id: I76b1f2943a660eefda858397218a775083b99228
2021-05-25 07:35:02 -04:00
Aaron En Ye Shi ad570e3b99 SWDEV-283266 - Fix hipRTC mcin missing symbol
Add back the .type directive needed for ELF
format to add the section to symbol table.
For COFF format the symbol is already added
to the symbol table.

Change-Id: I4920e8dae0af23b4dcabd324b47abc228fcab10f
2021-05-20 20:24:55 +00:00
cjatin 0d146dd9b8 SWDEV-285685 - Make sure the output of hipconfig is without quotes on linux
Change-Id: I620cd41c7e6087b0d3d7da9ef7f9cecaf2f740ba
2021-05-17 20:50:36 +05:30
Aaron En Ye Shi 4dedd2436d SWDEV-283266 - Add hiprtc option to generate preprocessor expansion
Add -r/--generate_rtc option to hip_embed_pch.sh to generate the
preprocessor expansion output of the HIP headers for hipRTC mode.
Generates an object hiprtc_header.o and shared library libhiprtc.so
which can be used for hipRTC online compilations. Enable
__HIP_ENABLE_RTC by default in the CMake files.

Change-Id: Ief51b695c9b31941d929e06f16872f95eea3619b
2021-05-14 10:20:38 -04:00
Jatin Chaudhary 6c01fb7ab8 SWDEV-283959 - Make hipcc recognize -xc -xc++ -xhip options and add CXX flags when user mentiones filetype as -x hip
Change-Id: I737fba3db77eef21eb88ccf648b4134218249456
2021-04-30 04:58:07 -04:00
cjatin a717608f93 SWDEV-277903 - Add HIP_ROCCLR_HOME under HIP_PLATFORM==amd
Change-Id: I00e156eb0a51f505300e288af59a0cf39b606e26
2021-04-29 03:08:34 -04:00
Rahul Garg 3ef911cb14 SWDEV-280672 - Support HIP_PLATFORM=hcc in hipcc with warning
Change-Id: I6b199ea5ebed828a7f82c20d50fdf0fcfb887a64
2021-04-27 19:53:56 -04:00
Jatin Chaudhary e2425ba34d SWDEV-278810 - Remove default addition of CXX Flags if file type is not recognized
Change-Id: I2b29f246d138b511d77f8e78f273795b4977313f
2021-03-30 00:47:56 -04:00