futhark-0.25.15: An optimising compiler for a functional, array-oriented language.
Safe HaskellSafe-Inferred
LanguageGHC2021

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 :: AliasableRep rep => Action rep Source #

Print the result to stdout, alias annotations.

printLastUseGPU :: Action GPUMem Source #

Print last use information to stdout.

printFusionGraph :: Action SOACS Source #

Print fusion graph to stdout.

printInterferenceGPU :: Action GPUMem Source #

Print interference information to stdout.

printMemAliasGPU :: Action GPUMem Source #

Print memory alias information to stdout

callGraphAction :: Action SOACS Source #

Print call graph to stdout.

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.

compileMulticoreToWASMAction :: FutharkConfig -> CompilerMode -> FilePath -> Action MCMem Source #

The futhark wasm-multicore action.