Skip to content

Commit add671d

Browse files
authored
fix: add CUDA to test (#59)
* rm compact helper * add cuda test * recover compact helper
1 parent bc555c9 commit add671d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ TropicalNumbers = "b3a74e9c-7526-4576-a4eb-79c0d4c32334"
2727

2828
[compat]
2929
AbstractTrees = "0.3, 0.4"
30-
CUDA = "3"
30+
CUDA = "4"
3131
DocStringExtensions = "0.8, 0.9"
3232
FFTW = "1.4"
3333
Graphs = "1.7"

test/runtests.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ end
4545
include("multiprocessing.jl")
4646
end
4747

48+
using CUDA
49+
if CUDA.functional()
50+
@testset "cuda" begin
51+
include("cuda.jl")
52+
end
53+
end
54+
4855
# --------------
4956
# doctests
5057
# --------------

0 commit comments

Comments
 (0)