7.30. CUDA_MEMCPY3D_PEER_v1

Defined in /dvs/p4/build/sw/gpgpu/bin/x86_64_Linux_release/stub/cuda.h

struct CUDA_MEMCPY3D_PEER_v1

3D memory cross-context copy parameters

Public Members

size_t srcXInBytes

Source X in bytes.

size_t srcY

Source Y.

size_t srcZ

Source Z.

size_t srcLOD

Source LOD.

CUmemorytype srcMemoryType

Source memory type (host, device, array)

const void *srcHost

Source host pointer.

CUdeviceptr srcDevice

Source device pointer.

CUarray srcArray

Source array reference.

CUcontext srcContext

Source context (ignored with srcMemoryType is CU_MEMORYTYPE_ARRAY)

size_t srcPitch

Source pitch (ignored when src is array)

size_t srcHeight

Source height (ignored when src is array; may be 0 if Depth==1)

size_t dstXInBytes

Destination X in bytes.

size_t dstY

Destination Y.

size_t dstZ

Destination Z.

size_t dstLOD

Destination LOD.

CUmemorytype dstMemoryType

Destination memory type (host, device, array)

void *dstHost

Destination host pointer.

CUdeviceptr dstDevice

Destination device pointer.

CUarray dstArray

Destination array reference.

CUcontext dstContext

Destination context (ignored with dstMemoryType is CU_MEMORYTYPE_ARRAY)

size_t dstPitch

Destination pitch (ignored when dst is array)

size_t dstHeight

Destination height (ignored when dst is array; may be 0 if Depth==1)

size_t WidthInBytes

Width of 3D memory copy in bytes.

size_t Height

Height of 3D memory copy.

size_t Depth

Depth of 3D memory copy.