Skip to content

Commit cca721d

Browse files
authored
Fix for unknown cuda drivers (#586)
1 parent 23e0f74 commit cca721d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compiler.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,10 +399,10 @@ function cubinFeatures()
399399
(90, 60),
400400
])
401401
mver = major * 10 + minor
402-
ptx = cuver_map[mver]
403402
if mver > 126
404403
return 86
405404
end
405+
ptx = cuver_map[mver]
406406
return "+ptx$ptx"
407407
end
408408

0 commit comments

Comments
 (0)