# loki.transformations.tests.test_dependency

A selection of tests for (proof-of-concept) transformations changing dependencies through e.g., duplicating or removing kernels (and calls).

Functions

`fixture_config`() | Default configuration dict with basic options.
`fixture_fcode_as_module`(tmp_path) |
`fixture_fcode_as_module_extended`(tmp_path) |
`fixture_fcode_no_module`(tmp_path) |
`fixture_here`() |
`fixture_testdir`(here) |
`test_dependency_duplicate_plan`(tmp_path, ...) |
`test_dependency_duplicate_plan_no_module`(...) |
`test_dependency_duplicate_remove_plan`(...) |
`test_dependency_duplicate_remove_plan_no_module`(...) |
`test_dependency_duplicate_subgraph`(tmp_path, ...) |
`test_dependency_duplicate_trafo`(tmp_path, ...) |
`test_dependency_duplicate_trafo_no_module`(...) |
`test_dependency_remove`(tmp_path, frontend, ...) |
`test_dependency_remove_plan_no_module`(...) |
`test_dependency_remove_trafo_no_module`(...) |

fixture_here()

fixture_testdir(here)

fixture_config()

  Default configuration dict with basic options.

fixture_fcode_as_module(tmp_path)

fixture_fcode_no_module(tmp_path)

test_dependency_duplicate_plan(tmp_path, frontend, suffix, module_suffix, config, full_parse)

test_dependency_duplicate_trafo(tmp_path, frontend, suffix, module_suffix, config)

test_dependency_remove(tmp_path, frontend, config)

test_dependency_duplicate_plan_no_module(tmp_path, frontend, suffix, module_suffix, config, full_parse)

test_dependency_duplicate_trafo_no_module(tmp_path, frontend, suffix, module_suffix, config)

test_dependency_remove_plan_no_module(tmp_path, frontend, config, full_parse)

test_dependency_remove_trafo_no_module(tmp_path, frontend, config)

test_dependency_duplicate_remove_plan(tmp_path, frontend, duplicate_kernels, remove_kernels, config, full_parse)

test_dependency_duplicate_remove_plan_no_module(tmp_path, frontend, duplicate_kernels, remove_kernels, config, full_parse)

fixture_fcode_as_module_extended(tmp_path)

test_dependency_duplicate_subgraph(tmp_path, frontend, suffix, module_suffix, config, full_parse, duplicate_subgraph)