|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.driver.CUDA_MEMCPY2D
public class CUDA_MEMCPY2D
Java port of a CUDA_MEMCPY2D setup.
Most comments are taken from the CUDA reference manual
JCudaDriver.cuMemcpy2D(CUDA_MEMCPY2D)
Field Summary | |
---|---|
CUarray |
dstArray
The destination array. |
CUdeviceptr |
dstDevice
The destination pointer. |
Pointer |
dstHost
The destination pointer. |
int |
dstMemoryType
The destination memory type. |
long |
dstPitch
The destination pitch - ignored when dst is array. |
long |
dstXInBytes
dstXInBytes and dstY specify the base address of the destination data for the copy. |
long |
dstY
dstXInBytes and dstY specify the base address of the destination data for the copy. |
long |
Height
WidthInBytes and Height specify the width (in bytes) and height of the 2D copy being performed. |
CUarray |
srcArray
The source array. |
CUdeviceptr |
srcDevice
The source pointer. |
Pointer |
srcHost
The source pointer. |
int |
srcMemoryType
The source memory type. |
long |
srcPitch
The source pitch - ignored when src is array. |
long |
srcXInBytes
srcXInBytes and srcY specify the base address of the source data for the copy. |
long |
srcY
srcXInBytes and srcY specify the base address of the source data for the copy. |
long |
WidthInBytes
WidthInBytes and Height specify the width (in bytes) and height of the 2D copy being performed. |
Constructor Summary | |
---|---|
CUDA_MEMCPY2D()
Creates a new, uninitialized CUDA_MEMCPY2D |
Method Summary | |
---|---|
java.lang.String |
toFormattedString()
Creates and returns a formatted (aligned, multi-line) String representation of this object |
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 srcXInBytes
public long srcY
public int srcMemoryType
CUmemorytype
public Pointer srcHost
public CUdeviceptr srcDevice
public CUarray srcArray
public long srcPitch
public long dstXInBytes
public long dstY
public int dstMemoryType
CUmemorytype
public Pointer dstHost
public CUdeviceptr dstDevice
public CUarray dstArray
public long dstPitch
public long WidthInBytes
public long Height
Constructor Detail |
---|
public CUDA_MEMCPY2D()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toFormattedString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |