Peano
Loading...
Searching...
No Matches
test_fuse_steps Namespace Reference

Data Structures

class  _FakeActionSet
class  _FakeSubmodel

Functions

 _chain (*entities)
 A chain of tasks t0 -> t1 -> ... with the given grid entities.
 _groups (step)
 Names of the action sets per task group of the generated observer.
 _step_names (graph, non_fusable_task_pairs=None)
 test_entity_order_fuses_vertex_face_cell_but_not_cell_vertex ()
 test_repeating_task_is_never_fused ()
 test_non_fusable_pair_starts_new_traversal ()
 test_cell_data_do_not_constrain_fusion ()
 test_face_data_written_then_read_prevents_fusion ()
 test_face_data_read_then_written_prevents_fusion ()
 The reconstruction/projection pattern of a Finite Volume time step.
 test_vertex_data_written_twice_prevents_fusion ()
 test_face_data_read_twice_or_temporary_does_not_prevent_fusion ()
 test_independent_tasks_form_one_parallel_node ()
 test_independent_tasks_with_conflicting_data_are_not_parallel ()
 test_independent_tasks_with_conflicting_cell_data_are_fused_but_not_parallel ()
 test_independent_tasks_reading_the_same_cell_data_are_parallel ()
 test_adjacent_parallel_nodes_are_separated_by_a_synchronisation_marker ()
 test_task_with_several_action_sets_is_never_part_of_a_parallel_node ()
 test_face_task_writing_face_data_fuses_with_subsequent_cell_task ()
 Faces are touched for the first time before their adjacent cells, e.g.
 test_face_task_reading_face_data_fuses_with_subsequent_cell_task_writing_it ()
 test_face_tasks_with_conflicting_face_data_are_fused_but_not_parallel ()
 test_cell_task_writing_face_data_is_not_fused_with_subsequent_face_task ()
 test_vertex_task_writing_vertex_data_fuses_with_subsequent_cell_task ()
 test_face_task_writing_vertex_data_prevents_fusion ()
 A vertex is adjacent to faces which are touched only after the cell.
 _graph_with_global_tasks (*tasks)
 _action_sets_per_step (graph)
 test_start_and_end_of_step_tasks_open_and_close_the_first_and_last_traversal ()
 test_end_of_step_tasks_come_after_other_global_tasks_and_follow_their_dependencies ()
 test_global_tasks_of_the_step_do_not_pull_other_tasks_into_the_traversal ()
 The start task is not a predecessor that delays: both cell tasks share a layer.
 test_start_of_step_task_may_not_depend_on_anything ()
 test_task_depending_on_a_global_task_does_not_share_its_traversal ()
 test_end_of_step_task_with_a_dependent_task_ends_its_traversal_instead_of_the_step ()
 test_end_of_step_task_which_an_anchored_one_depends_on_is_anchored_too ()
 test_repeating_first_and_last_traversal_get_their_own_start_and_end_traversal ()
 test_start_and_end_of_step_tasks_without_other_tasks ()
 test_ordered_tasks_put_start_first_and_end_last ()
 test_global_tasks_may_not_hold_data_or_repeat ()

Variables

 VERTEX = Task.GridEntity.VERTEX
 FACE = Task.GridEntity.FACE
 CELL = Task.GridEntity.CELL
 READ_AND_DISCARD = Task.DataAccess.READ_AND_DISCARD
 WRITE = Task.DataAccess.WRITE
 READ_AND_WRITE = Task.DataAccess.READ_AND_WRITE
 TEMPORARY = Task.DataAccess.TEMPORARY
 START = Task.GridEntity.GLOBAL_START_OF_STEP
 END = Task.GridEntity.GLOBAL_END_OF_STEP

Function Documentation

◆ _action_sets_per_step()

test_fuse_steps._action_sets_per_step ( graph)
protected

Definition at line 288 of file test_fuse_steps.py.

◆ _chain()

test_fuse_steps._chain ( * entities)
protected

A chain of tasks t0 -> t1 -> ... with the given grid entities.

Definition at line 33 of file test_fuse_steps.py.

◆ _graph_with_global_tasks()

test_fuse_steps._graph_with_global_tasks ( * tasks)
protected

Definition at line 279 of file test_fuse_steps.py.

◆ _groups()

test_fuse_steps._groups ( step)
protected

Names of the action sets per task group of the generated observer.

Definition at line 45 of file test_fuse_steps.py.

◆ _step_names()

test_fuse_steps._step_names ( graph,
non_fusable_task_pairs = None )
protected

Definition at line 53 of file test_fuse_steps.py.

◆ test_adjacent_parallel_nodes_are_separated_by_a_synchronisation_marker()

test_fuse_steps.test_adjacent_parallel_nodes_are_separated_by_a_synchronisation_marker ( )

Definition at line 182 of file test_fuse_steps.py.

◆ test_cell_data_do_not_constrain_fusion()

test_fuse_steps.test_cell_data_do_not_constrain_fusion ( )

Definition at line 83 of file test_fuse_steps.py.

◆ test_cell_task_writing_face_data_is_not_fused_with_subsequent_face_task()

test_fuse_steps.test_cell_task_writing_face_data_is_not_fused_with_subsequent_face_task ( )

Definition at line 250 of file test_fuse_steps.py.

◆ test_end_of_step_task_which_an_anchored_one_depends_on_is_anchored_too()

test_fuse_steps.test_end_of_step_task_which_an_anchored_one_depends_on_is_anchored_too ( )

Definition at line 369 of file test_fuse_steps.py.

◆ test_end_of_step_task_with_a_dependent_task_ends_its_traversal_instead_of_the_step()

test_fuse_steps.test_end_of_step_task_with_a_dependent_task_ends_its_traversal_instead_of_the_step ( )

Definition at line 355 of file test_fuse_steps.py.

◆ test_end_of_step_tasks_come_after_other_global_tasks_and_follow_their_dependencies()

test_fuse_steps.test_end_of_step_tasks_come_after_other_global_tasks_and_follow_their_dependencies ( )

Definition at line 308 of file test_fuse_steps.py.

◆ test_entity_order_fuses_vertex_face_cell_but_not_cell_vertex()

test_fuse_steps.test_entity_order_fuses_vertex_face_cell_but_not_cell_vertex ( )

Definition at line 60 of file test_fuse_steps.py.

◆ test_face_data_read_then_written_prevents_fusion()

test_fuse_steps.test_face_data_read_then_written_prevents_fusion ( )

The reconstruction/projection pattern of a Finite Volume time step.

Definition at line 99 of file test_fuse_steps.py.

◆ test_face_data_read_twice_or_temporary_does_not_prevent_fusion()

test_fuse_steps.test_face_data_read_twice_or_temporary_does_not_prevent_fusion ( )

Definition at line 116 of file test_fuse_steps.py.

◆ test_face_data_written_then_read_prevents_fusion()

test_fuse_steps.test_face_data_written_then_read_prevents_fusion ( )

Definition at line 91 of file test_fuse_steps.py.

◆ test_face_task_reading_face_data_fuses_with_subsequent_cell_task_writing_it()

test_fuse_steps.test_face_task_reading_face_data_fuses_with_subsequent_cell_task_writing_it ( )

Definition at line 227 of file test_fuse_steps.py.

◆ test_face_task_writing_face_data_fuses_with_subsequent_cell_task()

test_fuse_steps.test_face_task_writing_face_data_fuses_with_subsequent_cell_task ( )

Faces are touched for the first time before their adjacent cells, e.g.

boundary conditions before a reconstruction

Definition at line 218 of file test_fuse_steps.py.

◆ test_face_task_writing_vertex_data_prevents_fusion()

test_fuse_steps.test_face_task_writing_vertex_data_prevents_fusion ( )

A vertex is adjacent to faces which are touched only after the cell.

Definition at line 266 of file test_fuse_steps.py.

◆ test_face_tasks_with_conflicting_face_data_are_fused_but_not_parallel()

test_fuse_steps.test_face_tasks_with_conflicting_face_data_are_fused_but_not_parallel ( )

Definition at line 235 of file test_fuse_steps.py.

◆ test_global_tasks_may_not_hold_data_or_repeat()

test_fuse_steps.test_global_tasks_may_not_hold_data_or_repeat ( )

Definition at line 409 of file test_fuse_steps.py.

◆ test_global_tasks_of_the_step_do_not_pull_other_tasks_into_the_traversal()

test_fuse_steps.test_global_tasks_of_the_step_do_not_pull_other_tasks_into_the_traversal ( )

The start task is not a predecessor that delays: both cell tasks share a layer.

Definition at line 320 of file test_fuse_steps.py.

◆ test_independent_tasks_form_one_parallel_node()

test_fuse_steps.test_independent_tasks_form_one_parallel_node ( )

Definition at line 125 of file test_fuse_steps.py.

◆ test_independent_tasks_reading_the_same_cell_data_are_parallel()

test_fuse_steps.test_independent_tasks_reading_the_same_cell_data_are_parallel ( )

Definition at line 169 of file test_fuse_steps.py.

◆ test_independent_tasks_with_conflicting_cell_data_are_fused_but_not_parallel()

test_fuse_steps.test_independent_tasks_with_conflicting_cell_data_are_fused_but_not_parallel ( )

Definition at line 153 of file test_fuse_steps.py.

◆ test_independent_tasks_with_conflicting_data_are_not_parallel()

test_fuse_steps.test_independent_tasks_with_conflicting_data_are_not_parallel ( )

Definition at line 137 of file test_fuse_steps.py.

◆ test_non_fusable_pair_starts_new_traversal()

test_fuse_steps.test_non_fusable_pair_starts_new_traversal ( )

Definition at line 77 of file test_fuse_steps.py.

◆ test_ordered_tasks_put_start_first_and_end_last()

test_fuse_steps.test_ordered_tasks_put_start_first_and_end_last ( )

Definition at line 398 of file test_fuse_steps.py.

◆ test_repeating_first_and_last_traversal_get_their_own_start_and_end_traversal()

test_fuse_steps.test_repeating_first_and_last_traversal_get_their_own_start_and_end_traversal ( )

Definition at line 380 of file test_fuse_steps.py.

◆ test_repeating_task_is_never_fused()

test_fuse_steps.test_repeating_task_is_never_fused ( )

Definition at line 65 of file test_fuse_steps.py.

◆ test_start_and_end_of_step_tasks_open_and_close_the_first_and_last_traversal()

test_fuse_steps.test_start_and_end_of_step_tasks_open_and_close_the_first_and_last_traversal ( )

Definition at line 295 of file test_fuse_steps.py.

◆ test_start_and_end_of_step_tasks_without_other_tasks()

test_fuse_steps.test_start_and_end_of_step_tasks_without_other_tasks ( )

Definition at line 393 of file test_fuse_steps.py.

◆ test_start_of_step_task_may_not_depend_on_anything()

test_fuse_steps.test_start_of_step_task_may_not_depend_on_anything ( )

Definition at line 332 of file test_fuse_steps.py.

◆ test_task_depending_on_a_global_task_does_not_share_its_traversal()

test_fuse_steps.test_task_depending_on_a_global_task_does_not_share_its_traversal ( )

Definition at line 341 of file test_fuse_steps.py.

◆ test_task_with_several_action_sets_is_never_part_of_a_parallel_node()

test_fuse_steps.test_task_with_several_action_sets_is_never_part_of_a_parallel_node ( )

Definition at line 204 of file test_fuse_steps.py.

◆ test_vertex_data_written_twice_prevents_fusion()

test_fuse_steps.test_vertex_data_written_twice_prevents_fusion ( )

Definition at line 108 of file test_fuse_steps.py.

◆ test_vertex_task_writing_vertex_data_fuses_with_subsequent_cell_task()

test_fuse_steps.test_vertex_task_writing_vertex_data_fuses_with_subsequent_cell_task ( )

Definition at line 258 of file test_fuse_steps.py.

Variable Documentation

◆ CELL

test_fuse_steps.CELL = Task.GridEntity.CELL

Definition at line 10 of file test_fuse_steps.py.

◆ END

test_fuse_steps.END = Task.GridEntity.GLOBAL_END_OF_STEP

Definition at line 276 of file test_fuse_steps.py.

◆ FACE

test_fuse_steps.FACE = Task.GridEntity.FACE

Definition at line 9 of file test_fuse_steps.py.

◆ READ_AND_DISCARD

test_fuse_steps.READ_AND_DISCARD = Task.DataAccess.READ_AND_DISCARD

Definition at line 12 of file test_fuse_steps.py.

◆ READ_AND_WRITE

test_fuse_steps.READ_AND_WRITE = Task.DataAccess.READ_AND_WRITE

Definition at line 14 of file test_fuse_steps.py.

◆ START

test_fuse_steps.START = Task.GridEntity.GLOBAL_START_OF_STEP

Definition at line 275 of file test_fuse_steps.py.

◆ TEMPORARY

test_fuse_steps.TEMPORARY = Task.DataAccess.TEMPORARY

Definition at line 15 of file test_fuse_steps.py.

◆ VERTEX

test_fuse_steps.VERTEX = Task.GridEntity.VERTEX

Definition at line 8 of file test_fuse_steps.py.

◆ WRITE

test_fuse_steps.WRITE = Task.DataAccess.WRITE

Definition at line 13 of file test_fuse_steps.py.