Skip to content

Commit

Permalink
Change chunksize
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikQQY committed Feb 13, 2025
1 parent a76959a commit d494f72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/core_odes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function foo(du, u, (A, tmp), t)
nothing
end
#with defined chunk_size
chunk_size = 5
chunk_size = 9
u0 = ones(5, 5)
A = ones(5, 5)
cache = DiffCache(zeros(5, 5), chunk_size)
Expand Down
2 changes: 1 addition & 1 deletion test/gpu_all.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function foo(du, u, (A, tmp), t)
nothing
end
#with specified chunk_size
chunk_size = 10
chunk_size = 9
u0 = cu(rand(10, 10)) #example kept small for test purposes.
A = cu(-randn(10, 10))
cache = DiffCache(cu(zeros(10, 10)), chunk_size)
Expand Down

0 comments on commit d494f72

Please sign in to comment.