Skip to content

Commit

Permalink
Fix non-cuda system detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
theComputeKid committed Sep 15, 2024
1 parent bfbb680 commit 4d4559f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function detectNvccVersion(cudaPath)
end
end

if not errorCode == 0 then
if errorCode ~= 0 then
return 0
end

Expand Down

0 comments on commit 4d4559f

Please sign in to comment.