Skip to content

Commit a22d4dc

Browse files
committed
Benchmark reverse on bigger arrays
1 parent ab7c713 commit a22d4dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

perf/array.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,13 @@ gpu_vec_bools = reshape(gpu_mat_bools, length(gpu_mat_bools))
5252

5353
let group = addgroup!(group, "reverse")
5454
group["1d"] = @async_benchmarkable reverse($gpu_vec)
55+
group["1dL"] = @async_benchmarkable reverse($gpu_vec_long)
5556
group["2d"] = @async_benchmarkable reverse($gpu_mat; dims=1)
57+
group["2dL"] = @async_benchmarkable reverse($gpu_mat_long; dims=1)
5658
group["1d_inplace"] = @async_benchmarkable reverse!($gpu_vec)
59+
group["1dL_inplace"] = @async_benchmarkable reverse!($gpu_vec_long)
5760
group["2d_inplace"] = @async_benchmarkable reverse!($gpu_mat; dims=1)
61+
group["2dL_inplace"] = @async_benchmarkable reverse!($gpu_mat_long; dims=2)
5862
end
5963

6064
# group["broadcast"] = @async_benchmarkable $gpu_mat .= 0f0

0 commit comments

Comments
 (0)