jcuda.runtime
Class cudaGraphicsRegisterFlags

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

public class cudaGraphicsRegisterFlags
extends java.lang.Object

CUDA graphics interop register flags


Field Summary
static int cudaGraphicsRegisterFlagsNone
          Default
static int cudaGraphicsRegisterFlagsReadOnly
          CUDA will not write to this resource
static int cudaGraphicsRegisterFlagsSurfaceLoadStore
          CUDA will bind this resource to a surface reference
static int cudaGraphicsRegisterFlagsTextureGather
          CUDA will perform texture gather operations on this resource
static int cudaGraphicsRegisterFlagsWriteDiscard
          CUDA will only write to and will not read from this resource
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given cudaGraphicsRegisterFlags
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cudaGraphicsRegisterFlagsNone

public static final int cudaGraphicsRegisterFlagsNone
Default

See Also:
Constant Field Values

cudaGraphicsRegisterFlagsReadOnly

public static final int cudaGraphicsRegisterFlagsReadOnly
CUDA will not write to this resource

See Also:
Constant Field Values

cudaGraphicsRegisterFlagsWriteDiscard

public static final int cudaGraphicsRegisterFlagsWriteDiscard
CUDA will only write to and will not read from this resource

See Also:
Constant Field Values

cudaGraphicsRegisterFlagsSurfaceLoadStore

public static final int cudaGraphicsRegisterFlagsSurfaceLoadStore
CUDA will bind this resource to a surface reference

See Also:
Constant Field Values

cudaGraphicsRegisterFlagsTextureGather

public static final int cudaGraphicsRegisterFlagsTextureGather
CUDA will perform texture gather operations on this resource

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns the String identifying the given cudaGraphicsRegisterFlags

Parameters:
n - The cudaGraphicsRegisterFlags
Returns:
The String identifying the given cudaGraphicsRegisterFlags