loki.transformations.single_column.tests.test_scc_vector

Functions

fixture_blocking()

fixture_horizontal()

fixture_horizontal_bounds_aliases()

fixture_vertical()

test_scc_devector_section_special_case(...)

Test to highlight the limitations of vector-section trimming.

test_scc_devector_transformation(frontend, ...)

Test the correct identification of vector sections and removal of vector loops.

test_scc_revector_transformation(frontend, ...)

Test removal of vector loops in kernel and re-insertion of a single hoisted horizontal loop in the kernel.

test_scc_revector_transformation_aliased_bounds(...)

Test removal of vector loops in kernel and re-insertion of a single hoisted horizontal loop in the kernel with aliased loop bounds.

test_scc_vector_inlined_call(frontend, ...)

Test that calls targeted for inlining inside a vector region are not treated as separators

test_scc_vector_section_trim_complex(...)

Test to highlight the limitations of vector-section trimming.

test_scc_vector_section_trim_nested(...)

Test the trimming of vector-sections to exclude nested scalar assignments.

test_scc_vector_section_trim_simple(...)

Test the trimming of vector-sections to exclude scalar assignments.

fixture_horizontal()
fixture_horizontal_bounds_aliases()
fixture_vertical()
fixture_blocking()
test_scc_revector_transformation(frontend, horizontal, revector_trafo, ignore_nested_kernel, tmp_path)

Test removal of vector loops in kernel and re-insertion of a single hoisted horizontal loop in the kernel.

test_scc_revector_transformation_aliased_bounds(frontend, horizontal_bounds_aliases, revector_trafo, tmp_path)

Test removal of vector loops in kernel and re-insertion of a single hoisted horizontal loop in the kernel with aliased loop bounds.

test_scc_devector_transformation(frontend, horizontal)

Test the correct identification of vector sections and removal of vector loops.

test_scc_vector_inlined_call(frontend, horizontal, revector_trafo)

Test that calls targeted for inlining inside a vector region are not treated as separators

test_scc_vector_section_trim_simple(frontend, horizontal, trim_vector_sections, revector_trafo)

Test the trimming of vector-sections to exclude scalar assignments.

test_scc_vector_section_trim_nested(frontend, horizontal, trim_vector_sections)

Test the trimming of vector-sections to exclude nested scalar assignments.

test_scc_vector_section_trim_complex(frontend, horizontal, vertical, blocking, trim_vector_sections)

Test to highlight the limitations of vector-section trimming.

test_scc_devector_section_special_case(frontend, horizontal, vertical, blocking, trim_vector_sections, vector_pipeline)

Test to highlight the limitations of vector-section trimming.