Copyright | [2009..2017] Trevor L. McDonell |
---|---|
License | BSD |
Safe Haskell | None |
Language | Haskell98 |
Common device functions
- data Compute = Compute !Int !Int
- data ComputeMode
- data DeviceProperties = DeviceProperties {
- deviceName :: !String
- computeCapability :: !Compute
- totalGlobalMem :: !Int64
- totalConstMem :: !Int64
- sharedMemPerBlock :: !Int64
- regsPerBlock :: !Int
- warpSize :: !Int
- maxThreadsPerBlock :: !Int
- maxThreadsPerMultiProcessor :: !Int
- maxBlockSize :: !(Int, Int, Int)
- maxGridSize :: !(Int, Int, Int)
- maxTextureDim1D :: !Int
- maxTextureDim2D :: !(Int, Int)
- maxTextureDim3D :: !(Int, Int, Int)
- clockRate :: !Int
- multiProcessorCount :: !Int
- memPitch :: !Int64
- memBusWidth :: !Int
- memClockRate :: !Int
- textureAlignment :: !Int64
- computeMode :: !ComputeMode
- deviceOverlap :: !Bool
- concurrentKernels :: !Bool
- eccEnabled :: !Bool
- asyncEngineCount :: !Int
- cacheMemL2 :: !Int
- pciInfo :: !PCI
- tccDriverEnabled :: !Bool
- kernelExecTimeoutEnabled :: !Bool
- integrated :: !Bool
- canMapHostMemory :: !Bool
- unifiedAddressing :: !Bool
- streamPriorities :: !Bool
- globalL1Cache :: !Bool
- localL1Cache :: !Bool
- managedMemory :: !Bool
- multiGPUBoard :: !Bool
- multiGPUBoardGroupID :: !Int
- data DeviceResources = DeviceResources {
- threadsPerWarp :: !Int
- coresPerMP :: !Int
- warpsPerMP :: !Int
- threadsPerMP :: !Int
- threadBlocksPerMP :: !Int
- sharedMemPerMP :: !Int
- maxSharedMemPerBlock :: !Int
- regFileSizePerMP :: !Int
- maxRegPerBlock :: !Int
- regAllocUnit :: !Int
- regAllocationStyle :: !Allocation
- maxRegPerThread :: !Int
- sharedMemAllocUnit :: !Int
- warpAllocUnit :: !Int
- warpRegAllocUnit :: !Int
- data Allocation
- data PCI = PCI {}
- deviceResources :: DeviceProperties -> DeviceResources
- describe :: Describe a => a -> String
Documentation
GPU compute capability, major and minor revision number respectively.
data ComputeMode Source #
The compute mode the device is currently in
data DeviceProperties Source #
The properties of a compute device
DeviceProperties | |
|
data DeviceResources Source #
DeviceResources | |
|
data Allocation Source #
deviceResources :: DeviceProperties -> DeviceResources Source #
Extract some additional hardware resource limitations for a given device.