cuda-0.10.2.0: FFI binding to the CUDA interface for programming NVIDIA GPUs
Copyright[2009..2018] Trevor L. McDonell
LicenseBSD
Safe HaskellNone
LanguageHaskell98

Foreign.CUDA.Analysis.Device

Description

Common device functions

Synopsis

Documentation

data Compute Source #

GPU compute capability, major and minor revision number respectively.

Constructors

Compute !Int !Int 

Instances

Instances details
Eq Compute Source # 
Instance details

Defined in Foreign.CUDA.Analysis.Device

Methods

(==) :: Compute -> Compute -> Bool #

(/=) :: Compute -> Compute -> Bool #

Ord Compute Source # 
Instance details

Defined in Foreign.CUDA.Analysis.Device

Show Compute Source # 
Instance details

Defined in Foreign.CUDA.Analysis.Device

data DeviceProperties Source #

The properties of a compute device

Constructors

DeviceProperties 

Fields

data DeviceResources Source #

Constructors

DeviceResources 

Fields

Instances

Instances details
Show DeviceResources Source # 
Instance details

Defined in Foreign.CUDA.Analysis.Device

data Allocation Source #

Constructors

Warp 
Block 

Instances

Instances details
Show Allocation Source # 
Instance details

Defined in Foreign.CUDA.Analysis.Device

data PCI Source #

Constructors

PCI 

Fields

Instances

Instances details
Show PCI Source # 
Instance details

Defined in Foreign.CUDA.Analysis.Device

Methods

showsPrec :: Int -> PCI -> ShowS #

show :: PCI -> String #

showList :: [PCI] -> ShowS #

deviceResources :: DeviceProperties -> DeviceResources Source #

Extract some additional hardware resource limitations for a given device.

describe :: Describe a => a -> String Source #