loki.transformations.data_offload.tests.test_global_var

Functions

fixture_config()

Default configuration dict with basic options.

fixture_global_variable_analysis_code(tmp_path)

fixture_here()

test_global_variable_analysis(frontend, key, ...)

test_global_variable_offload(frontend, key, ...)

test_transformation_global_var_derived_type_hoist(...)

Test hoisting of derived-type global variable imports.

test_transformation_global_var_hoist(here, ...)

Test hoisting of global variable imports.

test_transformation_global_var_import(here, ...)

Test the generation of offload instructions of global variable imports.

test_transformation_global_var_import_derived_type(...)

Test the generation of offload instructions of derived-type global variable imports.

fixture_here()
fixture_config()

Default configuration dict with basic options.

fixture_global_variable_analysis_code(tmp_path)
test_global_variable_analysis(frontend, key, config, global_variable_analysis_code)
test_global_variable_offload(frontend, key, config, global_variable_analysis_code)
test_transformation_global_var_import(here, config, frontend, tmp_path)

Test the generation of offload instructions of global variable imports.

test_transformation_global_var_import_derived_type(here, config, frontend, tmp_path)

Test the generation of offload instructions of derived-type global variable imports.

test_transformation_global_var_hoist(here, config, frontend, hoist_parameters, ignore_modules, tmp_path)

Test hoisting of global variable imports.

test_transformation_global_var_derived_type_hoist(here, config, frontend, hoist_parameters, tmp_path)

Test hoisting of derived-type global variable imports.