-
Notifications
You must be signed in to change notification settings - Fork 59
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
Fixes crayftn
+ hip
#608
Fixes crayftn
+ hip
#608
Conversation
@@ -3,14 +3,11 @@ | |||
# | |||
# SPDX-License-Identifier: (BSD-3-Clause) | |||
|
|||
# Author: Noel Chalmers @ Advanced Micro Devices, Inc. |
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.
This no longer bears any relevance to what he originally wrote. This should have been removed when @davidbeckingsale completely rewrote this logic.
cmake/thirdparty/SetupHIP.cmake
Outdated
if(CMAKE_Fortran_COMPILER_ID STREQUAL "Cray") | ||
set(_blt_hip_compile_flags "$<$<COMPILE_LANGUAGE:CXX>:SHELL:--rocm-path=${ROCM_PATH}>") | ||
else() | ||
set(_blt_hip_compile_flags "--rocm-path=${ROCM_PATH}") | ||
endif() | ||
|
||
blt_import_library(NAME blt_hip | ||
COMPILE_FLAGS ${_blt_hip_compile_flags} |
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.
This is the fix. The rest is just consistent formatting.
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.
It turns out that while crayftn < 15 doesn't support the flag crayftn 15 does and we probably actually want to use it when we can?
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.
added a check for this too. Thanks @tomstitt !
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 @white238 !
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 @white238
Fixes #607
Fix originally from Burl Hall! Thanks Burl!