futhark
Safe HaskellNone
LanguageGHC2021

Futhark.Optimise.Fusion

Description

Perform horizontal and vertical fusion of SOACs. See the paper A T2 Graph-Reduction Approach To Fusion for the basic idea (some extensions discussed in /Design and GPGPU Performance of Futhark’s Redomap Construct/).

Synopsis

Documentation

fuseSOACs :: Maybe Int -> Pass SOACS SOACS Source #

Pass definition with an optional bound on the number of iterations of the fusion convergence loop. 'Just n' runs at most n iterations; Nothing means no bound (iterate until convergence).