Add libhiprtc-builtins library to packaging/hip-rocclr.
Depends on part 1 patch to compute/ec/hipamd.
Change-Id: I366d7f1868c868f5d6b02363c7e78ff399e06b19
If the user decides to use a non-hipcc or non-clang++
compiler, we should skip the version checking.
Change-Id: I1424585c606ec0c63103f512161eb88cac27d71d
Add the hipcc.bat and hipconfig.bat files previously
only residing in P4 to CMake builds. Ship this .bat
file as part of bin directory on Windows.
Change-Id: I2822e1419f1f6a0a6cdde9e292231995a83df77d
Adding hip-config.cmake variables HIP_CLANG_REPO,
HIP_CLANG_BRANCH, and HIP_CLANG_PATCH_LEVEL. These
are extracted from either hipcc or clang++ --version
output.
Change-Id: I5386b71160d592d95d1867e0b563e91514b1b84b
This reverts commit 641514cdb1.
Reason for revert: Need to rework this to support older cmake releases as well.
Change-Id: I95dd2311c0166656099229128ed5344eb761942e
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
Corrects an invalid call to 'ar', which results in link failures for mixed shared
and static link invocations using hipcc.
Change-Id: I51c33438106af066a13e5ff9533721cdc326790d
This reverts commit ed9e4ee7df.
Reason for revert: Reverting this change to enable split project flow working. Once that is enabled this change will be submitted in hipamd project.
Change-Id: Iad2e044a173787a57a80c5a3d04795e7c2dc5ad5
Current packaging assumes that HIP runtime will always be installed in
/opt/rocm/lib. This is false to assume, because some distros like CentOS
will use the lib64 directory instead of lib. Relying on CMake to choose
the library directory for us will default in that case to lib64. Hence
there will be a mismatch between where HIP is installed and where CMake
thinks it is.
Change-Id: If6f881eab027bdbe8435d3de5295b00277e96a6a
Remove extra -isystem causing --cuda-device-only flag
to be dropped. Fix missing __hipRTC_header_size symbol.
Add macros which were consumed during pre-processor
generation. Add INT_MAX and CHAR_BIT macros used in
HIP headers.
Change-Id: Id5143e3c8a2b1e7c78658ba84d5ab3b55ac1fa72
CMake doesn't handle linker export files in a general way well. On
Windows it is able to recognize a .def file and pass it to the linker.
Unfortunately it cannot do the same thing on Linux, so we have to
manually specify it.
Note that CMake can't recognize the current Windows export file due to
the .in suffix, hence why the amdhip.def file is being added. The
hip_hcc.def.in file will be removed later, as the Makefile build still
uses it.
Change-Id: Id3e4645c95959e13f50efd88bc43f3a1d3e50d58
Add coarse grain memory extension. The new advice will allow HMM
to disable cache coherency policy to improve performance
Change-Id: I3c792d6a96896b983a7ffccddaa0ded06d183212