Skip to content

Remove CUDA build warnings #1933

Description

@rhornung67

When build Axom using the host config files to configure for llvm@19.1.3_cuda (matrix and rzvector yield the same results), several compiler warnings are emitted. An earlier issue #1848 describes more sources of warnings and work has been done to eliminate some of those warnings. For example,

This issue now supersedes that issue.

The remaining warnings appear to be attributed to two main causes:

  • nvlink warnings due to inability to statically determine stack size
  • calling a host function from host-device function where the host function is an axom::Array method. Axom's array class is not designed to be used in device code. These warnings arise in Axom core and Axom primal. Removing the warnings will require some code re-design and possibly a new storage type for some Axom internals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GPUIssues related to GPU developmentReviewedcompilerRelated to various compilers and their quirksmaintenanceIssues related to code maintenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions