Skip to content

Building without GPU available #4

Description

@filiptibell

Hi! Thank you for this great library.

I am wondering how we could build without a GPU available (such as in GitHub Actions)? I found CUDA_COMPUTE_CAP in the source code, and we are targeting a T4 GPU, so setting that to 75 should be correct and seems to have worked. However, I still hit this and panic:

let max_nvcc_code = *codes.last().expect("no gpu codes parsed from nvcc");

Would it be possible to also manually specify gpu codes?
Would this actually work & build bindings correctly without a GPU?

Metadata

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