fab.tools.psyclone module#

This file contains the tool class for PSyclone.

class fab.tools.psyclone.Psyclone#

Bases: Tool

This is the base class for PSyclone.

process(api, config, x90_file, psy_file, alg_file, transformation_script=None, additional_parameters=None, kernel_roots=None)#

Run PSyclone with the specified parameters.

Parameters:
  • api (str) – the PSyclone API.

  • x90_file (Path) – the input file for PSyclone

  • psy_file (Path) – the output PSy-layer file.

  • alg_file (Union[Path, str]) – the output modified algorithm file.

  • transformation_script (Optional[Callable[[Path, BuildConfig], Path]]) – an optional transformation script (default: None)

  • additional_parameters (Optional[List[str]]) – optional additional parameters for PSyclone (default: None)

  • kernel_roots (Optional[List[Union[Path, str]]]) – optional directories with kernels. (default: None)