jcuda.runtime
Class cudaResourceType

java.lang.Object
  extended by jcuda.runtime.cudaResourceType

public class cudaResourceType
extends java.lang.Object

CUDA resource types


Field Summary
static int cudaResourceTypeArray
          Array resource
static int cudaResourceTypeLinear
          Linear resource
static int cudaResourceTypeMipmappedArray
          Mipmapped array resource
static int cudaResourceTypePitch2D
          Pitch 2D resource
 
Method Summary
static java.lang.String stringFor(int k)
          Returns the String identifying the given cudaResourceType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cudaResourceTypeArray

public static final int cudaResourceTypeArray
Array resource

See Also:
Constant Field Values

cudaResourceTypeMipmappedArray

public static final int cudaResourceTypeMipmappedArray
Mipmapped array resource

See Also:
Constant Field Values

cudaResourceTypeLinear

public static final int cudaResourceTypeLinear
Linear resource

See Also:
Constant Field Values

cudaResourceTypePitch2D

public static final int cudaResourceTypePitch2D
Pitch 2D resource

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int k)
Returns the String identifying the given cudaResourceType

Parameters:
k - The cudaResourceType
Returns:
The String identifying the given cudaResourceType