Skip to content

The Makefile should test for nvidia-smi, not nvcc, to guess if CUDA available #884

@mhucka

Description

@mhucka

Describe the issue

It seems that checking for nvidia-smi is the more reliable way to determine if a system has a usable NVIDIA GPU and the necessary drivers installed for running CUDA applications. Checking for nvcc may only tell you if the system can compile CUDA code, not necessarily if it can run it.

Tell us how to reproduce the issue

No response

Tell us the version of qsim or qsimcirq (if relevant)

No response

Tell us the computing environment (if relevant)

No response

Metadata

Metadata

Assignees

Labels

area/devopsInvolves build systems, Make files, Bazel files, continuous integration, and/or other DevOps topicspriority/p1High priority

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions