Skip to content

Commit d494f72

Browse files
committed
Change chunksize
1 parent a76959a commit d494f72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/core_odes.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function foo(du, u, (A, tmp), t)
1010
nothing
1111
end
1212
#with defined chunk_size
13-
chunk_size = 5
13+
chunk_size = 9
1414
u0 = ones(5, 5)
1515
A = ones(5, 5)
1616
cache = DiffCache(zeros(5, 5), chunk_size)

test/gpu_all.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function foo(du, u, (A, tmp), t)
5656
nothing
5757
end
5858
#with specified chunk_size
59-
chunk_size = 10
59+
chunk_size = 9
6060
u0 = cu(rand(10, 10)) #example kept small for test purposes.
6161
A = cu(-randn(10, 10))
6262
cache = DiffCache(cu(zeros(10, 10)), chunk_size)

0 commit comments

Comments
 (0)