jcuda.runtime
Class dim3

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

public class dim3
extends java.lang.Object

Java port of a dim3.

See Also:
JCuda.cudaConfigureCall(jcuda.runtime.dim3, jcuda.runtime.dim3, long, jcuda.runtime.cudaStream_t)

Field Summary
 int x
          The x size
 int y
          The y size
 int z
          The z size
 
Constructor Summary
dim3()
          Creates a new dim3, with default size (1,1,1)
dim3(int x, int y, int z)
          Creates a new dim3, with the given size
 
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 int x
The x size


y

public int y
The y size


z

public int z
The z size

Constructor Detail

dim3

public dim3()
Creates a new dim3, with default size (1,1,1)


dim3

public dim3(int x,
            int y,
            int z)
Creates a new dim3, with the given size

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