Skip to content

feature request: Allow setting nvcc executable via env var.  #995

Open
@MarcusDunn

Description

@MarcusDunn

The env vars CC and CXX can be set to point to C and c++ compilers respectively, I'd like to be able to set the nvcc executable in a similar way.

CMake uses CUDACXX, which seems reasonable enough and would work for my usecase. I currently just modify PATH.

Somthing analogous to CFLAGS and CXXFLAGS for Cuda would also be nice for completions sake, but I have not found a need for it.

I could probably implement and document this myself if this feature is in scope for the project.

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