|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.runtime.cudaChannelFormatDesc
public class cudaChannelFormatDesc
Java port of the cudaChannelFormatDesc.
Most comments are taken from the CUDA reference manual.
JCuda.cudaMallocArray(jcuda.runtime.cudaArray, jcuda.runtime.cudaChannelFormatDesc, long, long)
,
JCuda.cudaMalloc3DArray(jcuda.runtime.cudaArray, jcuda.runtime.cudaChannelFormatDesc, jcuda.runtime.cudaExtent)
,
cudaChannelFormatKind
Field Summary | |
---|---|
int |
f
The channel format kind. |
int |
w
Number of bits in w component |
int |
x
Number of bits in x component |
int |
y
Number of bits in y component |
int |
z
Number of bits in z component |
Constructor Summary | |
---|---|
cudaChannelFormatDesc()
Creates an uninitialized cudaChannelFormatDesc |
|
cudaChannelFormatDesc(int x,
int y,
int z,
int w,
int f)
Creates a cudaChannelFormatDesc with the given bit counts and the given format kind. |
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 int x
public int y
public int z
public int w
public int f
cudaChannelFormatKind
Constructor Detail |
---|
public cudaChannelFormatDesc()
public cudaChannelFormatDesc(int x, int y, int z, int w, int f)
x
- Number of bits in x componenty
- Number of bits in y componentz
- Number of bits in z componentw
- Number of bits in w componentf
- The format kindcudaChannelFormatKind
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 |