The HIP_PATH env var has been broken by an earlier patch to change the
linking to the HIP runtime with --hip-link in hipcc. We need to detect
when the HIP_PATH env var is defined, we have to pass that to the clang.
Change-Id: Iea939893844cce426d4bc4ace3539fc241363ff3
hipcc should not pass --hip-device-lib-path to clang by default so that clang
decicde device lib path by itself.
hipcc only passes --hip-device-lib-path to clang if env var DEVICE_LIB_PATH
is specified.
DEVICE_LIB_PATH should be depricated in the future and users should use
--hip-device-lib-path instead.
Change-Id: I1ada35fb438643cbe68da777e3881aaa935162fa
- deprecate -use-staticlib, -use-sharedlib which no longer provide any
functional values
- use --hip-link instead of specifying the HIP runtime by name when
linking
- fix linker option bug in HIT test's cmake
- update build options for unit tests requiring pthread or rt
Change-Id: Ib49978773c80fb40c71dc52b050ce921943ee3e4
HSA_PATH is not required in hipcc and removed from hipvars and hipcc.pl as part of SWDEV-345870.
The incomplete removal is causing build failure in pytorch due to invalid hip version
Removing HSA_PATH from hipconfig.pl, so that hipconfig will provide the hip version without any warning
Depends-On: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5
Change-Id: I8f18b27f40f4080b68a936450ba6e092f997ec47
hip-clang can handle hip offload-bundles now, so no need to extract them separately in archives (.a) or object files (.o)
Change-Id: I764243c172a4912d64dbfb318470bf36e066756d
With file reorganization, HIP installed in /opt/rocm-ver
Use the install path rather than using backward compatible path.
HSA_PATH is not at all required in hipcc and removed the same
Change-Id: Ia461cb4da2c0e0967703033f5c2c79b67732f5b5
On Windows build failures were ignored becasue hipcc script ignored the output of hipcc.pl
Also disables catch2 deviceLib testset on Windows due to linking issue.
This makes sure that we have a baseline of no build failures on Windows
Change-Id: I007a2a47e69ce1ae69e5569bbef4c63a636110ee
Related changes for HIP installation in /opt/rocm
Setting HIP_PATH and ROCM_PATH
Setting INTERFACE directories
Depends-On: If70b61020fa3ee85bf49171c842837da05191a48
Change-Id: I30adccf7e6241dae12270156602d4b033ea99d93
* SWDEV-314372 - Refactor hipcc and hipconfig scripts
- Rename original hipcc to hipcc.pl
- Rename original hipconfig to hipconfig.pl
- New hipcc to invoke either hipcc.pl or hipcc.bin based on env var
- New hipconfig to invoke either hipconfig.pl or hipconfig.bin based on env var
* SWDEV-314372 - Add executable permissions to hipcc and hipconfig
* SWDEV-273235 - hip change to build catch tests on Windows
Change-Id: I96de305694609c669cb81480f3572d987ce87d98
* SWDEV-1 - skip failing hipStreamPerThread_DeviceReset_1 test on Linux
* Delete duplicate files - hipify-perl and helper scripts
* Update link for hipconvertinplace-perl.sh references
* Remove remaining references to hipify-clang and contents of its package
* Hyperlink hipexamine-perl.sh in docs/markdown/hip_porting_guide.md