This reverts commit ddad1eeec2.
Reason for revert: Bring back original change
Change-Id: I9326076d0f6006573bf995784292f64f6d6e03a0
[ROCm/hip commit: 5baee1fd78]
This reverts commit 22a0da6747.
Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt
Change-Id: If4932a630391ddce5cdff247163fbadb9b9d31ef
[ROCm/hip commit: 0bf6186614]
The IMPORT_PREFIX path in FindHIP.cmake was generated as <Install_Prefix>/hip rather than <Install_Prefix> in Linux OS
With file reorg backward compatibility turned off, the path <Install_Prefix>/hip is no more valid
Corrected the same, so that IMPORT_PREFIX will always be generated as <Install_Prefix>
Change-Id: I60b8ee5085c1b4eda0a8494d7f8e1e55accd2f82
[ROCm/hip commit: 9cb358b157]
As per the requirements in SWDEV-287540 ,config files should not have hard coded path /opt/rocm.
Removed the same
Also handled the case where ROCM_PATH is defined and not set in ENV. Earlier this condition was getting handled in default case
Change-Id: I9b28c4208175be61bc7c90c1fe2885fd299c5536
[ROCm/hip commit: 357186bf9e]
Related changes for HIP installation in /opt/rocm
Setting HIP_PATH and ROCM_PATH
Setting INTERFACE directories
Depends-On: If70b61020fa3ee85bf49171c842837da05191a48
Change-Id: I30adccf7e6241dae12270156602d4b033ea99d93
[ROCm/hip commit: a296100da7]
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]
Flags of NVCC_OPTIONS need be sent to linker. Because compiler and
linker flager are mixed in NVCC_OPTIONS.
Change-Id: I3db37b962808566ea145e3cbdefa66d373e2d360
[ROCm/hip commit: 2152cc1b3d]
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]
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]
CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS contains -rdynamic which does not go
well with nvcc
Change-Id: I10e6d21553de0e43c6a7ae5fb3ec2418087959ff
[ROCm/hip commit: 36c7670293]
I've noticed that in the generated makefiles, we'd have
if(NOT build_configuration)
set(build_configuration Debug)
endif()
However, only definitions with all capitals are provided.
e.g.
set(HIP_HCC_FLAGS_DEBUG -g)
This is because of lines 442 to 448. We capitalize the configuration ${config_upper}.
This PR fixes this bug.
[ROCm/hip commit: 865b015410]