Skip to content

Unable to build with old CUDA version (CUDA_COMPUTE_CAP = 52) #907

Open
@nikvoid

Description

Hi, I'm unable to build this crate without changes for old GPU (Tesla M40, capability level 5.2, driver 462). Most of the problems are related to FP16 and the fact that FP16 functions are disabled only in Rust code, but no changes are made to CUDA code. Also there was a minor issue with Nvidia-SMI's --query-gpu=compute_cap, so I have to comment out that code and specify capability level manually.

I've made few dirty patches to make it work, in particular that's comment out Nvidia-SMI query, #define __half float, then comment out FP16 functions with compilation failures.

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions