Skip to content

Conversation

@vzakhari
Copy link
Contributor

@vzakhari vzakhari commented Apr 5, 2025

  • DescribeIEEESignaledExceptions() is unused on the device - warning.
  • StopStatementText() could return while marked noreturn - warning.
  • Including cuda/std/complex only in the device compilation
    may cause nvcc to try to register variables in cuda namespace,
    while they are not defined in the host compilation - error.
    I decided to include cuda/std/complex always under RT_USE_LIBCUDACXX.

* DescribeIEEESignaledExceptions() is unused on the device - warning.
* StopStatementText() could return while marked noreturn - warning.
* Including cuda/std/complex only in the device compilation
  may cause nvcc to try to register variables in `cuda` namespace,
  while they are not defined in the host compilation - error.
  I decided to include cuda/std/complex always under RT_USE_LIBCUDACXX.
@vzakhari vzakhari requested review from clementval and klausler April 5, 2025 01:49
@llvmbot llvmbot added the flang Flang issues not falling into any other category label Apr 5, 2025
Copy link
Contributor

@clementval clementval left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for fixing the warnings

@vzakhari vzakhari merged commit 755016a into llvm:main Apr 10, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flang Flang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants