jcuda.runtime
Class cudaPos

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

public class cudaPos
extends java.lang.Object

Java port of a cudaPos.

See Also:
cudaMemcpy3DParms

Field Summary
 long x
          The x component
 long y
          The y component
 long z
          The z component
 
Constructor Summary
cudaPos()
          Creates a new cudaPos at (0,0,0)
cudaPos(long x, long y, long z)
          Creates a new cudaPos with the given position
 
Method Summary
 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

x

public long x
The x component


y

public long y
The y component


z

public long z
The z component

Constructor Detail

cudaPos

public cudaPos()
Creates a new cudaPos at (0,0,0)


cudaPos

public cudaPos(long x,
               long y,
               long z)
Creates a new cudaPos with the given position

Parameters:
x - The x component
y - The y component
z - The z component
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.