-
Notifications
You must be signed in to change notification settings - Fork 37
Inconsistent CMake module names #39
Comments
HIP provides the
|
I think the documentation should specify |
According to the cmake documentation, do not write find modules for packages that themselves build with CMake. Instead provide a CMake package configuration file with the package itself. FindHIP is needed by HIP over CUDA, not what Gentoo is aiming for. Reference: ROCm/hipFFT#66 Reference: https://cmake.org/cmake/help/latest/command/find_package.html Bug: ROCm/hipamd#39 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Note that some projects like pytorch depend on FindHIP.cmake and automatically hipify CMakeLists.txt with simple replacements like |
Documentation https://rocmdocs.amd.com/en/latest/Installation_Guide/Using-CMake-with-AMD-ROCm.html states to use
find_package(hip)
but HIP providesFindHIP.cmake
, notFindhip.cmake
as seen here: https://github.com/ROCm-Developer-Tools/HIP/blob/develop/cmake/FindHIP.cmakeresulting in the following error:
The text was updated successfully, but these errors were encountered: