loki.transformations.array_indexing.tests.test_vector_notation

Functions

fixture_builder(tmp_path)

test_resolve_masked_inferred_bounds(frontend)

Test the resolution of WHERE stmts with inferred bounds

test_resolve_masked_statements(frontend)

Test resolving of masked statements in kernel.

test_resolve_vector_dimension(frontend)

Test vector resolution utility for a single dimension.

test_transform_explicit_dimensions(tmp_path, ...)

Test making dimensions of arrays explicit and undoing this, thus removing colon notation from array dimensions either for all or for arrays within (inline) calls only.

test_transform_inline_call_resolve_vector_notation(...)

Apply and test resolve vector notation utility to not apply to a inline call although Loki needs to assume it is an array.

test_transform_promote_resolve_vector_notation(...)

Apply and test resolve vector notation utility.

test_transform_resolve_vector_notation_common_loops(...)

Apply and test resolve vector notation utility with already available/appropriate loops.

fixture_builder(tmp_path)
test_transform_promote_resolve_vector_notation(tmp_path, frontend)

Apply and test resolve vector notation utility.

test_transform_resolve_vector_notation_common_loops(tmp_path, frontend, kidia_loop)

Apply and test resolve vector notation utility with already available/appropriate loops.

test_transform_inline_call_resolve_vector_notation(frontend)

Apply and test resolve vector notation utility to not apply to a inline call although Loki needs to assume it is an array.

test_transform_explicit_dimensions(tmp_path, frontend, builder, calls_only)

Test making dimensions of arrays explicit and undoing this, thus removing colon notation from array dimensions either for all or for arrays within (inline) calls only.

test_resolve_vector_dimension(frontend)

Test vector resolution utility for a single dimension.

test_resolve_masked_statements(frontend)

Test resolving of masked statements in kernel.

test_resolve_masked_inferred_bounds(frontend)

Test the resolution of WHERE stmts with inferred bounds