* SWDEV-532676 - Pass hip-path instead of rocm-path
Commit 7b7537c1703db0cc53ee1f36089406b555ae9a9e in llvm-project enforces that no hip-device-lib-path is forwarded by hipcc. To ensure that runtime is found, pass hip-path instead.
* SWDEV-532676 - Fix comment
Co-authored-by: Lambert, Jacob <Jacob.Lambert@amd.com>
---------
Co-authored-by: Lambert, Jacob <Jacob.Lambert@amd.com>
Modified target_link_libraries to link with the hip::amdhip64
target instead of directly linking to the amdhip64 library.
This ensures that all sub-dependent libraries that are necessary
for static build are included.
Change-Id: Idf69477708172604ba9c349735d3230ae765923a
This reverts commit 38eedf86cf.
Reason for revert: Observing issue SWDEV-488249 due to catch test permission settings.
Change-Id: Ifdc55e4eb3938c9bc0b9af0a4e9dc9ba366614b3
The variable is set as cache, so that user can override.
But the hard coded setting is preventing override. Removed the same
Change-Id: Ica5f9074a6532f465705a8dd1a8f21c6643ef49e
This commit disables samples that directly call hipcc when
building in a static environment. In its current state, hipcc
requires all static libraries to be explicitly provided
in order to succesfully link the sample binary.
Change-Id: I74c94a57867bc1fe0e6134ddd633b465bd6c0f83
hip-samples package should depends on hip-dev/devel and hipcc rather than hip-runtime-amd
Updated the same for static package as well
DependsOn: Iacab7993dffaa00efd1344d3eafb55f6317d1509
Change-Id: I1470475ddbaf9201ba0e39977aeb48b0382f59c9
Hip-lang test is failing in static build environment. Disabling it for time being
TODO: Need to renable the test once its fixed
Change-Id: Ie15f02a157a13b3f105596ad673a8a1da6e78b67
This change allows to build smaples repo with different build tools like ninja
Signed-off-by: Sebastian Luzynski <Sebastian.Luzynski@amd.com>
Change-Id: I232efc3f19895e84b9de0d410ea43ec55b913ab4
- force hipcc.bin on windows
- avoids perl, which randomly can't spawn processes
- force hipconfig.bat on windows
- hipconfig.bin does not print hip version for some reason
- i will file a ticket for this
Change-Id: Ib9fb981844213b038f6d1cc3288148116295b58c
Recent compiler patch https://github.com/llvm/llvm-project/pull/81700/
introduced changes to certain hip external symbols clang emits. This patch
makes the tests "16_assembly_to_executable" and "17_llvm_ir_to_executable"
follow these changes. I expect comments on whether this is an unintended
compiler behaviour that needs fix in compiler or this is the proper fix.
Change-Id: I3943f5365600f683a65c98c6d17c14a5e4192351
- Due to file reorg path changes cmake fails at find_package(hip) unless CMAKE_PREFIX_PATH is set explicitly
- Update CMakeLists.txt to set CMAKE_PREFIX_PATH
- Update Readme
Change-Id: Ibdb4419efcdd6583b059a728e48dfdb8f927a48b
Fix vulkan_interop build issue on CMake so that
it can be integrated into catch2 batch build.
Fix some test failures.
Update some code format.
Change-Id: I32c9bed861ddf4fe0d7bba21dce9bd720168c397