Skip to content

Why is CMAKE_CUDA_ARCHITECTURES not enough #576

@white238

Description

@white238

In all host-configs we set both CMAKE_CUDA_ARCHITECTURES and add the -arch flag manually to the CMAKE_CUDA_FLAGS. Why is does this seem to be necessary? Is it possibly our reliance on the old FindCUDA, which is soon to be removed?

Does this flag need to be set if CMAKE_CUDA_ARCHITECTURES is set?

Originally posted by @adayton1 in #570 (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