loki.transformations.build_system.tests.test_dependency

Functions

fixture_config()

test_dependency_transformation_access_spec_names(...)

Test that global variable imports are not renamed as a call statement would be.

test_dependency_transformation_contained_member(...)

The scheduler currently does not recognize or allow processing contained member routines as part of the scheduler graph traversal.

test_dependency_transformation_filter_items_file_graph(...)

Ensure that the items list given to a transformation in a file graph traversal is filtered to include only used items

test_dependency_transformation_globalvar_imports(...)

Test that global variable imports are not renamed as a call statement would be.

test_dependency_transformation_globalvar_imports_driver_mod(...)

Test that global variable imports are not renamed as a call statement would be.

test_dependency_transformation_header_includes(...)

Test injection of suffixed kernels into unchanged driver routines via c-header includes.

test_dependency_transformation_inline_call(...)

Test injection of suffixed kernel, accessed through inline function call.

test_dependency_transformation_inline_call_result_var(...)

Test injection of suffixed kernel, accessed through inline function call.

test_dependency_transformation_item_filter(...)

Test that injection is not applied to modules that have no procedures in the scheduler graph, even if they have other item members.

test_dependency_transformation_module_wrap(...)

Test injection of suffixed kernels into unchanged driver routines automatic module wrapping of the kernel.

test_dependency_transformation_replace_interface(...)

Test injection of suffixed kernels defined in interface block into unchanged driver routines automatic module wrapping of the kernel.

fixture_config()
test_dependency_transformation_globalvar_imports(frontend, use_scheduler, tmp_path, config)

Test that global variable imports are not renamed as a call statement would be.

test_dependency_transformation_access_spec_names(frontend, use_scheduler, tmp_path, config)

Test that global variable imports are not renamed as a call statement would be.

test_dependency_transformation_globalvar_imports_driver_mod(frontend, use_scheduler, tmp_path, config)

Test that global variable imports are not renamed as a call statement would be.

test_dependency_transformation_header_includes(tmp_path, frontend)

Test injection of suffixed kernels into unchanged driver routines via c-header includes.

test_dependency_transformation_module_wrap(frontend, use_scheduler, tmp_path, config)

Test injection of suffixed kernels into unchanged driver routines automatic module wrapping of the kernel.

test_dependency_transformation_replace_interface(frontend, use_scheduler, module_wrap, tmp_path, config)

Test injection of suffixed kernels defined in interface block into unchanged driver routines automatic module wrapping of the kernel.

test_dependency_transformation_inline_call(frontend)

Test injection of suffixed kernel, accessed through inline function call.

test_dependency_transformation_inline_call_result_var(frontend)

Test injection of suffixed kernel, accessed through inline function call.

test_dependency_transformation_contained_member(frontend, use_scheduler, tmp_path, config)

The scheduler currently does not recognize or allow processing contained member routines as part of the scheduler graph traversal. This test ensures that the transformation class does not recurse into contained members.

test_dependency_transformation_item_filter(frontend, tmp_path, config)

Test that injection is not applied to modules that have no procedures in the scheduler graph, even if they have other item members.

test_dependency_transformation_filter_items_file_graph(tmp_path, frontend, config)

Ensure that the items list given to a transformation in a file graph traversal is filtered to include only used items