Skip to content

CMakeList.txt doesn't support CUDA Arch 89 #8

@TomMelt

Description

@TomMelt

My GPU has a CUDA architecture of 89 (GTX 4080). Currently the CMakeLists.txt is only setup to handle architectures that end in 0.

When building with default CMakeLists.txt I get the following error when I try to run the example fortran binary ./train:

Accelerator Fatal Error: This file was compiled: -acc=gpu -gpu=cc70 -gpu=cc80 -acc=host or -acc=multicore
Rebuild this file with -gpu=cc89 to use NVIDIA Tesla GPU 0

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