Commit Graph

108 Commits

Author SHA1 Message Date
Aaron En Ye Shi 4bc1bcf397 SWDEV-286884 - Temporarily remove installing hiprtc-builtins
To allow committing a patch into compute/ec/hipamd,
temporarily remove this library from package, and add
back in cmake hiprtc-builtins patch.

Change-Id: I8e448a669e796d4c321fcf8a6fe2dc5773743de3


[ROCm/hip commit: ff97848c63]
2021-06-15 13:20:18 -04:00
Rahul Garg 32b5004c66 SWDEV-290076 - Remove backend implementation from HIP common
Updated cmake to use HIP_AMD_BACKEND_SOURCE_DIR

Change-Id: Ibeaae0d75ffa49a20752a55506e25dbfbe3b5b68


[ROCm/hip commit: 951af38fe7]
2021-06-09 19:04:44 -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
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
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
Maneesh Gupta 338c21da14 SWDEV-289147 - Update version dependencies of rocr and comgr packages
Change-Id: I435284298842d054d9b600e797bff391de2e5b1f


[ROCm/hip commit: e6aa972303]
2021-04-16 00:57:38 -04:00
Anusha GodavarthySurya feab085103 SWDEV-272025 - Replace pushd/popd with cd
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f


[ROCm/hip commit: bb4433be51]
2021-03-23 05:24:50 -04:00
David Salinas a13ca05639 SWDEV-274114 - fix dependency issues for perl modules
Change-Id: I320d5fb50db3eecd433e81ab49703ca04c882711


[ROCm/hip commit: 444d14e654]
2021-03-04 16:52:35 -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
Tao Sang 3ba3339596 SWDEV-264220 - Support package install of hip-lang
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488


[ROCm/hip commit: 6ef373d02a]
2021-02-11 15:41:54 -05:00
agodavar f399142b9e SWDEV-270198 - hip-hcc cleanup remove lpl_ca
Change-Id: I6cae9435397e9070efb4a953c7ba8bd3dcd98c0e


[ROCm/hip commit: 83482253ec]
2021-01-27 23:40:58 -05:00
Payam ce8c78e5a3 Cleaning lintian warning SWDEV-247996 Part3
Change-Id: I62e5bfc5f17eee12a7a0cfe8ed6fbc35c43ff8c3


[ROCm/hip commit: f9fe063c75]
2021-01-06 11:56:11 -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
Jatin Chaudhary 95b77b8933 Adding file command as dependency
Change-Id: Ic719c5ce8ad0d99f6a341b5b46927587080fcf2e


[ROCm/hip commit: 45e5e78fcc]
2021-01-04 00:03:53 -05:00
Sarbojit Sarkar 77c3b0a437 SWDEV-260281: Fixed rpm dependencies
Change-Id: Ifd05db15d5d2098a0623fd6dd9e977d050a9c4a6


[ROCm/hip commit: c607c85451]
2020-11-25 00:24:37 -05:00
cjatin cd656b9304 Adding hip support email to cmake packaging
Change-Id: Ibef7ae5a631ba759bc378478c91d562d4fde3079


[ROCm/hip commit: f7a0587203]
2020-11-19 02:08:51 -05:00
Tao Sang fd5ef38166 Make directed_test support static libs
1.Make directed_test apps linked against static libs
    of hip, rocclr, rocr, roct and amd_comgr.
    2.Remove custom_target amdhip64_static_combiner.
    3.Support EXCLUDE_HIP_LIB_TYPE <static|shared>.
    4.Simplify argument list parsing.
    5.Install rocclr when rocm is installed.
    6.Fix some original small bugs.

Revert "Revert "Make directed_test support static libs""
This reverts commit 4a8a95a8e9.

Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702


[ROCm/hip commit: bcd067f462]
2020-10-26 12:39:58 -04:00
Payam ff4c647424 Cleaning lintian warning SWDEV-247996 Part2
Change-Id: I40eb29b8c2588acac0cd3ae6d96b14fb1abd2350


[ROCm/hip commit: 5fec831e1c]
2020-10-20 19:27:38 -04:00
Vladislav Sytchenko e4caaa2a77 Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
This reverts commit 28b17d3dbd.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9


[ROCm/hip commit: ad2d55c144]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko 28b17d3dbd Revert "Merge branch 'amd-master-next' into amd-npi-next"
This reverts commit 258d79bca7.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721


[ROCm/hip commit: 374ead1d19]
2020-10-05 13:02:39 -04:00
Cole Nelson 9157abcf47 CMakeLists.txt: Conformant package naming
Change-Id: I1c70559208606de8cc00909132cba38a2cc2ccd6
Signed-off-by: Cole Nelson <cole.nelson@amd.com>


[ROCm/hip commit: 318867a438]
2020-10-01 18:25:15 -04:00
Freddy Paul b53d96779e hip-rocclr:Remove dependency to rocm-utils
rocm-utils is a meta-pacakge that pull in lot more pacakges than
what is required for hip.

Correct dependency to set as of today will be rocminfo.

Change-Id: I065ca74b4520e0c9ce183d82d6026554ff43e1f0


[ROCm/hip commit: eb94afcff9]
2020-07-28 11:42:09 -04:00
Rahul Garg e1bf817d60 Remove libhip_hcc symlinks to libamdhip64
Change-Id: I7b5b47fc7ca9760316c2424c16b454d7919c665c


[ROCm/hip commit: dc904abd8a]
2020-07-27 23:58:29 +00:00
Ashutosh Mishra 1065f6333d Adding "BUILD_SHARED_LIBS" flag to cmake files
JIRA : SWDEV-234471
With this change compilation of the ibamdhip64 to be decied by arguments to build_hip_on_rocclr.sh file
build_hip_on_rocclr.sh -r (current) shall conitnue to create libamdhip64.so;
build_hip_on_rocclr.sh -r a (new) shall create libamdhip64.a
other options remain the same

Changed the targets according to requirement of stage2 dependencies.
Changed find_lib with find_package

Adpated the review comments

Change-Id: I719918f73ab33cd8031a32db6fe9b8adaa1b4b87


[ROCm/hip commit: ab88cbbb8a]
2020-07-16 00:29:14 -04:00
Jason Tang dd0c2582c5 SWDEV-242879 - Not to use fixnames
Change-Id: I3d0e2f3fe6c773e020c8bf8cdfd75fd565d61505


[ROCm/hip commit: e29b828b7c]
2020-07-02 08:15:07 -04:00
Cole Nelson f7e311ba3d packaging/hip-rocclr.txt: multi-version install broken because of 'hip_rocclr'
Versioning understands 'hip-rocclr' not the deprecated 'hip_rocclr'.
Remove this.

Leaving Provides hip-hcc until package shifts settle down.

SWDEV-242143:

Change-Id: I489fa28dd1394625bc6016a3adda4f73d02da202
Signed-off-by: Cole Nelson <cole.nelson@amd.com>


[ROCm/hip commit: 35e429d10f]
2020-06-25 14:17:16 -04:00
Rahul Garg 1be23e215c Use right perl-which rpm package
Change-Id: I22106a7d1b4b50c99f945bc6416ff3bd8486d15c


[ROCm/hip commit: 88720e2e77]
2020-06-02 02:17:54 -04:00
Rahul Garg e97fb496f0 Add libfile-which-perl dependency SWDEV-237642
Change-Id: I0799fdcbc58a35c957a3bc69a8a1c6a013a3f57c


[ROCm/hip commit: 7259b70f60]
2020-05-29 20:04:23 -04:00
Ramesh Errabolu 906404ef81 Remove dependency on hsa-ext-rocr-dev package
Change-Id: I1147a299c31ce1ae5978b7312d82fa83d796b019


[ROCm/hip commit: c98e8e4998]
2020-05-26 14:40:42 -05:00
Aaron Enye Shi 1da231b380 Fix missing hip_version.h install and package
Change-Id: I7182518f8c0dea6e00ffd649d1a29027fdc78b24


[ROCm/hip commit: a573ad7204]
2020-05-14 21:54:28 +00:00
Aaron Enye Shi 161bfe2e37 Fix missing hip_prof_str.h in hip-base package
Change-Id: Icd163ff83fadc2ee0e68f5755c652a45d2e781e5


[ROCm/hip commit: 7c7c8a50e2]
2020-05-13 19:13:16 +00:00
agodavar 6040a58241 SWDEV-233950:link to /opt/rocm/hip/lib/cmake left behind during uninstall
Change-Id: Ideb76b73916881469e39b7a0a4d68d7ec098b4a8
Signed-off-by: agodavar <Anusha.GodavarthySurya@amd.com>


[ROCm/hip commit: 7a32fc43a6]
2020-05-08 07:36:28 -04:00
Payam 72958eaee7 renaming vdi to rocclr, part 1
Change-Id: Idec9be2b6174217abcebaa1776e59168670740b1


[ROCm/hip commit: 4c3f8221e9]
2020-04-29 17:54:37 -04:00
Payam 1e81c0ce1f updating package name to hip-rocclr instead of hip-vdi
Change-Id: Ife8810d4dd224ce29c2e2a827b221a618c9f1b3d


[ROCm/hip commit: db3d4bc848]
2020-04-28 13:36:33 -04:00
Freddy Paul 027752bb3a hip-on-vdi: Enable RUNPATH and versioning
1. Enable versioning for HIP libraries
2. Enable RUNPATH on HIP libraries to find ROCm dependencies
3. Control HIP package install using CPACK_INSTALL_PREFIX

Change-Id: I9096da56592e9c78cdba329011f6e1bae99adaa2


[ROCm/hip commit: b75b602601]
2020-04-27 19:48:44 -04:00
Maneesh Gupta 8e137a6ec1 Merge in the rocclr based hip runtime (#2032)
* Merge master-next changes in master (include vdi development in master branch)



[ROCm/hip commit: a0b5dfd625]
2020-04-23 09:12:06 -07:00
Yaxun (Sam) Liu b5a50ec9cf Fix cmake config file (#2010)
Removed cmake target files under packaging directory.

Merged cmake config .in files for HIP-Clang and HCC as one.

Use cmake generated target files in both install and packaging.

This makes cmake config file consistent for make install and
make package.

Change-Id: Iae1f8ccb5b39c29f54297edf1c5df62eb5a0253d

[ROCm/hip commit: 9ead991784]
2020-04-13 16:45:14 -07:00
Evgeny Mankov 6e48a7d0d6 [HIP][doc] Update docs due to moving of HIPIFY to a separate repo (#2001)
[ROCm/hip commit: ff8d193b7f]
2020-04-07 14:03:19 +05:30
Jatin Chaudhary 32a9b2f2bb Packaging changes to bring them to sync with generated ones (#1918)
[ROCm/hip commit: 3805d7c5f2]
2020-03-27 14:08:12 +05:30
nelsonc-amd d6d60529ce packaging: change Provides to use dash instead of underscore (#1913)
Addresses an installation problem for several HIP packages.
Packages builds have been tested locally, validation in progress.

[ROCm/hip commit: b757c2a891]
2020-03-19 16:15:09 +05:30
Rahul Garg c34c9a4b4d Remove deprecated HIP markers (#1876)
[ROCm/hip commit: 6c5fa32815]
2020-02-28 16:47:15 +05:30
Jatin Chaudhary 2868c785d8 Revert "Sync hip-targets*.cmake in package with install changes (#1831)" (#1860)
Fixes SWDEV-222155 & SWDEV-222158
This reverts commit c7562072a3.

[ROCm/hip commit: ab7526f64c]
2020-02-11 11:56:57 +05:30
Jatin Chaudhary c7562072a3 Sync hip-targets*.cmake in package with install changes (#1831)
Fixes SWDEV-204247


[ROCm/hip commit: 6891615a15]
2020-02-04 08:59:28 +05:30
paulfreddy 68238a43ae Fix install script syntax error (#1805)
Fix hip-nvcc install warning on postinstall and prerm script

[ROCm/hip commit: f653c8c999]
2020-01-24 16:22:57 +05:30
paulfreddy e47b0a4152 Changes for multiple ROCm installation (#1771)
* FBA-29, FBA-69, multiple rocm support, shared library conflicts
Changes to resolve:
1) Multiple rocm release installation support
2) Multiple rocm shared lib conflicts
3) Add the so versioning also

[ROCm/hip commit: 3bc69394d0]
2020-01-21 14:17:35 +05:30
Aakanksha Patil 04b0bf0a1d [HIPIFY][cmake] Packaging for hipify-clang
[ROCm/hip commit: 7f78630124]
2020-01-15 11:39:02 -05:00
Maneesh Gupta 261b0a6f50 [packaging] Rename hip packages to conform to debian package renaming rules (#1708)
[ROCm/hip commit: 1f6b3e2aa5]
2019-12-04 15:55:37 +05:30
Maneesh Gupta ee44fffd35 Revert "[packaging] Conform to debian package naming rules (#1647)" (#1688)
This reverts commit 8016fa32df.

[ROCm/hip commit: 4585b7f6f3]
2019-12-01 14:47:43 +05:30
Maneesh Gupta 8016fa32df [packaging] Conform to debian package naming rules (#1647)
* [packaging] Conform to debian package naming rules

* Add hip_hcc metapackage for backward compatibility


[ROCm/hip commit: 2ca1a82036]
2019-11-14 11:40:34 +05:30
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