jcuda.driver
Class CUdevprop

java.lang.Object
  extended by jcuda.driver.CUdevprop

public class CUdevprop
extends java.lang.Object

Legacy device properties.

See Also:
JCudaDriver.cuDeviceGetProperties(CUdevprop, CUdevice)

Field Summary
 int clockRate
          The clock frequency in kilohertz;
 int[] maxGridSize
          The maximum sizes of each dimension of a grid;
 int[] maxThreadsDim
          The maximum sizes of each dimension of a block;
 int maxThreadsPerBlock
          The maximum number of threads per block;
 int memPitch
          The maximum pitch allowed by the memory copy functions that involve memory regions allocated through cuMemAllocPitch();
 int regsPerBlock
          The total number of registers available per block;
 int sharedMemPerBlock
          The total amount of shared memory available per block in bytes;
 int SIMDWidth
          The warp size;
 int textureAlign
          The alignment requirement; texture base addresses that are aligned to textureAlign bytes do not need an offset applied to texture fetches
 int totalConstantMemory
          The total amount of constant memory available on the device in bytes;
 
Constructor Summary
CUdevprop()
          Creates a new, uninitialized CUdevprop
 
Method Summary
 java.lang.String toFormattedString()
          Creates and returns a formatted (aligned, multi-line) String representation of this object
 java.lang.String toString()
          Returns a String representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

maxThreadsPerBlock

public int maxThreadsPerBlock
The maximum number of threads per block;


maxThreadsDim

public int[] maxThreadsDim
The maximum sizes of each dimension of a block;


maxGridSize

public int[] maxGridSize
The maximum sizes of each dimension of a grid;


sharedMemPerBlock

public int sharedMemPerBlock
The total amount of shared memory available per block in bytes;


totalConstantMemory

public int totalConstantMemory
The total amount of constant memory available on the device in bytes;


SIMDWidth

public int SIMDWidth
The warp size;


memPitch

public int memPitch
The maximum pitch allowed by the memory copy functions that involve memory regions allocated through cuMemAllocPitch();


regsPerBlock

public int regsPerBlock
The total number of registers available per block;


clockRate

public int clockRate
The clock frequency in kilohertz;


textureAlign

public int textureAlign
The alignment requirement; texture base addresses that are aligned to textureAlign bytes do not need an offset applied to texture fetches

Constructor Detail

CUdevprop

public CUdevprop()
Creates a new, uninitialized CUdevprop

Method Detail

toString

public java.lang.String toString()
Returns a String representation of this object.

Overrides:
toString in class java.lang.Object
Returns:
A String representation of this object.

toFormattedString

public java.lang.String toFormattedString()
Creates and returns a formatted (aligned, multi-line) String representation of this object

Returns:
A formatted String representation of this object