Skip to content

Build system limitations for older CUDA versions #48

@rykerfish

Description

@rykerfish

I was attempting to set up libMobility on Brennan's desktop. We ran into a few issues that I thought might have wider applicability to any potential user base.

The main problem is an inability to support older CUDA versions. I think we're limited to CUDA 12+ due to needing span to manage GPU/CPU memory intelligently (is that right?). Because of this, it seems unlikely that we could easily support CUDA 11. Even though the most recent CUDA version 11 were released almost three years ago, do you think it's worth attempting to support them? I think that, in general, HPCs should be able to accommodate CUDA 12, but I'm wondering if this would be a restriction for other people in the research community.

The secondary issue is that the current conda environment.yml file isn't very flexible. Because we install specific CUDA packages, they can install conflicting dependencies if you set a version restriction on one package. Using a meta package with more coverage like cudatoolkit-dev would install dependencies of the correct versions, although it does make the conda environment much bulkier. I don't think this issue particularly matters since we can't support older CUDA versions at the moment anyways, but it may be relevant in the future.

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