Skip to content

Makefile: auto-detect Debian/Ubuntu CUDA installation#116

Open
yuluo-yx wants to merge 1 commit into
antirez:mainfrom
yuluo-yx:fix/debian-ubuntu-cuda-detect
Open

Makefile: auto-detect Debian/Ubuntu CUDA installation#116
yuluo-yx wants to merge 1 commit into
antirez:mainfrom
yuluo-yx:fix/debian-ubuntu-cuda-detect

Conversation

@yuluo-yx
Copy link
Copy Markdown

  • Auto-detect Debian/Ubuntu apt-installed CUDA on Linux when the default /usr/local/cuda nvcc path is absent.
  • Set CUDA_HOME to /usr when /usr/bin/nvcc exists so NVCC resolves to the distro-provided compiler.
  • Leave macOS, CPU builds, and existing CUDA linker flags unchanged.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant