Skip to content

Commit

Permalink
disable CUDA build
Browse files Browse the repository at this point in the history
  • Loading branch information
msuchard committed May 30, 2024
1 parent 8ee4488 commit dd20283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/configure.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (getRversion() < "4.2") { # Windoz
#################### CUDA Toolkit ####################

cuda_home <- system2(command = "find", args = c("/usr/local/", "-maxdepth", "1" ,"-name", "cuda"), stdout = TRUE)
if (length(cuda_home)==0) {
if (TRUE || length(cuda_home)==0) { # By default, no CUDA build
message("no CUDA installation found; only compile host code")
} else {
message(paste0("using CUDA_HOME=", cuda_home))
Expand Down

0 comments on commit dd20283

Please sign in to comment.