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
 long 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.
 long dstHeight
          The destination height - ignored when dst is array and may be 0 if Depth==1
 Pointer dstHost
          The destination pointer.
 long dstLOD
          Must be set to 0
 int dstMemoryType
          The destination memory type.
 long dstPitch
          The destination pitch - ignored when dst is array.
 long dstXInBytes
          dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.
 long dstY
          dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.
 long dstZ
          dstXInBytes, dstY and dstZ specify the base address of the destination data for the copy.
 long 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.
 long srcHeight
          The source height - ignored when src is array and may be 0 if Depth==1
 Pointer srcHost
          The source pointer.
 long srcLOD
          Must be set to 0
 int srcMemoryType
          The source memory type.
 long srcPitch
          The source pitch - ignored when src is array.
 long srcXInBytes
          srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.
 long srcY
          srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.
 long srcZ
          srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.
 long 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 long srcXInBytes
srcXInBytes, srcY and srcZ specify the base address of the source data for the copy.


srcY

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


srcZ

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


srcLOD

public long 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 long srcPitch
The source pitch - ignored when src is array.


srcHeight

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


dstXInBytes

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


dstY

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


dstZ

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


dstLOD

public long 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 long dstPitch
The destination pitch - ignored when dst is array.


dstHeight

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


WidthInBytes

public long 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 long 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 long 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