Commit Graph

522 Commitit

Tekijä SHA1 Viesti Päivämäärä
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
kjayapra-amd 0bed2779aa SWDEV-276169 - Multiprocess IPC tests for Events and Memory.
Change-Id: I4a7af60e732de234a535574aa8597a7abd0b899b
2021-03-11 11:16:23 -05:00
Rahul Garg 80255c5b26 SWDEV-275204 - Bump version to 4.2
Change-Id: I0b3512591b56bd114d935c09014b44cd45547b9e
2021-03-03 23:42:21 -05:00
Sarbojit Sarkar 4af2e3d87e SWDEV-274436 - Fixed square build issue
Change-Id: If64be13be48bb7e620172ec245bc819c923f918a
2021-03-03 11:46:11 -05:00
Tao Sang b504a9bfae SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
2021-03-01 19:46:24 -05:00
kjayapra-amd 848b7e3ec0 SWDEV-274058 - Porting HIP, ROCclr gfx90a changes to mainline.
Change-Id: I02f53d4c7897d26243620cfc961fa9bd984cede4
2021-02-24 09:55:43 -05:00
Rahul Garg 760aaf86e7 SWDEV-270994 - Bump version to 4.1
Change-Id: Ibe3fcff157f9e0872852dc690ed5db8a8c248049
2021-02-19 01:59:39 -05:00
Julia Jiang 090b2829b9 SWDEV-271416 - Remove HIP_DYNAMIC_SHARED macro in hip
Change-Id: I12f39ea8438eb7ce76d8ffb2151b4faa93689048
2021-02-08 13:17:46 -05:00
Aaron En Ye Shi af6cc3c45f SWDEV-263964 - Fix hipcc --hip-device-lib-path
On Windows, there may be spaces in the directory
location. Therefore, must add quotes when adding
this path with a location in C:/Program Files/.

Change-Id: I63642093092e25a2f6ed73b55a7afd16835ac736
2021-02-03 19:41:35 +00:00
Aaron En Ye Shi 9e47efe0e6 SWDEV-263964 - Fix hipconfig to work on Windows
Modify hipconfig and hipcc to properly run Windows compiler
executables. Support Windows Environmental Variables and
AMD Display Adapter info. Update flags to include quotes for
paths that have spaces, such as Program Files.

Change-Id: Ib721b318bd88be7dfa1247a30ce78c7ed6a334e8
2021-01-25 12:53:03 -05:00
David Salinas 5f96929cf6 remove extractkernel
Change-Id: I46a380059fa336aa7553669629a21e8aa7717e7b
2021-01-15 11:34:32 -08:00
David Salinas cb859b7263 add new code object tooling: roc-obj-ls and roc-obj-extract
SWDEV-229776

Change-Id: Icb11c4552515d3eff3bcf303c4a470ab90d1dd58
2021-01-14 14:45:46 -05:00