-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update cmake #14
Update cmake #14
Conversation
d91c475
to
b7e134d
Compare
CMakeLists.txt
Outdated
list(APPEND TILEDMM_EXTERNAL_LIBRARIES ROCBLAS::rocblas HIPLIBS::hiplibs) | ||
list(APPEND TILEDMM_DEFINITIONS -D__HIP_PLATFORM_HCC__) # since we are not using the hcc compiler, we have to set up this explicitly | ||
find_package(rocblas REQUIRED) | ||
list(APPEND TILEDMM_EXTERNAL_LIBRARIES rocs::rocblas) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is rocs
a typo for rocm
or is it on purpose?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, yes this is a typo.
2c00c9d
to
b38200f
Compare
- if exists libs/cxxopts is used as submodule, otherwise use find_package - use rocm provided find rocblas - set TILEDDMM_GPU_BACKEND as option with a default value - always install, remove TILEDMM_WITH_INSTALL cmake option - use TARGET_NAME_IF_EXISTS in target_link_libraries - Tiled-MMConfig add targets for tiledmm::cuda|rocm - export compile_commands.json
b38200f
to
3c4a91e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no objection for merging this PR. the cxxopts comment is not blocking at all
5d17f8c
to
2c43a0f
Compare
feel free to merge it whenever you think it is ready. |
- remove `--recursive` from git clone (not required anymore, since cxxopts must be found as external dependency)
2c43a0f
to
1b30619
Compare
Ok, let's wait until Marko approves it. |
Thanks Simon and Mathieu! Looks great to me! |
if exists libs/cxxopts is used as submodule, otherwise use find_packagegit clone
instead ofgit cone --recursive
find_package(rocblas)