accelerate-1.3.0.0: An embedded language for accelerated array processing
Copyright[2012..2020] The Accelerate Team
LicenseBSD3
MaintainerTrevor L. McDonell <trevor.mcdonell@gmail.com>
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Array.Accelerate.Trafo.Var

Description

 

Documentation

data DeclareVars s t aenv where Source #

Constructors

DeclareVars :: LeftHandSide s t env env' -> (env :> env') -> (forall env''. (env' :> env'') -> Vars s env'' t) -> DeclareVars s t env 

declareVars :: TupR s t -> DeclareVars s t env Source #

type InjectAcc acc = forall env t. PreOpenAcc acc env t -> acc env t Source #

type ExtractAcc acc = forall env t. acc env t -> Maybe (PreOpenAcc acc env t) Source #

avarIn :: InjectAcc acc -> ArrayVar aenv a -> acc aenv a Source #

avarsIn :: forall acc aenv arrs. InjectAcc acc -> ArrayVars aenv arrs -> acc aenv arrs Source #

avarsOut :: ExtractAcc acc -> PreOpenAcc acc aenv a -> Maybe (ArrayVars aenv a) Source #