futhark
Safe HaskellNone
LanguageGHC2021

Futhark.Pass.AddGrid

Description

Add grid information to SegOps.

The idea is that all decision making logic regarding the physical topology of GPU execution is located here, rather than being scattered across the flattening transformation.

Synopsis

Documentation

mkVirtGrid :: (MonadBuilder m, Rep m ~ GPU) => m KernelGrid Source #

Make a grid for a fully virtualised kernel.