Skip to content

Commit 533e9c3

Browse files
committed
Only test the kernel cache on supported configurations.
1 parent 6cc7c71 commit 533e9c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/cutensor/test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ include("contractions.jl")
1818
include("reductions.jl")
1919

2020
# we should have some kernels in the cache after this
21+
if CUDA.runtime_version() >= v"11.8" && capability(device()) >= v"8.0"
2122
@testset "kernel cache" begin
2223
mktempdir() do dir
2324
cd(dir) do
@@ -27,5 +28,6 @@ include("reductions.jl")
2728
end
2829
end
2930
end
31+
end
3032

3133
end

0 commit comments

Comments
 (0)