futhark-0.19.7: An optimising compiler for a functional, array-oriented language.
Safe HaskellNone
LanguageHaskell2010

Futhark.Actions

Description

All (almost) compiler pipelines end with an Action, which does something with the result of the pipeline.

Synopsis

Documentation

printAction :: ASTRep rep => Action rep Source #

Print the result to stdout.

printAliasesAction :: (ASTRep rep, CanBeAliased (Op rep)) => Action rep Source #

Print the result to stdout, alias annotations.

impCodeGenAction :: Action SeqMem Source #

Convert the program to sequential ImpCode and print it to stdout.

kernelImpCodeGenAction :: Action GPUMem Source #

Convert the program to GPU ImpCode and print it to stdout.

multicoreImpCodeGenAction :: Action MCMem Source #

Convert the program to CPU multicore ImpCode and print it to stdout.

metricsAction :: OpMetrics (Op rep) => Action rep Source #

Print metrics about AST node counts to stdout.