jcuda.runtime
Class cudaMemcpyKind

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

public class cudaMemcpyKind
extends java.lang.Object

Memcpy kinds.

See Also:
JCuda.cudaMemcpy(jcuda.Pointer, jcuda.Pointer, long, int), cudaMemcpy3DParms

Field Summary
static int cudaMemcpyDefault
          Default based unified virtual address space
static int cudaMemcpyDeviceToDevice
          Device -> Device
static int cudaMemcpyDeviceToHost
          Device -> Host
static int cudaMemcpyHostToDevice
          Host -> Device
static int cudaMemcpyHostToHost
          Host -> Host
 
Method Summary
static java.lang.String stringFor(int k)
          Returns the String identifying the given cudaMemcpyKind
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cudaMemcpyHostToHost

public static final int cudaMemcpyHostToHost
Host -> Host

See Also:
Constant Field Values

cudaMemcpyHostToDevice

public static final int cudaMemcpyHostToDevice
Host -> Device

See Also:
Constant Field Values

cudaMemcpyDeviceToHost

public static final int cudaMemcpyDeviceToHost
Device -> Host

See Also:
Constant Field Values

cudaMemcpyDeviceToDevice

public static final int cudaMemcpyDeviceToDevice
Device -> Device

See Also:
Constant Field Values

cudaMemcpyDefault

public static final int cudaMemcpyDefault
Default based unified virtual address space

See Also:
Constant Field Values
Method Detail

stringFor

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

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