Граф коммитов

141 Коммитов

Автор SHA1 Сообщение Дата
Maneesh Gupta ccad05fe01 SWDEV-1 - Search for doxygen config in old and new locations
Change-Id: Iebe7295c7200cc164cb32047df96aa70dec75bf4
2023-04-27 04:57:12 -04:00
Satyanvesh Dittakavi a3104c60e1 SWDEV-393060 - Address directed tests build failures with CLR
Change-Id: I76b93ee073d21ec5fae0db5a129ada89f750855d
2023-04-14 03:53:51 -04:00
Ranjith Ramakrishnan 267b342523 SWDEV-351540 - ASAN packaging for hip
Package ASAN libraries and license file
Suffix "asan" added to package name

Change-Id: Ia02bb55be0bd415dbd372b39ce884c38d8c3dcbf
2023-04-07 11:54:48 +00:00
Ajay 1f23b87fe5 SWDEV-379678 - remove samples packaging from hipamd
packaging of hip samples is now moved to hip-tests project

Change-Id: I696d970328f76f6e65e19aad52a0d7bd0b4cdd39
2023-04-05 10:51:33 +00:00
Maneesh Gupta 1bc186323f SWDEV-361630 - Enable hip build
Change-Id: Icdeaeff555d46e495c3de954b614168995a82a9f
2023-03-26 15:42:33 +00:00
Maneesh Gupta fab70a41ed Revert "SWDEV-330775 - Update search path for LLVM"
This reverts commit 3d15f9cbda.

Reason for revert: SWDEV-368704

Change-Id: I8c38b4f40285f90f7d99145b970c2a14d051d5bb
2022-11-22 09:14:24 -05:00
Siu Chi Chan 3d15f9cbda 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
2022-11-14 13:31:07 -05:00
Maneesh Gupta 038d70448e SWDEV-361840 - Fix typo in packaging script
Change-Id: I0124b5522cb7b797293bab1a949af7baca849728
2022-11-10 10:49:43 +00:00
Satyanvesh Dittakavi a6e336a58c SWDEV-361840 - Add hiprtc cmake packaging
Change-Id: Ib2c2aa5e1890a1a11af2832d7b5e7e1d202808ed
2022-11-10 01:26:41 -05:00
Ajay f2fbe4938e SWDEV-332251 - Remove tests packaging from hipamd
Change-Id: I98c0d19ce2eea921d214661b8a1588cb5dbf4268
2022-10-21 11:48:30 -04:00
Ranjith Ramakrishnan ba04f95771 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
2022-08-23 12:19:06 -04:00
Ranjith Ramakrishnan 8f8367fd49 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
2022-06-15 23:49:54 -04:00
Maneesh Gupta 176acb9315 SWDEV-324128 - Fix typo in packaging cmake
Fixes typo introduced by a01b481e45

Change-Id: I6c9a3fa31df14262f26d1339d3661248fa43eefb
2022-05-19 09:32:42 +00:00
Ajay b5d9d61f5d SWDEV-320512 - hipcc.bin installation should be moved out of packaging
Change-Id: I8e37b47f43a7c6579b68a7dd1db1a3d05976fa9d
2022-03-31 17:52:39 -04:00
Ranjith Ramakrishnan 4bcccb60c9 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
2022-03-18 13:52:29 -04:00
cjatin e6c0086d1c SWDEV-308763 - Make hiprtc a separate lib and rewrite it using comgr
Change-Id: I28ac50ec897accb2a2b4590d3c25965d907426fb
2022-03-03 02:34:02 -05:00
Freddy Paul 8c3965ec55 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
2022-02-03 12:36:43 -05:00
Freddy Paul a01b481e45 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
2022-01-31 13:36:48 -05:00
Ajay 735826464d 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
2022-01-24 16:27:39 -05:00
Konstantin Zhuravlyov d7ec25785d hipcc.bin and hipconfig.bin packaging updates:
- revert f313c2ea80
  - package hipcc.bin and hipconfig.bin in hip-devel

Change-Id: Iadfd2f64780b7ee2dce677436a7882d7fca74fb3
2022-01-21 09:51:50 -05:00
Aakanksha f313c2ea80 Package hipcc binaries
(hipcc.bin and hipconfig.bin)

Change-Id: Ib13cbc5fb33ffd03c5fada46f13875bd5ac47800
2021-12-20 23:07:45 +00:00
Ajay 9ed0c29bb6 SWDEV-273235 - Linux: catch2 test packaging
Change-Id: I5b4e44b367d9310a66ea70c31c3e15ad45589166
2021-12-09 17:51:25 -05:00
Rahul Garg 2472abf589 Revert "SWDEV-296926 - hipamd cmake file change to build hip/src"
This reverts commit 5f254dc780.

Reason for revert: Fix for SWDEV-312654

Change-Id: I45bef538273431e0dd5d85cf889a7c769c87af73
2021-11-23 12:24:38 -05:00
Ajay 5f254dc780 SWDEV-296926 - hipamd cmake file change to build hip/src
Change-Id: Ie40a8250a7843f174b322f3e179835961f4e7cac
2021-10-22 12:57:51 -04:00
Freddy Paul 45e94f4c2e hip:Fix post install script syntax error.
SWDEV-308166: /opt/rocm softlink not created when installing
selective hip packages

Change-Id: Id9c70f5f4edc01fdbb1d06563cab1503e94542ea
2021-10-22 10:44:32 -04:00
Maneesh Gupta c4287c6650 SWDEV-305219 - SWDEV-305226 - Fix debian package name to hip-dev
Change-Id: Ic19b0edde812747ff7fd8daacd16b4dabe937ed7
2021-09-29 03:34:21 -07:00
David Salinas 64cbd7951d 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
2021-09-02 01:12:38 -04:00
anusha GodavarthySurya 4d47bd64be SWDEV-287869 - [HIP] Fix Centos/SLES builds
Change-Id: I20ce625263e04224a85d39df9cc5417f8af6d9ec
2021-08-27 05:17:38 -04:00
Icarus Sparry aa52c5079f 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
2021-08-24 12:46:21 -04:00
Anusha GodavarthySurya 50e57158eb SWDEV-287869 - [HIP] Package rename
Change-Id: Ic4ddece01bfc34d586cfaba3193c56ce0540626d
2021-07-29 05:55:44 -04:00
David Salinas 11c28b9fe3 SWDEV-287640 - rename llvm-amdgpu pkg to rocm-llvm
package llvm-amdgpu is being renamed to rocm-llvm

Change-Id: Ifc0a4deef981b3cced6225b5d1ba1a07d34f0e8b
2021-07-16 14:44:01 -04:00
Anusha GodavarthySurya 8ad7c705f7 SWDEV-294497 - remove rocclr from packaging
Change-Id: Ic9825114ece0c84b6490c44a441a5f8af0e772fc
2021-07-12 01:10:37 -04:00
agunashe d9d9e81acb SWDEV-293742 - Update copyrights end year for hipamd
Change-Id: I08f620f84563a9214b59f1b943ed091b67229eab
2021-07-09 12:08:39 -04:00
Anusha GodavarthySurya e420815e75 SWDEV-290637 - Migrate cmake build from hip to hipamd
Change-Id: I605fc633ba18df4fca95ceee83670600dd3f0b71
2021-06-28 06:23:33 -04:00
Rahul Garg 19c84bc604 ROCMOPS-1956 - Push restructured code to hipamd
hipamd will have AMD's ROCCLR based HIP backend implementation

Change-Id: Id7de9634519b4ce46fca71a1b61f3d5b1e3fc459
2021-06-07 21:42:44 +00:00
Rahul Garg 260a1fed06 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
Vladislav Sytchenko e34a7e8c0c 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
Aaron En Ye Shi 9c873353cc 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
Maneesh Gupta f18a0d1405 SWDEV-289147 - Update version dependencies of rocr and comgr packages
Change-Id: I435284298842d054d9b600e797bff391de2e5b1f
2021-04-16 00:57:38 -04:00
Anusha GodavarthySurya 5577936baa SWDEV-272025 - Replace pushd/popd with cd
Change-Id: I0464e4079e31ddbc4e2032d64600f1f2c31a2c1f
2021-03-23 05:24:50 -04:00
David Salinas a2b7d3c9a7 SWDEV-274114 - fix dependency issues for perl modules
Change-Id: I320d5fb50db3eecd433e81ab49703ca04c882711
2021-03-04 16:52:35 -05:00
Tao Sang 4048db950c SWDEV-270973 - Add missing copyright headers
Change-Id: I6bb27650f74372dae6e29c79fd6bb2022cc062fe
2021-03-01 19:46:24 -05:00
Tao Sang be4ed34a08 SWDEV-264220 - Support package install of hip-lang
Change-Id: Ibf34c789d6bd4278adcedba1a6e057639c258488
2021-02-11 15:41:54 -05:00
agodavar 6e7ff3aaae SWDEV-270198 - hip-hcc cleanup remove lpl_ca
Change-Id: I6cae9435397e9070efb4a953c7ba8bd3dcd98c0e
2021-01-27 23:40:58 -05:00
Payam 1f9fd14a57 Cleaning lintian warning SWDEV-247996 Part3
Change-Id: I62e5bfc5f17eee12a7a0cfe8ed6fbc35c43ff8c3
2021-01-06 11:56:11 -05:00
Tao Sang 8a2b0b7424 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
2021-01-05 10:39:31 -05:00
Jatin Chaudhary e14dbaeb6e Adding file command as dependency
Change-Id: Ic719c5ce8ad0d99f6a341b5b46927587080fcf2e
2021-01-04 00:03:53 -05:00
Sarbojit Sarkar c807f11580 SWDEV-260281: Fixed rpm dependencies
Change-Id: Ifd05db15d5d2098a0623fd6dd9e977d050a9c4a6
2020-11-25 00:24:37 -05:00
cjatin da1f0cdc67 Adding hip support email to cmake packaging
Change-Id: Ibef7ae5a631ba759bc378478c91d562d4fde3079
2020-11-19 02:08:51 -05:00
Tao Sang 6db4976759 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 0d1cf31eb1.

Change-Id: I918eeae94487e5e2ff5bfde083667ac65fb6e702
2020-10-26 12:39:58 -04:00