-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
[flang][cuda] Using the -x cuda option switch to cc1 instead of fc1 #104483
Labels
Comments
@llvm/issue-subscribers-flang-driver Author: Valentin Clement (バレンタイン クレメン) (clementval)
When trying to compile a cuda fortran example with `-x cuda`, `cc1` is picked but `fc1` should still be used.
|
@banach-space Do you have any idea where this switch is made? |
Roughly here: llvm-project/clang/lib/Driver/ToolChain.cpp Lines 870 to 878 in 15e1e3b
|
Thanks for the pointer @banach-space ! |
clementval
added a commit
that referenced
this issue
Aug 16, 2024
Flang is switch to cc1 when we use `-x cuda`. Make sure we can use fc1 with cuda fortran input. The current pipeline will fail at MLIR level for the moment. #104483
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When trying to compile a cuda fortran example with
-x cuda
,cc1
is picked butfc1
should still be used.The text was updated successfully, but these errors were encountered: