Closed lahwaacz closed 2 months ago
cmake/hip.config contains some code to auto-detect hipconfig location:
cmake/hip.config
hipconfig
https://github.com/ginkgo-project/ginkgo/blob/f952c6eb1c0bb79b68f1c7ec03e5f20052f72d48/cmake/hip.cmake#L109-L124
However, at the top of this file, either HIP_PLATFORM envvar or GINKGO_HIPCONFIG_PATH cmake variable is required:
HIP_PLATFORM
GINKGO_HIPCONFIG_PATH
https://github.com/ginkgo-project/ginkgo/blob/f952c6eb1c0bb79b68f1c7ec03e5f20052f72d48/cmake/hip.cmake#L1-L9
The documentation also says that the HIP platform is auto-detected and does not mention GINKGO_HIPCONFIG_PATH at all.
This will likely be made redundant by #1334
cmake/hip.config
contains some code to auto-detecthipconfig
location:https://github.com/ginkgo-project/ginkgo/blob/f952c6eb1c0bb79b68f1c7ec03e5f20052f72d48/cmake/hip.cmake#L109-L124
However, at the top of this file, either
HIP_PLATFORM
envvar orGINKGO_HIPCONFIG_PATH
cmake variable is required:https://github.com/ginkgo-project/ginkgo/blob/f952c6eb1c0bb79b68f1c7ec03e5f20052f72d48/cmake/hip.cmake#L1-L9
The documentation also says that the HIP platform is auto-detected and does not mention
GINKGO_HIPCONFIG_PATH
at all.