커밋 그래프

136 커밋

작성자 SHA1 메시지 날짜
Maneesh Gupta 3a7b8156a3 Revert "SWDEV-330775 - Update search path for LLVM"
This reverts commit f31b0874fd.

Reason for revert: SWDEV-368704

Change-Id: I8c38b4f40285f90f7d99145b970c2a14d051d5bb


[ROCm/clr commit: fab70a41ed]
2022-11-22 09:14:24 -05:00
Siu Chi Chan f31b0874fd SWDEV-330775 - Update search path for LLVM
ROCm's LLVM will be moved into /opt/rocm-<ver>/lib/, teach hipcc and
hipconfig about the new location.

Change-Id: Ie7f17146771aff94c684deb22148226cbb3a2895


[ROCm/clr commit: 3d15f9cbda]
2022-11-14 13:31:07 -05:00
Maneesh Gupta 16667eb1b6 SWDEV-361840 - Fix typo in packaging script
Change-Id: I0124b5522cb7b797293bab1a949af7baca849728


[ROCm/clr commit: 038d70448e]
2022-11-10 10:49:43 +00:00
Satyanvesh Dittakavi 41e8d80800 SWDEV-361840 - Add hiprtc cmake packaging
Change-Id: Ib2c2aa5e1890a1a11af2832d7b5e7e1d202808ed


[ROCm/clr commit: a6e336a58c]
2022-11-10 01:26:41 -05:00
Ajay 548b3e0dab SWDEV-332251 - Remove tests packaging from hipamd
Change-Id: I98c0d19ce2eea921d214661b8a1588cb5dbf4268


[ROCm/clr commit: f2fbe4938e]
2022-10-21 11:48:30 -04:00
Ranjith Ramakrishnan a2b9eb12d4 SWDEV-353137 - Fix for incorrect library path for hiprtc
Hiprtc related libraries are duplicated when installed from build directory
This happens when cmake install libdir is set with lib64 as default and using hard code path "lib" for LIBRARY_DESTINATION
Replaced "lib" with cmake install libdir
Removed the default setting of libdir in source code and its should be controlled via build argument

Change-Id: Icac55eac9427a5088903d01942e6bfd5263a6fc0


[ROCm/clr commit: ba04f95771]
2022-08-23 12:19:06 -04:00
Ranjith Ramakrishnan 488b937709 SWDEV-335990 - Use GNUInstallDirs
GNUInstallDirs is used to allow the user to customize the install paths
of HIP, rather than using hardcoded locations.
Minimum cmake version updated to 3.16.8

Depends-On: I521c44dc34404b136141682c2777257b23ffa6e8
Change-Id: I2cff642c469d6d1e8bb3f1a3c151e6a03fb5d55b


[ROCm/clr commit: 8f8367fd49]
2022-06-15 23:49:54 -04:00
Maneesh Gupta 2491ef410c SWDEV-324128 - Fix typo in packaging cmake
Fixes typo introduced by 3b13118ea8

Change-Id: I6c9a3fa31df14262f26d1339d3661248fa43eefb


[ROCm/clr commit: 176acb9315]
2022-05-19 09:32:42 +00:00
Ajay 5dc89b596f SWDEV-320512 - hipcc.bin installation should be moved out of packaging
Change-Id: I8e37b47f43a7c6579b68a7dd1db1a3d05976fa9d


[ROCm/clr commit: b5d9d61f5d]
2022-03-31 17:52:39 -04:00
Ranjith Ramakrishnan e16ae717da SWDEV-291455 - File reorganization with backward compatibility
HIP installed in /opt/rocm
Wrapper header file in /opt/rocm/hip/include
Soft link for cmake and library files in /opt/rocm/hip

Depends-On: I30adccf7e6241dae12270156602d4b033ea99d93
Change-Id: If70b61020fa3ee85bf49171c842837da05191a48


[ROCm/clr commit: 4bcccb60c9]
2022-03-18 13:52:29 -04:00
cjatin added78cbc SWDEV-308763 - Make hiprtc a separate lib and rewrite it using comgr
Change-Id: I28ac50ec897accb2a2b4590d3c25965d907426fb


[ROCm/clr commit: e6c0086d1c]
2022-03-03 02:34:02 -05:00
Freddy Paul 9b9c49596e hip:Fix and install cmake targets for hip package
hip-targets.cmake was missing from the install after the switch
to new method.
Added hip-targets, hip-lang-targets for the build type and fixed
hard coding to ROCm install path.

Change-Id: Idd6d58f9eeeca6d9dc5ac8632d6ffb4956d845e1


[ROCm/clr commit: 8c3965ec55]
2022-02-03 12:36:43 -05:00
Freddy Paul 3b13118ea8 hip:Switch to component based packaging.
Current way of packaging using custom command for each pacakge
is not helping to enable debug symbols.Debug symbols package
creation fail due to missing parameters from the build stage.
With the new approach all the parameters at build stage will be
inheritted by sub-cmake files and hence enables debug-symbols
package creation.

Change-Id: I933710ad4b67d913c011539ac9e51686604300f6


[ROCm/clr commit: a01b481e45]
2022-01-31 13:36:48 -05:00
Ajay beab7326a9 SWDEV-318496 - packaging license files for HIP project
Packages: hip-devel, hip-doc, hip-runtime-amd, hip-runtime-nvidia,
hip-samples, hip-tests, hipcc

Change-Id: I936f754fd21ea53956945e1f225aaeefd33207b2


[ROCm/clr commit: 735826464d]
2022-01-24 16:27:39 -05:00
Konstantin Zhuravlyov 120f578338 hipcc.bin and hipconfig.bin packaging updates:
- revert ad86c8a225
  - package hipcc.bin and hipconfig.bin in hip-devel

Change-Id: Iadfd2f64780b7ee2dce677436a7882d7fca74fb3


[ROCm/clr commit: d7ec25785d]
2022-01-21 09:51:50 -05:00
Aakanksha ad86c8a225 Package hipcc binaries
(hipcc.bin and hipconfig.bin)

Change-Id: Ib13cbc5fb33ffd03c5fada46f13875bd5ac47800


[ROCm/clr commit: f313c2ea80]
2021-12-20 23:07:45 +00:00
Ajay f00e0a2df4 SWDEV-273235 - Linux: catch2 test packaging
Change-Id: I5b4e44b367d9310a66ea70c31c3e15ad45589166


[ROCm/clr commit: 9ed0c29bb6]
2021-12-09 17:51:25 -05:00
Rahul Garg 9428d4e8a0 Revert "SWDEV-296926 - hipamd cmake file change to build hip/src"
This reverts commit fa7ff8bb08.

Reason for revert: Fix for SWDEV-312654

Change-Id: I45bef538273431e0dd5d85cf889a7c769c87af73


[ROCm/clr commit: 2472abf589]
2021-11-23 12:24:38 -05:00
Ajay fa7ff8bb08 SWDEV-296926 - hipamd cmake file change to build hip/src
Change-Id: Ie40a8250a7843f174b322f3e179835961f4e7cac


[ROCm/clr commit: 5f254dc780]
2021-10-22 12:57:51 -04:00
Freddy Paul f47076699b hip:Fix post install script syntax error.
SWDEV-308166: /opt/rocm softlink not created when installing
selective hip packages

Change-Id: Id9c70f5f4edc01fdbb1d06563cab1503e94542ea


[ROCm/clr commit: 45e94f4c2e]
2021-10-22 10:44:32 -04:00
Maneesh Gupta f98233ab6a SWDEV-305219 - SWDEV-305226 - Fix debian package name to hip-dev
Change-Id: Ic19b0edde812747ff7fd8daacd16b4dabe937ed7


[ROCm/clr commit: c4287c6650]
2021-09-29 03:34:21 -07:00
David Salinas c6063fe27b SWDEV-294828 - Move roc-obj binaries from hip to hipamd
SWDEV-280149 - roc-obj-ls/roc-obj-extract don't extract all kernel code

Change-Id: Ibe8aff5ff02fced4d9034740da72d3aa8d67c6ae


[ROCm/clr commit: 64cbd7951d]
2021-09-02 01:12:38 -04:00
anusha GodavarthySurya 43b3e7d573 SWDEV-287869 - [HIP] Fix Centos/SLES builds
Change-Id: I20ce625263e04224a85d39df9cc5417f8af6d9ec


[ROCm/clr commit: 4d47bd64be]
2021-08-27 05:17:38 -04:00
Icarus Sparry 87c636e1e7 Add dependency on rocm-core
The intention is to make all rocm-packages depend on a tiny rocm-core
package so that all of rocm can be removed by removing
rocm-core. Obviously it is less than ideal that you install by using
some variant of "apt install rocm" and remove everything by "apt
remove rocm-core", but this is easy to document. The alternative "apt
autoremove rocm" may remove unrelated packages.

Signed-off-by: Icarus Sparry <icarus.sparry@amd.com>
Change-Id: I95cf65550a33b8852ad3da15bbb5c1ac4a88bf46


[ROCm/clr commit: aa52c5079f]
2021-08-24 12:46:21 -04:00
Anusha GodavarthySurya 4c1f84b6ec SWDEV-287869 - [HIP] Package rename
Change-Id: Ic4ddece01bfc34d586cfaba3193c56ce0540626d


[ROCm/clr commit: 50e57158eb]
2021-07-29 05:55:44 -04:00
David Salinas 340ed39723 SWDEV-287640 - rename llvm-amdgpu pkg to rocm-llvm
package llvm-amdgpu is being renamed to rocm-llvm

Change-Id: Ifc0a4deef981b3cced6225b5d1ba1a07d34f0e8b


[ROCm/clr commit: 11c28b9fe3]
2021-07-16 14:44:01 -04:00
Anusha GodavarthySurya 84706b51f9 SWDEV-294497 - remove rocclr from packaging
Change-Id: Ic9825114ece0c84b6490c44a441a5f8af0e772fc


[ROCm/clr commit: 8ad7c705f7]
2021-07-12 01:10:37 -04:00
agunashe fae697b4d6 SWDEV-293742 - Update copyrights end year for hipamd
Change-Id: I08f620f84563a9214b59f1b943ed091b67229eab


[ROCm/clr commit: d9d9e81acb]
2021-07-09 12:08:39 -04:00
Anusha GodavarthySurya f3cc7d9db0 SWDEV-290637 - Migrate cmake build from hip to hipamd
Change-Id: I605fc633ba18df4fca95ceee83670600dd3f0b71


[ROCm/clr commit: e420815e75]
2021-06-28 06:23:33 -04:00
Rahul Garg dd95d3d23c ROCMOPS-1956 - Push restructured code to hipamd
hipamd will have AMD's ROCCLR based HIP backend implementation

Change-Id: Id7de9634519b4ce46fca71a1b61f3d5b1e3fc459


[ROCm/clr commit: 19c84bc604]
2021-06-07 21:42:44 +00:00
Rahul Garg 28f8d08148 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/clr commit: 260a1fed06]
2021-06-07 00:07:24 +00:00
Vladislav Sytchenko 6b24f92d0f 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/clr commit: e34a7e8c0c]
2021-05-27 15:21:05 -04:00
Aaron En Ye Shi 1099d6fb81 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/clr commit: 9c873353cc]
2021-05-14 10:20:38 -04:00
Maneesh Gupta 27da0ee868 SWDEV-289147 - Update version dependencies of rocr and comgr packages
Change-Id: I435284298842d054d9b600e797bff391de2e5b1f


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


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


[ROCm/clr commit: a2b7d3c9a7]
2021-03-04 16:52:35 -05:00
Tao Sang 2a6f45533d SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe


[ROCm/clr commit: 4048db950c]
2021-03-01 19:46:24 -05:00
Tao Sang a74b4c76fd SWDEV-264220 - Support package install of hip-lang
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488


[ROCm/clr commit: be4ed34a08]
2021-02-11 15:41:54 -05:00
agodavar 3cd436f7a4 SWDEV-270198 - hip-hcc cleanup remove lpl_ca
Change-Id: I6cae9435397e9070efb4a953c7ba8bd3dcd98c0e


[ROCm/clr commit: 6e7ff3aaae]
2021-01-27 23:40:58 -05:00
Payam cef8f01c51 Cleaning lintian warning SWDEV-247996 Part3
Change-Id: I62e5bfc5f17eee12a7a0cfe8ed6fbc35c43ff8c3


[ROCm/clr commit: 1f9fd14a57]
2021-01-06 11:56:11 -05:00
Tao Sang 2c1c9f78d6 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/clr commit: 8a2b0b7424]
2021-01-05 10:39:31 -05:00
Jatin Chaudhary f6f9989b82 Adding file command as dependency
Change-Id: Ic719c5ce8ad0d99f6a341b5b46927587080fcf2e


[ROCm/clr commit: e14dbaeb6e]
2021-01-04 00:03:53 -05:00
Sarbojit Sarkar 65126bb8db SWDEV-260281: Fixed rpm dependencies
Change-Id: Ifd05db15d5d2098a0623fd6dd9e977d050a9c4a6


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


[ROCm/clr commit: da1f0cdc67]
2020-11-19 02:08:51 -05:00
Tao Sang d8e8f2c833 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 f1cc6bef64.

Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702


[ROCm/clr commit: 6db4976759]
2020-10-26 12:39:58 -04:00
Payam e37d37fb26 Cleaning lintian warning SWDEV-247996 Part2
Change-Id: I40eb29b8c2588acac0cd3ae6d96b14fb1abd2350


[ROCm/clr commit: 4e96bfecd5]
2020-10-20 19:27:38 -04:00
Vladislav Sytchenko 7b635ae18c Revert "Revert "Merge branch 'amd-master-next' into amd-npi-next""
This reverts commit 0627e8783b.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I92ceb171e31026ed1864704cef2fc1497b883ef9


[ROCm/clr commit: d5aa0f607d]
2020-10-05 13:20:58 -04:00
Vladislav Sytchenko 0627e8783b Revert "Merge branch 'amd-master-next' into amd-npi-next"
This reverts commit 6c6299acb2.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I53322718dadde2c98f96140b8e260ec7ee9ef721


[ROCm/clr commit: 9142674ef0]
2020-10-05 13:02:39 -04:00
Cole Nelson 54b171e65a CMakeLists.txt: Conformant package naming
Change-Id: I1c70559208606de8cc00909132cba38a2cc2ccd6
Signed-off-by: Cole Nelson <cole.nelson@amd.com>


[ROCm/clr commit: a900c86746]
2020-10-01 18:25:15 -04:00
Freddy Paul 0210995414 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/clr commit: b0438e6e99]
2020-07-28 11:42:09 -04:00