We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a76f7 commit a42ee8aCopy full SHA for a42ee8a
src/backends/cudanative/cudanative.jl
@@ -146,7 +146,7 @@ immutable CUFunction{T}
146
kernel::T
147
end
148
149
-if success(`nvcc --version`)
+if try success(`nvcc --version`); catch false; end
150
include("compilation.jl")
151
hasnvcc() = true
152
else
test/cudanative.jl
@@ -102,7 +102,7 @@ end
102
jy = Array(y)
103
@test map!(sin, jy, jy) ≈ Array(x)
104
105
-
+#
106
# if CUBackend.hasnvcc()
107
# @testset "Custom kernel from string function" begin
108
# x = GPUArray(rand(Float32, 100))
0 commit comments