Indexing tests and benchmarks

Merged
#171 · Created  · Last updated

Merged pull request

Merged in feature/benchmark-indexing (pull request #171)

e9966f2·Author: ·Closed by: ·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.

0 attachments

0 comments

Loading commits...