We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0136adf commit 8352e45Copy full SHA for 8352e45
1 file changed
test/alloctest.jl
@@ -33,4 +33,9 @@ backend != "SIMD" && throw(ArgumentError("KernelAbstractions backend not allowed
33
r = run(b)
34
println("▶ Allocated "*@sprintf("%.0f", r.memory/1e3)*" KiB")
35
@test r.memory < 50000 # less than 50 KiB allocated on the best mom_step! run (commit f721343 ≈ 8 KiB)
36
+
37
+ b = @benchmarkable measure!($sim) samples=100; tune!(b) # check 100 times
38
+ r = run(b)
39
+ println("▶ Allocated "*@sprintf("%.0f", r.memory/1e3)*" KiB")
40
+ @test r.memory < 50000 # less than 50 KiB allocated on the best mom_step! run (commit f721343 ≈ 8 KiB)
41
end
0 commit comments