Skip to content

Building with CUDA enabled results in a large number of warnings #260

Description

@fwyzard

Building with a recent version of CUDA (12.8.1, 12.9.0, etc.) results in a large number of warnings like

nvcc warning : Support for offline compilation for architectures prior to '<compute/sm/lto>_75' will be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

Older architectures are still very much supported and largely in use (e.g. NVIDIA V100 is sm_70), so dropping support for them does not make much sense.

Is there a way to pass -Wno-deprecated-gpu-targets to nvcc ?

Should it be passed by default ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions