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

nvc++: add -Mnofma to compiler flags #758

Open
BenWibking opened this issue Sep 30, 2024 · 0 comments
Open

nvc++: add -Mnofma to compiler flags #758

BenWibking opened this issue Sep 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BenWibking
Copy link
Collaborator

Describe the bug
We don't currently disable FMA instructions when compiling with nvc++, since it uses compiler flags that differ from gcc and clang.

We can fix this:

To Reproduce
Steps to reproduce the behavior:

  1. Compile any problem with -DCMAKE_CXX_COMPILER=nvc++.
  2. See error.

Additional context
https://forums.developer.nvidia.com/t/nvc-disable-fma-generation-in-host-code/308179

@BenWibking BenWibking added the bug Something isn't working label Sep 30, 2024
@dosubot dosubot bot added the compiler bug caused by a bug in a compiler, not in the code itself label Sep 30, 2024
@BenWibking BenWibking removed the compiler bug caused by a bug in a compiler, not in the code itself label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant