jcuda.driver
Class CUDA_MEMCPY3D

java.lang.Object
  extended by jcuda.driver.CUDA_MEMCPY3D

public class CUDA_MEMCPY3D
extends java.lang.Object

Java port of a CUDA_MEMCPY3D setup.

Most comments are taken from the CUDA reference manual

See Also:
JCudaDriver.cuMemcpy3D(CUDA_MEMCPY3D)

Field Summary
 int Depth
          WidthInBytes, Height and Depth specify the width (in bytes), height and depth of the 3D copy being performed.
 CUarray dstArray
          The destination array.
 CUdeviceptr dstDevice
          The destination pointer.
 int dstHeight
          The destination height - ignored when dst is array and may be 0 if Depth==1
 Pointer dstHost
          The destination pointer.
 int dstLOD
          Must be set to 0
 int dstMemoryType
          The destination memory type.
 int dstPitch
          The destination pitch - ignored when dst is array.
 int dstXInBytes
          dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.
 int dstY
          dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.
 int dstZ
          dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.
 int Height
          WidthInBytes, Height and Depth specify the width (in bytes), height and depth of the 3D copy being performed.
 CUarray srcArray
          The source array.
 CUdeviceptr srcDevice
          The source pointer.
 int srcHeight
          The source height - ignored when src is array and may be 0 if Depth==1
 Pointer srcHost
          The source pointer.
 int srcLOD
          Must be set to 0
 int srcMemoryType
          The source memory type.
 int srcPitch
          The source pitch - ignored when src is array.
 int srcXInBytes
          srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.
 int srcY
          srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.
 int srcZ
          srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.
 int WidthInBytes
          WidthInBytes, Height and Depth specify the width (in bytes), height and depth of the 3D copy being performed.
 
Constructor Summary
CUDA_MEMCPY3D()
          Creates a new, uninitialized CUDA_MEMCPY3D
 
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

srcXInBytes

public int srcXInBytes
srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.


srcY

public int srcY
srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.


srcZ

public int srcZ
srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.


srcLOD

public int srcLOD
Must be set to 0


srcMemoryType

public int srcMemoryType
The source memory type.

See Also:
CUmemorytype

srcHost

public Pointer srcHost
The source pointer.


srcDevice

public CUdeviceptr srcDevice
The source pointer.


srcArray

public CUarray srcArray
The source array.


srcPitch

public int srcPitch
The source pitch - ignored when src is array.


srcHeight

public int srcHeight
The source height - ignored when src is array and may be 0 if Depth==1


dstXInBytes

public int dstXInBytes
dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.


dstY

public int dstY
dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.


dstZ

public int dstZ
dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.


dstLOD

public int dstLOD
Must be set to 0


dstMemoryType

public int dstMemoryType
The destination memory type.

See Also:
CUmemorytype

dstHost

public Pointer dstHost
The destination pointer.


dstDevice

public CUdeviceptr dstDevice
The destination pointer.


dstArray

public CUarray dstArray
The destination array.


dstPitch

public int dstPitch
The destination pitch - ignored when dst is array.


dstHeight

public int dstHeight
The destination height - ignored when dst is array and may be 0 if Depth==1


WidthInBytes

public int WidthInBytes
WidthInBytes, Height and Depth specify the width (in bytes), height and depth of the 3D copy being performed. Any pitches must be greater than or equal to WidthInBytes.


Height

public int Height
WidthInBytes, Height and Depth specify the width (in bytes), height and depth of the 3D copy being performed. Any pitches must be greater than or equal to WidthInBytes.


Depth

public int Depth
WidthInBytes, Height and Depth specify the width (in bytes), height and depth of the 3D copy being performed. Any pitches must be greater than or equal to WidthInBytes.

Constructor Detail

CUDA_MEMCPY3D

public CUDA_MEMCPY3D()
Creates a new, uninitialized CUDA_MEMCPY3D

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.

toFormattedString

public java.lang.String toFormattedString()
Creates and returns a formatted (aligned, multi-line) String representation of this object

Returns:
A formatted String representation of this object