Merged in feature/benchmark-indexing (pull request #171)
e9966f2·Author: Joseph Parker·Closed by: Joseph Parker·2019-07-05
Description
Add tests and benchmark for indexing routines in `g_lo`, xxf_lo, yxf_lo and le_lo, using the layouts xyles, yxles and lexys.
Tests. The tests loop through the global index (eg iglo) and call it_idx etc to get the dimension indices (eg it). It then calls idx to check that this correctly recovers the global index.
Benchmarks. The benchmarks loop though i<layout>_world (many, many times) and calls all the indexing functions.
Add tests and benchmark for indexing routines in `g_lo`,
xxf_lo
,yxf_lo
andle_lo
, using the layoutsxyles
,yxles
andlexys
.Tests. The tests loop through the global index (eg
iglo
) and callit_idx
etc to get the dimension indices (egit
). It then callsidx
to check that this correctly recovers the global index.Benchmarks. The benchmarks loop though
i<layout>_world
(many, many times) and calls all the indexing functions.