Commit graph

68 Commits

Autor SHA1 Nachricht Datum
ROCm CI Service Account 21ad1e70e7 SWDEV-335967 - hipcc fixes for return value and blocking call (#2752)
Change-Id: I8caade13dac2c3cfd540bd683bd46eafb91111c2

[ROCm/hip commit: 9af24c0aed]
2022-06-21 21:12:16 -07:00
agunashe e92502c471 Revert "SWDEV-326661 - hipcc/hipconfig to use return value from pl scripts, disabling deviceLib. (#2584)" (#2625)
This reverts commit cc9c81184f.

[ROCm/hip commit: 042c5ee5e6]
2022-04-14 12:14:35 +05:30
ROCm CI Service Account cc9c81184f 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

[ROCm/hip commit: 3cccb105f6]
2022-04-01 05:38:23 +05:30
Konstantin Zhuravlyov 3ef52cee16 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

[ROCm/hip commit: c447b392d7]
2022-02-10 09:33:01 -08:00
Maneesh Gupta 6bf79c91be SWDEV-320978 - Revert "SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation (#2438)" (#2469)
This reverts commit ed7cd9b7e1.

[ROCm/hip commit: ee16f95c77]
2022-02-04 09:52:41 -08:00
agunashe ed7cd9b7e1 SWDEV-296926 - warning message for hipcc/hipconfig pl deprecation (#2438)
Change-Id: I9bd339b1cbeac54b9905a00a71849a441694d0ff

[ROCm/hip commit: 9799a0278a]
2022-01-13 10:03:58 +05:30
agunashe 9374492ff9 SWDEV-309909 - gitbash windows detection (#2415)
Change-Id: I5cca12c25b9a1b4a8b7b077f586715c4a4feb5e9

[ROCm/hip commit: 0cd18226a6]
2021-11-26 04:49:12 +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 e1924a2a9b Use perl from PATH, not from absolute shebang (#2304)
[ROCm/hip commit: 526d0bf97b]
2021-08-19 10:26:03 +05:30
agunashe a4ff63a29b SWDEV-293742 - Update copyright end year
Change-Id: I2cb7bbd9a6d9da28116ba9dd9cec4e60525444e2


[ROCm/hip commit: d529637fbc]
2021-07-07 12:57:23 -04: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
Tao Sang ec1f689600 SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe


[ROCm/hip commit: b504a9bfae]
2021-03-01 19:46:24 -05: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
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
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
agodavar 13436a7e1f cmake hip-rocclr as default build,change HIP_PLATFORM to amd|nvidia
Change-Id: I59d2e15b297b6ca2d5eee1a6dee642bdb01a3839


[ROCm/hip commit: d10124e1d7]
2020-10-21 07:26:14 -04:00
Rahul Garg 03001805c3 Bump version to 4.0
Change-Id: Ia8c3b21ccd58f07c95aa3030bc787144f934f80e


[ROCm/hip commit: 6572d1d522]
2020-10-19 21:00:13 -04:00
Freddy Paul 4adc690374 HIP:Break dependency to rocm-dev package
Check for rocm_agent_enumerator instead of rocminfo or
.info/version.

Change-Id: I1718bd4f70b3e527ea3afe19c1a685ab7ed70808


[ROCm/hip commit: 863082c528]
2020-10-12 17:53:53 -04:00
Rahul Garg 11ee314c11 Bump version to 3.10
Change-Id: I7410996510fa24d2db0a4ecb2a2642e2e95058cf


[ROCm/hip commit: ee75be9cd4]
2020-10-05 20:26:38 -04:00
Rahul Garg 8a5b10a216 Bump version to 3.9
Change-Id: I5dfc997336fac42f3b6b0998a4bb212462de38f9


[ROCm/hip commit: 2380cf7805]
2020-08-24 21:52:22 -04:00
Yaxun (Sam) Liu 4fcbffd307 Fix hipcc for extracing clang version
On teamcity clang --version returns something like

clang version 12.0.0
Target: x86_64-unknown-linux-gnu

currently hipcc does not handle it correctly since [^ ] causes new line and Targe:
matched. \S will make sure only version string matched.

Change-Id: I3659d6daf89b709d2b001e6b8024d69d8b79efc0


[ROCm/hip commit: d537bb3859]
2020-08-21 18:21:46 -04:00
Rahul Garg eb2f4da931 Bump version to 3.8
Change-Id: I710ee1456aa108eb979eb5bef8f32081dda593d9


[ROCm/hip commit: dd82a30348]
2020-07-30 13:30:55 -04:00
Rahul Garg 63b52034a3 Bump version to 3.7
Change-Id: Id077c317573e95833c8bc7f16951df776de2a273


[ROCm/hip commit: 6a277dea45]
2020-07-08 01:54:05 -04:00
Rahul Garg 6d110befe1 Bump version to 3.6
Change-Id: I739a7bd03a4ed102bbc7c2f60d108e20132f5423


[ROCm/hip commit: 96a2834595]
2020-06-09 11:22:20 -04:00
Payam e5a32d5511 updating envar to HIP_ROCCLR_HOME
Change-Id: Ic0bbf40638538307377e6db1a7379fb23dec8306


[ROCm/hip commit: 0153027fd8]
2020-05-14 12:59:51 -04:00
Dittakavi Satyanvesh adcb645ab2 search path logic updated for extractkernel SWDEV-230929
Change-Id: I48d6332502774485d7ced3fee065a74f15774500


[ROCm/hip commit: 83f0c4402e]
2020-05-11 02:27:40 -04:00
Aaron Enye Shi 42b80104c0 SWDEV-234954 - Fix hipconfig on Windows
Before setting the HIP_RUNTIME and HIP_COMPILER variables, first check the environment if these are set. We should prioritize the environment settings. For windows, it will be set, and also explicitly call perl when invoking hipconfig.

Change-Id: I89ad267285239e6d8a897dc681c4af5906e7b9d8


[ROCm/hip commit: 5fbae827c2]
2020-05-08 13:27:36 +00:00
Aaron Enye Shi 995949cb64 Fix missed VDI names in hip-on-rocclr
Change-Id: I830feb37a043656136648e92a0c6f1eaae8402d7


[ROCm/hip commit: 1c1be71b63]
2020-05-07 08:37:28 -04:00
Payam 0c8b343931 name change vdi to rocclr
Change-Id: I06d198bbb4a499e153b290b73a92afed3553b252


[ROCm/hip commit: c5f76c3de3]
2020-05-06 09:14:30 -04:00
Aaron Enye Shi 1a3f036478 Add __HIP_VDI__ to hipconfig host flags for VDI
Change-Id: Ia9582f2d51b50cbe151b4866ffbfc9514825f613


[ROCm/hip commit: 43c3c89467]
2020-05-04 20:03:07 +00:00
Aaron Enye Shi d9bb1fd770 Update hipconfig to support HIP-Clang
Add support for hipconfig to display details on HIP-Clang compiler and update HIP_COMPILER and HIP_RUNTIME to include clang and rocclr. Also, add hipcc flags --cxxflags and --ldflags to support HCC users who used hccconfig flags.

Change-Id: Ib12d81a4ff59d34fb000626836b1adb10be3ac61


[ROCm/hip commit: afc9b546fb]
2020-04-27 11:44:53 -04:00
Rahul Garg 6fe5c52518 Bump version to 3.5 (#1993)
* Switch CI testing from rocm-3.1.x to rocm-3.3.x
* Update hcc workweek for cooperative view
* bump version to 3.5

[ROCm/hip commit: 59afcb1091]
2020-04-06 15:39:10 +05:30
Maneesh Gupta b499822842 bump version to 3.2 (#1898)
- Bump version to 3.2
- [ci] Enable tests on ROCm 3.1

[ROCm/hip commit: 71e1f87f7e]
2020-02-27 16:18:31 +05:30
Maneesh Gupta 78dc660cb6 bump version to 3.1 (#1756)
* Bump version to 3.1

* [ci] Enable tests on ROCm 3.0


[ROCm/hip commit: 18c1003469]
2019-12-20 12:10:25 -08:00
Maneesh Gupta 8723218421 Bump version to 3.0 (#1648)
Change-Id: Id1e6eb222080a339af938212e74a52c39c305eab

[ROCm/hip commit: dae8630592]
2019-11-10 20:23:58 -08:00
srinivamd fe7c030148 remove dependencies on /opt/rocm path (#1379)
* remove hard coded dependencies on /opt/rocm path

[ROCm/hip commit: 908e14d176]
2019-10-10 19:56:55 +05:30
Maneesh Gupta 52f126b557 Bump version to 2.10 (#1483)
Change-Id: I22ac0ae723bc537e027306dbb0f1594552fd33a4

[ROCm/hip commit: 96cf31547e]
2019-10-01 12:39:08 +05:30
Maneesh Gupta b58887c33d Bump HIP version (#1311)
- Match HIP version with upcoming ROCm version
- Add githash to version string

[ROCm/hip commit: 3ccddcde25]
2019-08-09 12:13:29 +00:00
ansurya 357c361949 Add HSA_PATH to hip_Includes in cmake and hipconfig (#1260)
* Add HSA_PATH to hip_Includes in cmake and hipconfig

* HSA_PATH to CACHE path,checks for HSA include path

* Removed new lines at EOF


[ROCm/hip commit: 50597e2085]
2019-07-31 05:02:20 +00:00
Maneesh Gupta 55da014b79 [hipcofig] Update HIP_PLATFORM detection logic
HIP_PLATFORM detection logic relied on finding a working KFD. If it was
found, the platform was set as hcc else as nvcc.
However this logic is flawed since it is possible for the development
system to only have the user mode bits to build HIP application code.
Hence the better logic is to rely on finding a suitable compiler.
The new logic is as follows:
- look for a working HCC. If found, platform is set as hcc.
- else look for a working NVCC. If found, platform is set as nvcc.
- else the platform defaults to hcc for now.

Change-Id: Ifcc42c29a19f722153d5c23c55f1a8765dceaf6b


[ROCm/hip commit: 8b25f7b4cf]
2019-02-27 14:10:21 +05:30
Wen-Heng (Jack) Chung 2c6d9a7af2 Change hipconfig to adopt new location of llc
llc is now placed under $HCC_HOME/bin, instead of $HCC_HOME/compiler/bin.


[ROCm/hip commit: d841bbac59]
2017-12-06 19:30:10 +00:00
Maneesh Gupta 0ade69d98f Bumped HIP version to 1.5 and updated summary in HIP release notes
Change-Id: I4b612da88236674fac2c585ab6891bdd495511b0


[ROCm/hip commit: f4187b0f16]
2017-11-29 13:56:17 +05:30
Maneesh Gupta 8b580446c4 Bump HIP version to 1.4 and update release notes
Change-Id: I3570dedb32fe5fec6f60565c587a3282a4c6c709


[ROCm/hip commit: ca239ab6ef]
2017-10-06 10:26:11 +05:30
Maneesh Gupta 5a81e6d50d Bump HIP version to 1.3 and update release notes
Change-Id: I53f89efca03472cb906bd56200a2bf2996453915


[ROCm/hip commit: 8c94bc0009]
2017-08-16 11:18:51 +05:30
Maneesh Gupta 77804112c6 Bump HIP base version to 1.2
Change-Id: I8ecc164afed4383f78579ed86a5c8c11a73b0780


[ROCm/hip commit: 901538da77]
2017-06-14 09:45:46 +05:30
Maneesh Gupta 51141f539d Bump HIP version to 1.0
Change-Id: Ie215a1ad4c1bf9b4a0ce94f750ddacce668bbc63


[ROCm/hip commit: 933b8c1dc5]
2016-10-15 22:42:45 +05:30