Skip to content

Commit 421763b

Browse files
committed
Float32 for gpu tests
1 parent 47dcac8 commit 421763b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/gpu_all.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using LinearAlgebra, OrdinaryDiffEq, Test, PreallocationTools, CUDA
33
#Dispatch tests
44
chunk_size = 5
55
u0_CU = cu(ones(5,5))
6-
dual_CU = cu(zeros(ForwardDiff.Dual{ForwardDiff.Tag{typeof(something), Float64}, Float64, chunk_size}, 2, 2))
6+
dual_CU = cu(zeros(ForwardDiff.Dual{ForwardDiff.Tag{typeof(something), Float32}, Float32, chunk_size}, 2, 2))
77
cache_CU = dualcache(u0_CU, chunk_size)
88
tmp_du_CUA = get_tmp(cache_CU, u0_CU)
99
tmp_dual_du_CUA = get_tmp(cache_CU, dual_CU)

0 commit comments

Comments
 (0)