{-# OPTIONS_GHC -fno-warn-orphans #-}
module Data.Array.Accelerate.LLVM.PTX.CodeGen (
KernelMetadata(..),
) where
import Data.Array.Accelerate.LLVM.CodeGen
import Data.Array.Accelerate.LLVM.PTX.CodeGen.Base
import Data.Array.Accelerate.LLVM.PTX.CodeGen.Fold
import Data.Array.Accelerate.LLVM.PTX.CodeGen.FoldSeg
import Data.Array.Accelerate.LLVM.PTX.CodeGen.Generate
import Data.Array.Accelerate.LLVM.PTX.CodeGen.Intrinsic ()
import Data.Array.Accelerate.LLVM.PTX.CodeGen.Map
import Data.Array.Accelerate.LLVM.PTX.CodeGen.Permute
import Data.Array.Accelerate.LLVM.PTX.CodeGen.Scan
import Data.Array.Accelerate.LLVM.PTX.Target
instance Skeleton PTX where
map ptx _ = mkMap ptx
generate ptx _ = mkGenerate ptx
fold ptx _ = mkFold ptx
fold1 ptx _ = mkFold1 ptx
foldSeg ptx _ = mkFoldSeg ptx
fold1Seg ptx _ = mkFold1Seg ptx
scanl ptx _ = mkScanl ptx
scanl1 ptx _ = mkScanl1 ptx
scanl' ptx _ = mkScanl' ptx
scanr ptx _ = mkScanr ptx
scanr1 ptx _ = mkScanr1 ptx
scanr' ptx _ = mkScanr' ptx
permute ptx _ = mkPermute ptx