Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Change GPU check to CUDA SDK check. Closes issue #19
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaixhin committed May 8, 2015
1 parent 6c9e644 commit e519b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ifneq ($(GPU), 0)
endif
else
# we assume a Linux-like OS
ifneq ($(shell nvidia-smi > /dev/null 2>&1; echo $$?), 0)
ifneq ($(shell nvcc --version > /dev/null 2>&1; echo $$?), 0)
$(info No CUDA capable GPU installed. Forcing GPU=0)
override GPU := 0
endif
Expand Down

0 comments on commit e519b81

Please sign in to comment.