FAI-0.1.0.20: Haskell Foreign Accelerate Interface

Copyright(C) 2018 Johann Lee <me@qinka.pro>
LicenseLGPL3
Maintainerme@qinka.pro
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Foreign.FAI.Platform.Host

Description

The host platform instance.

Synopsis

Documentation

data Host Source #

Host backend (use C runtime)

The malloc and free are used for memory management.

Constructors

Host 
Instances
FAI Host Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

FAICopy Host Host Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

Methods

faiMemCopy :: (Storable b, Pf Host a ~ b, Storable c, Pf Host a ~ c) => Buffer Host a -> Buffer Host a -> IO () Source #

type Pf Host Double Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

type Pf Host Float Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

type Pf Host Int Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

type Pf Host Int = Int
type Pf Host Word Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

type Pf Host Word = Word

type family Pf p t :: * Source #

Platform types

Instances
type Pf Host Double Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

type Pf Host Float Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

type Pf Host Int Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

type Pf Host Int = Int
type Pf Host Word Source # 
Instance details

Defined in Foreign.FAI.Platform.Host

type Pf Host Word = Word

nullHostContext :: IO (Context Host) Source #

Null pointer context of Host