Skip to content

[QST] Handling of missing CUDA driver (runtime loading vs linking) #1243

Description

Hi, and thanks for your work on this library. I am starting to experiment with it, and am getting seriously interested, as a potential replacement for much larger and difficult to handle dependencies.

I have however a question concerning the use of MatX on machines without a NVIDIA driver. It might sound silly, but it's actually a very common situation when integrating such a library in an application. Right now, my understanding is that such an application would fail to start, because the NVIDIA driver is to be linked directly, judging from your cmake and from the fact that I cannot find any occurence of dlopen or similar.

I was wondering how intentional this situation is, if you plan to change it or if on the other hand there are motivations against loading the driver only at runtime. I would consider proposing a patch for that, in case there's interest, even if right now I only started scratching the surface of the library, so that wouldn't be a short-term action.

Thank you.

Activity

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

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