提交图

560 次代码提交

作者 SHA1 备注 提交日期
Maneesh Gupta 634e465644 Bump HIP version to 5.0.0
[ROCm/hip commit: 3384fbdfe5]
2021-11-16 08:21:00 +05:30
Jatin Chaudhary 86a0af8a04 SWDEV-294226 - Add -x c++ if openmp targets are mentioned (#2363)
Change-Id: Ie15d63eebe2b0b86487ac59845b4fc7f5e5a9e86

[ROCm/hip commit: 63dfe6e8a1]
2021-09-24 16:28:25 +05:30
ansurya 5c4d687216 SWDEV-287884 - [HIP] Package versioning (#2311)
Change-Id: Icb2b9e7ed83b02e0ae38816a9a8200333b1e252d

[ROCm/hip commit: 6c9f2c1857]
2021-08-19 10:28:37 +05:30
Nagy-Egri Máté Ferenc e1cf81a992 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.

[ROCm/hip commit: 2cdf39edfd]
2021-08-19 10:27:06 +05:30
Harmen Stoppels a9ff89b3ec Fix -Wl,--rpath -> -Wl,-rpath (#2305)
[ROCm/hip commit: b248df8653]
2021-08-19 10:26:23 +05:30
Harmen Stoppels e1924a2a9b Use perl from PATH, not from absolute shebang (#2304)
[ROCm/hip commit: 526d0bf97b]
2021-08-19 10:26:03 +05:30
Rahul Garg e9c8e3dd04 SWDEV-294828 - Move roc-obj binaries from hip to hipamd
Change-Id: I2a234c46d8516737b7153594e7f978ce3247d6e8


[ROCm/hip commit: a797475e35]
2021-07-30 15:11:47 -04:00
Anusha GodavarthySurya 73a73db651 SWDEV-240806 - Added Implementation for few more graph APIs
Change-Id: I1e443cf1b4e3a1e85f6fb9c1db8fdfa7c1fdfe06


[ROCm/hip commit: 6e7ea5b612]
2021-07-14 01:58:03 -04:00
agunashe a4ff63a29b SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2


[ROCm/hip commit: d529637fbc]
2021-07-07 12:57:23 -04:00
Sarbojit Sarkar 9e9b89c4c3 SWDEV-292449 - Bump version to 4.3
Change-Id: Ia425cdf0d9c030894a180fda5a786240e19dcbcc


[ROCm/hip commit: 341de7b12e]
2021-06-26 05:53:45 -04:00
Aaron En Ye Shi 26f834670a 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


[ROCm/hip commit: a6d568b9ca]
2021-06-18 18:54:37 +00:00
Nick Curtis a30fbde2c9 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


[ROCm/hip commit: 6d20ee19c7]
2021-06-14 04:20:45 -04:00
Scott Linder 78202d5c79 SWDEV-229776 - Add bin/roc-obj
Change-Id: If4449d7c47b72e437aaca71ae64ea37d202e2b18


[ROCm/hip commit: 17c3469cf6]
2021-06-11 16:29:20 -04:00
Sarbojit Sarkar d8f9985842 SWDEV-285459 - fix for rpath vs runpath
Change-Id: I5919b7af09f1ee4dbeaf74090d8a84ab430987fb


[ROCm/hip commit: 571eea5059]
2021-06-11 00:44:42 -04:00
Arya.Rafii c83c166620 SWDEV-290228 - Adding support for path with white spaces in the name
Change-Id: I84a4235f6246c72d182c744174b5a2b1eb9ad9a7


[ROCm/hip commit: 408486d6d0]
2021-06-10 14:00:47 -04:00
Rahul Garg 4cd9afebe9 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


[ROCm/hip commit: ce76ec8b88]
2021-06-07 00:07:24 +00:00
Aaron En Ye Shi 37f4d20410 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


[ROCm/hip commit: b982637965]
2021-06-04 13:58:32 -04:00
Vladislav Sytchenko d9348d9b63 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


[ROCm/hip commit: 30f1fcaf53]
2021-05-27 15:21:05 -04:00
Anusha GodavarthySurya f7e3259123 SWDEV-288065 - allow hipcc to recognize .C files
Change-Id: I0ec884eb6e083e823cf27ca1251c354a7f3b744c


[ROCm/hip commit: 093af3cf25]
2021-05-26 10:25:57 -07:00
Jatin Chaudhary e01445a69d SWDEV-277697 - Make sure hipcc can handle standard CXX options when being used with nvcc
Change-Id: I76b1f2943a660eefda858397218a775083b99228


[ROCm/hip commit: a4c9db8e17]
2021-05-25 07:35:02 -04:00
Aaron En Ye Shi 06e0e6be13 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


[ROCm/hip commit: ad570e3b99]
2021-05-20 20:24:55 +00:00
cjatin 032c98880b SWDEV-285685 - Make sure the output of hipconfig is without quotes on linux
Change-Id: I620cd41c7e6087b0d3d7da9ef7f9cecaf2f740ba


[ROCm/hip commit: 0d146dd9b8]
2021-05-17 20:50:36 +05:30
Aaron En Ye Shi bb65b865c6 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


[ROCm/hip commit: 4dedd2436d]
2021-05-14 10:20:38 -04:00
Jatin Chaudhary f8c8e4b502 SWDEV-283959 - Make hipcc recognize -xc -xc++ -xhip options and add CXX flags when user mentiones filetype as -x hip
Change-Id: I737fba3db77eef21eb88ccf648b4134218249456


[ROCm/hip commit: 6c01fb7ab8]
2021-04-30 04:58:07 -04:00
cjatin b664ce3985 SWDEV-277903 - Add HIP_ROCCLR_HOME under HIP_PLATFORM==amd
Change-Id: I00e156eb0a51f505300e288af59a0cf39b606e26


[ROCm/hip commit: a717608f93]
2021-04-29 03:08:34 -04:00
Rahul Garg 60547b8830 SWDEV-280672 - Support HIP_PLATFORM=hcc in hipcc with warning
Change-Id: I6b199ea5ebed828a7f82c20d50fdf0fcfb887a64


[ROCm/hip commit: 3ef911cb14]
2021-04-27 19:53:56 -04:00
Jatin Chaudhary e533ae97b1 SWDEV-278810 - Remove default addition of CXX Flags if file type is not recognized
Change-Id: I2b29f246d138b511d77f8e78f273795b4977313f


[ROCm/hip commit: e2425ba34d]
2021-03-30 00:47:56 -04:00
kjayapra-amd b8e5485f00 SWDEV-276169 - Multiprocess IPC tests for Events and Memory.
Change-Id: I4a7af60e732de234a535574aa8597a7abd0b899b


[ROCm/hip commit: 0bed2779aa]
2021-03-11 11:16:23 -05:00
Rahul Garg bdffb689c1 SWDEV-275204 - Bump version to 4.2
Change-Id: I0b3512591b56bd114d935c09014b44cd45547b9e


[ROCm/hip commit: 80255c5b26]
2021-03-03 23:42:21 -05:00
Sarbojit Sarkar c05b2659a6 SWDEV-274436 - Fixed square build issue
Change-Id: If64be13be48bb7e620172ec245bc819c923f918a


[ROCm/hip commit: 4af2e3d87e]
2021-03-03 11:46:11 -05:00
Tao Sang ec1f689600 SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe


[ROCm/hip commit: b504a9bfae]
2021-03-01 19:46:24 -05:00
kjayapra-amd 54e273fa87 SWDEV-274058 - Porting HIP, ROCclr gfx90a changes to mainline.
Change-Id: I02f53d4c7897d26243620cfc961fa9bd984cede4


[ROCm/hip commit: 848b7e3ec0]
2021-02-24 09:55:43 -05:00
Rahul Garg 85ead22dca SWDEV-270994 - Bump version to 4.1
Change-Id: Ibe3fcff157f9e0872852dc690ed5db8a8c248049


[ROCm/hip commit: 760aaf86e7]
2021-02-19 01:59:39 -05:00
Julia Jiang ef396373ec SWDEV-271416 - Remove HIP_DYNAMIC_SHARED macro in hip
Change-Id: I12f39ea8438eb7ce76d8ffb2151b4faa93689048


[ROCm/hip commit: 090b2829b9]
2021-02-08 13:17:46 -05:00
Aaron En Ye Shi f88ea1299e 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


[ROCm/hip commit: af6cc3c45f]
2021-02-03 19:41:35 +00:00
Aaron En Ye Shi 7dd6fcd1ae 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


[ROCm/hip commit: 9e47efe0e6]
2021-01-25 12:53:03 -05:00
David Salinas 7f580a29b0 remove extractkernel
Change-Id: I46a380059fa336aa7553669629a21e8aa7717e7b


[ROCm/hip commit: 5f96929cf6]
2021-01-15 11:34:32 -08:00
David Salinas e7073fc17c add new code object tooling: roc-obj-ls and roc-obj-extract
SWDEV-229776

Change-Id: Icb11c4552515d3eff3bcf303c4a470ab90d1dd58


[ROCm/hip commit: cb859b7263]
2021-01-14 14:45:46 -05:00
Tao Sang 118c6ba23e Fix building mathlibs failure
Add back
__HIP_PLATFORM_HCC__
__HIP_PLATFORM_NVCC__

Change-Id: I1ae48678eafd849d6c25bcb204c1724b026be22f


[ROCm/hip commit: 59ef7dc9e2]
2021-01-14 14:03:15 -05:00
Icarus Sparry d234e6a9a1 Allow for /usr/bin/hipcc to be a symlink
SWDEV-267206

If /usr/bin/hipcc is a symlink then resolve it first, and then find
the resulting directory rather than resolving /usr/bin.

Change-Id: I380728ffa05ed813cc793a1d6488aaae81ddbda8


[ROCm/hip commit: 24c8e5a348]
2021-01-11 00:50:20 -05:00
Tao Sang 2820f91c90 Remove hip-hcc codes: Part four
Remove __HCC__, __HCC_ONLY__, __HCC_CPP__, __HCC_C__,
__HCC_OR_HIP_CLANG__, __HIP_ROCclr__ and their guarded codes.

Remove Hcc codes from directed_tests and samples.

Remove __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__ from
some files where they are not necessary.

Add deprecation notice.

Change-Id: I1ae467eafd749d6c25bca204c1724b026be21fce


[ROCm/hip commit: b34dd95124]
2021-01-08 10:53:34 -05:00
Tao Sang c618b6aeff Remove hip-hcc codes: Part three
1.Rename include/hip/hcc_detail/ as include/hip/amd_detail/

2.Rename include/hip/nvcc_detail/ as include/hip/nvidia_detail/

3.Create __HIP_PLATFORM_AMD__ to replace __HIP_PLATFORM_HCC__

4.Create __HIP_PLATFORM_NVIDIA__ to replace __HIP_PLATFORM_NVCC__

After hcc_detail, nvcc_detail, __HIP_PLATFORM_HCC__ and __HIP_PLATFORM_NVCC__
have been removed from upstream, they will be removed from hip runtime.

Change-Id: I1ae457effd739d6c25bca203c1724b026be21fce


[ROCm/hip commit: c2adc70d4d]
2021-01-05 10:39:31 -05:00
agodavar e0368a2fba SWDEV-239065 Refactor hipcc, added new perl module hipvars
Change-Id: I2b71ceb2563501c7b2861cd0f2e23d01207b1bc2


[ROCm/hip commit: 547473126e]
2020-12-31 05:41:36 -05:00
agodavar b2af7b1be4 SWDEV-265171 Remove hcc compiler support from hipcc
Change-Id: Ibd06e68dd1f079b2f9e46606bdbfc0a0a780b638


[ROCm/hip commit: ee1d7a339a]
2020-12-30 06:26:09 -05:00
Tao Sang 5d94d2ee98 Remove hip-hcc codes: Part one
Remove hip-hcc codes from hip code base
Simplify hip CMakeLists.txt to exclude hip-hcc
Simplify cmake cmd for hip-rocclr building
Some minor fixes

Change-Id: I1ae357ecfd638d6c25bca293c1724b026be21ecd


[ROCm/hip commit: 186f95ea30]
2020-12-09 15:49:47 -05:00
Jatin Chaudhary faa98ed4b9 Adding -Wl,@response_file and @response_file mechanism to hipcc
Change-Id: Ic2053a38034b9366cf82fc01b7ea6b52e0f17077


[ROCm/hip commit: 1242375bf9]
2020-12-07 13:38:35 -05:00
Jatin Chaudhary 092d5e5bf7 Adding -x hip/c/none after each input file, this should allow compilations like 'hipcc a.cc b.o c.c'
Change-Id: If35571c0f8ff8bf51aebd793fc0c81c0e418ca5c


[ROCm/hip commit: 7d40a13245]
2020-11-19 02:04:33 -05:00
Yaxun (Sam) Liu 91950fbf62 Fix embedding PCH
Change-Id: Ibaf043c9e331f15965185cd4195da98d9441cba3


[ROCm/hip commit: b7f66b634a]
2020-11-18 00:56:42 -05:00
agodavar ead59333f5 SWDEV-249870: Generate Pre-Compiled Headers from includes in source repo for Online Compilation
Change-Id: I663f510603e983927f80f7944df4d039ba7bc0b0


[ROCm/hip commit: bf0b75baed]
2020-11-12 10:50:33 -05:00
Konstantin Zhuravlyov 20390689ff SWDEV-198415 - Implement Target ID Proposal
Changes from Jatin Chaudhary, Tony Tye

Change-Id: I14904920ad2356ae2098cf827b83613089d33962


[ROCm/hip commit: c4beefe00b]
2020-11-10 13:31:43 -05:00