Skip to content

Commit f940c2c

Browse files
Add summary to perf benchmark
1 parent 519c59c commit f940c2c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

benchmarks/scripts/indexing_and_static_ndranges.jl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@ the performance of vector vs array operations in a broadcast
1818
setting where linear indexing is allowed.
1919
2020
# Summary:
21-
- Pointwise
21+
- On the CPU:
22+
static NDRanges do not play an important role,
23+
but linear indexing is 2x faster than cartesian
24+
indexing.
25+
- On the GPU:
26+
static NDRanges DO play an important role,
27+
but we could (alternatively) see an improvement
28+
by using linear indexing. Supporting StaticNDRanges
29+
also impacts non-pointwise kernels, and yields
30+
nearly the same benefit as linear indexing.
2231
2332
# References:
2433
- https://github.com/CliMA/ClimaCore.jl/issues/1889

0 commit comments

Comments
 (0)