java.lang.Object
com.ibm.cuda.Dim3
The
Dim3
class represents the dimensions of a cube.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
x
public int xThe size of this cube in the x dimension. -
y
public int yThe size of this cube in the y dimension. -
z
public int zThe size of this cube in the z dimension.
-
-
Constructor Details
-
Dim3
public Dim3(int x) Creates a cube of dimension (x,1,1).- Parameters:
x
- the x dimension
-
Dim3
public Dim3(int x, int y) Creates a cube of dimension (x,y,1).- Parameters:
x
- the x dimensiony
- the y dimension
-
Dim3
public Dim3(int x, int y, int z) Creates a cube of dimension (x,y,z).- Parameters:
x
- the x dimensiony
- the y dimensionz
- the z dimension
-