|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjcuda.runtime.cudaExtent
public class cudaExtent
Java port of a cudaExtent.
JCuda.cudaMalloc3D(jcuda.runtime.cudaPitchedPtr, jcuda.runtime.cudaExtent),
JCuda.cudaMemset3D(jcuda.runtime.cudaPitchedPtr, int, jcuda.runtime.cudaExtent),
JCuda.cudaMalloc3DArray(jcuda.runtime.cudaArray, jcuda.runtime.cudaChannelFormatDesc, jcuda.runtime.cudaExtent)| Field Summary | |
|---|---|
long |
depth
The depth of this cudaExtent |
long |
height
The height of this cudaExtent, in elements |
long |
width
The width of this cudaExtent, in elements |
| Constructor Summary | |
|---|---|
cudaExtent()
Creates a new cudaExtent with all-zero sizes |
|
cudaExtent(int width,
int height,
int depth)
Creates a new cudaExtent with the given sizes |
|
| 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 |
|---|
public long width
public long height
public long depth
| Constructor Detail |
|---|
public cudaExtent()
public cudaExtent(int width,
int height,
int depth)
width - The width of the cudaExtentheight - The height of the cudaExtentdepth - The depth of the cudaExtent| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||