cuda-0.7.5.1: FFI binding to the CUDA interface for programming NVIDIA GPUs

Copyright[2009..2014] 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 

data DeviceProperties Source #

The properties of a compute device

Constructors

DeviceProperties 

Fields

data DeviceResources Source #

Constructors

DeviceResources 

Fields

data Allocation Source #

Constructors

Warp 
Block 

data PCI Source #

Constructors

PCI 

Fields

Instances

Show PCI Source # 

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 #