Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building from source prefers ROCm version of CK #2885

Open
tbennun opened this issue Apr 11, 2024 · 0 comments
Open

Building from source prefers ROCm version of CK #2885

tbennun opened this issue Apr 11, 2024 · 0 comments

Comments

@tbennun
Copy link
Contributor

tbennun commented Apr 11, 2024

Since Composable Kernel is now a part of the ROCm release, building MIOpen from source uses the headers of the pre-installed version rather than the latest version built from source.

To mitigate CMake configuration issues, I had to swap the order of CMAKE_PREFIX_PATHs, i.e., instead of the instructions in the README:

cmake -DMIOPEN_BACKEND=HIP -DCMAKE_PREFIX_PATH="<hip-installed-path>;<rocm-installed-path>;<miopen-dependency-path>" ..

I used:

cmake -DMIOPEN_BACKEND=HIP -DCMAKE_PREFIX_PATH="<miopen-dependency-path>;<rocm-installed-path>" ..

However, that does not resolve the issue where the compiler uses the /opt/rocm-version as the first include directory, which takes precedence over the dependency path. The only way I could resolve this was to remove the ck folder from /opt/rocm-version/include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant