jcuda.runtime
Class cudaMemoryType

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

public class cudaMemoryType
extends java.lang.Object

CUDA memory types


Field Summary
static int cudaMemoryTypeDevice
          Device memory
static int cudaMemoryTypeHost
          Host memory
 
Method Summary
static java.lang.String stringFor(int k)
          Returns the String identifying the given cudaMemoryType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cudaMemoryTypeHost

public static final int cudaMemoryTypeHost
Host memory

See Also:
Constant Field Values

cudaMemoryTypeDevice

public static final int cudaMemoryTypeDevice
Device memory

See Also:
Constant Field Values
Method Detail

stringFor

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

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