# loki.transformations.data_offload.tests.test_offload

Functions

`test_data_offload_region_complex_remove_openmp`(...) | Test the creation of a data offload region (OpenACC) with driver-side loops and CPU-style OpenMP pragmas to be removed.
`test_data_offload_region_multiple`(frontend) | Test the creation of a device data offload region (!$acc update) from a !$loki data region with multiple kernel calls.
`test_data_offload_region_openacc`(caplog, ...) | Test the creation of a simple device data offload region (!$acc update) from a !$loki data region with a single kernel call.

test_data_offload_region_openacc(caplog, frontend, assume_deviceptr, present_on_device, asynchronous)

  Test the creation of a simple device data offload region (!$acc update) from a !$loki data region with a single kernel call.

test_data_offload_region_complex_remove_openmp(frontend)

  Test the creation of a data offload region (OpenACC) with driver-side loops and CPU-style OpenMP pragmas to be removed.

test_data_offload_region_multiple(frontend)

  Test the creation of a device data offload region (!$acc update) from a !$loki data region with multiple kernel calls.