【问题标题】:how to know the lowest cuda toolkit version that supports for one specific gpu like gtx1080如何知道支持特定 gpu(如 gtx1080)的最低 cuda 工具包版本
【发布时间】:2016-06-28 17:29:38
【问题描述】:

对于像 gtx1080 这样的特定 gpu,我想知道哪些 cuda 工具包版本支持它。浏览了nvidia的官网,没有找到具体的结果。

【问题讨论】:

    标签: gpu nvidia


    【解决方案1】:

    您可以先在以下站点查看 GTX1080 的计算能力 (CC)。它是 CC 6.1。

    https://developer.nvidia.com/cuda-gpus

    然后检查下面的CUDA doc,看看它是否在当前版本的CUDA 7.5的支持CC列表中。不是。

    http://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#compute-capabilities

    所以它应该在未来的版本中得到支持。目前即将发布的版本是 CUDA 8。您可以在其文档中找到它。


    如果您不确定文档的版本,您可以找到与特定 CUDA 安装相关的文档,例如

    /usr/local/cuda-7.5/doc
    

    CUDA编译器的帮助信息也给出了支持的CC列表。

    $ nvcc --help
    --gpu-code <code>,...                      (-code)                           
            Specify the name of the NVIDIA GPU to assemble and optimize PTX for.
            nvcc embeds a compiled code image in the resulting executable for each specified
            <code> architecture, which is a true binary load image for each 'real' architecture
            (such as sm_20), and PTX code for the 'virtual' architecture (such as compute_20).
            During runtime, such embedded PTX code is dynamically compiled by the CUDA
            runtime system if no binary load image is found for the 'current' GPU.
            Architectures specified for options '--gpu-architecture' and '--gpu-code'
            may be 'virtual' as well as 'real', but the <code> architectures must be
            compatible with the <arch> architecture.  When the '--gpu-code' option is
            used, the value for the '--gpu-architecture' option must be a 'virtual' PTX
            architecture.
            For instance, '--gpu-architecture=compute_35' is not compatible with '--gpu-code=sm_30',
            because the earlier compilation stages will assume the availability of 'compute_35'
            features that are not present on 'sm_30'.
            Allowed values for this option:  'compute_20','compute_30','compute_32',
            'compute_35','compute_37','compute_50','compute_52','compute_53','sm_20',
            'sm_21','sm_30','sm_32','sm_35','sm_37','sm_50','sm_52','sm_53'.
    

    【讨论】:

    • 我看到的是这个文档中的CC显示了它支持的一些功能,但它与cuda的版本无关,并且该文档是一个独立的指南文件,与某些特定版本无关库达。所以我还是一头雾水。
    • @luohao 您可以在文档站点的根目录中找到版本号。 docs.nvidia.com/cuda/index.html
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-07-19
    • 1970-01-01
    • 2015-08-07
    • 1970-01-01
    • 2013-10-28
    • 1970-01-01
    相关资源
    最近更新 更多