Top Description Inners Fields Constructors Methods
org.lwjgl.cuda

public Class CUDA_MEMCPY3D_PEER

extends Struct<CUDA_MEMCPY3D_PEER>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct CUDA_MEMCPY3D_PEER {
    size_t srcXInBytes;
    size_t srcY;
    size_t srcZ;
    size_t srcLOD;
    CUmemorytype srcMemoryType;
    void const * srcHost;
    CUdeviceptr srcDevice;
    CUarray srcArray;
    CUcontext srcContext;
    size_t srcPitch;
    size_t srcHeight;
    size_t dstXInBytes;
    size_t dstY;
    size_t dstZ;
    size_t dstLOD;
    CUmemorytype dstMemoryType;
    void * dstHost;
    CUdeviceptr dstDevice;
    CUarray dstArray;
    CUcontext dstContext;
    size_t dstPitch;
    size_t dstHeight;
    size_t WidthInBytes;
    size_t Height;
    size_t Depth;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
DEPTH

The struct member offsets.

public static final int
DSTARRAY

The struct member offsets.

public static final int
DSTCONTEXT

The struct member offsets.

public static final int
DSTDEVICE

The struct member offsets.

public static final int
DSTHEIGHT

The struct member offsets.

public static final int
DSTHOST

The struct member offsets.

public static final int
DSTLOD

The struct member offsets.

public static final int
DSTMEMORYTYPE

The struct member offsets.

public static final int
DSTPITCH

The struct member offsets.

public static final int
DSTXINBYTES

The struct member offsets.

public static final int
DSTY

The struct member offsets.

public static final int
DSTZ

The struct member offsets.

public static final int
HEIGHT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SRCARRAY

The struct member offsets.

public static final int
SRCCONTEXT

The struct member offsets.

public static final int
SRCDEVICE

The struct member offsets.

public static final int
SRCHEIGHT

The struct member offsets.

public static final int
SRCHOST

The struct member offsets.

public static final int
SRCLOD

The struct member offsets.

public static final int
SRCMEMORYTYPE

The struct member offsets.

public static final int
SRCPITCH

The struct member offsets.

public static final int
SRCXINBYTES

The struct member offsets.

public static final int
SRCY

The struct member offsets.

public static final int
SRCZ

The struct member offsets.

public static final int
WIDTHINBYTES

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
CUDA_MEMCPY3D_PEER(long address, ByteBuffer container)

public
CUDA_MEMCPY3D_PEER(ByteBuffer container)

Creates a CUDA_MEMCPY3D_PEER instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static CUDA_MEMCPY3D_PEER
calloc()

Returns a new CUDA_MEMCPY3D_PEER instance allocated with memCalloc.

public static CUDA_MEMCPY3D_PEER.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new CUDA_MEMCPY3D_PEER.Buffer instance allocated with memCalloc.

public static CUDA_MEMCPY3D_PEER
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new CUDA_MEMCPY3D_PEER instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static CUDA_MEMCPY3D_PEER.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new CUDA_MEMCPY3D_PEER.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static CUDA_MEMCPY3D_PEER
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D_PEER
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D_PEER.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D_PEER.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected CUDA_MEMCPY3D_PEER
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static CUDA_MEMCPY3D_PEER
create()

Returns a new CUDA_MEMCPY3D_PEER instance allocated with BufferUtils.

public static CUDA_MEMCPY3D_PEER
create(long address)

Returns a new CUDA_MEMCPY3D_PEER instance for the specified memory address.

public static CUDA_MEMCPY3D_PEER.Buffer
create(int
the buffer capacity
capacity
)

Returns a new CUDA_MEMCPY3D_PEER.Buffer instance allocated with BufferUtils.

public static CUDA_MEMCPY3D_PEER.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a CUDA_MEMCPY3D_PEER.Buffer instance at the specified memory.

public static CUDA_MEMCPY3D_PEER
createSafe(long address)

Like create, but returns null if address is NULL.

public static CUDA_MEMCPY3D_PEER.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public long

Returns:

the value of the Depth field.
Depth
()

public CUDA_MEMCPY3D_PEER
Depth(long value)

Sets the specified value to the Depth field.

public long

Returns:

the value of the dstArray field.
dstArray
()

public CUDA_MEMCPY3D_PEER
dstArray(long value)

Sets the specified value to the dstArray field.

public long

Returns:

the value of the dstContext field.
dstContext
()

public CUDA_MEMCPY3D_PEER
dstContext(long value)

Sets the specified value to the dstContext field.

public long

Returns:

the value of the dstDevice field.
dstDevice
()

public CUDA_MEMCPY3D_PEER
dstDevice(long value)

Sets the specified value to the dstDevice field.

public long

Returns:

the value of the dstHeight field.
dstHeight
()

public CUDA_MEMCPY3D_PEER
dstHeight(long value)

Sets the specified value to the dstHeight field.

public ByteBuffer

Returns:

a ByteBuffer view of the data pointed to by the dstHost field.
dstHost
(int
the number of elements in the returned buffer
capacity
)

public CUDA_MEMCPY3D_PEER
dstHost(ByteBuffer value)

Sets the address of the specified ByteBuffer to the dstHost field.

public long

Returns:

the value of the dstLOD field.
dstLOD
()

public CUDA_MEMCPY3D_PEER
dstLOD(long value)

Sets the specified value to the dstLOD field.

public int

Returns:

the value of the dstMemoryType field.
dstMemoryType
()

public CUDA_MEMCPY3D_PEER
dstMemoryType(int value)

Sets the specified value to the dstMemoryType field.

public long

Returns:

the value of the dstPitch field.
dstPitch
()

public CUDA_MEMCPY3D_PEER
dstPitch(long value)

Sets the specified value to the dstPitch field.

public long

Returns:

the value of the dstXInBytes field.
dstXInBytes
()

public CUDA_MEMCPY3D_PEER
dstXInBytes(long value)

Sets the specified value to the dstXInBytes field.

public long

Returns:

the value of the dstY field.
dstY
()

public CUDA_MEMCPY3D_PEER
dstY(long value)

Sets the specified value to the dstY field.

public long

Returns:

the value of the dstZ field.
dstZ
()

public CUDA_MEMCPY3D_PEER
dstZ(long value)

Sets the specified value to the dstZ field.

public long

Returns:

the value of the Height field.
Height
()

public CUDA_MEMCPY3D_PEER
Height(long value)

Sets the specified value to the Height field.

public static CUDA_MEMCPY3D_PEER
malloc()

Returns a new CUDA_MEMCPY3D_PEER instance allocated with memAlloc.

public static CUDA_MEMCPY3D_PEER.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new CUDA_MEMCPY3D_PEER.Buffer instance allocated with memAlloc.

public static CUDA_MEMCPY3D_PEER
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new CUDA_MEMCPY3D_PEER instance allocated on the specified MemoryStack.

public static CUDA_MEMCPY3D_PEER.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new CUDA_MEMCPY3D_PEER.Buffer instance allocated on the specified MemoryStack.

public static CUDA_MEMCPY3D_PEER
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D_PEER
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D_PEER.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static CUDA_MEMCPY3D_PEER.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static long
nDepth(long struct)

Unsafe version of Depth.

public static void
nDepth(long struct, long value)

Unsafe version of Depth.

public static long
ndstArray(long struct)

Unsafe version of dstArray.

public static void
ndstArray(long struct, long value)

Unsafe version of dstArray.

public static long
ndstContext(long struct)

Unsafe version of dstContext.

public static void
ndstContext(long struct, long value)

Unsafe version of dstContext.

public static long
ndstDevice(long struct)

Unsafe version of dstDevice.

public static void
ndstDevice(long struct, long value)

Unsafe version of dstDevice.

public static long
ndstHeight(long struct)

Unsafe version of dstHeight.

public static void
ndstHeight(long struct, long value)

Unsafe version of dstHeight.

public static ByteBuffer
ndstHost(long struct, int capacity)

Unsafe version of dstHost.

public static void
ndstHost(long struct, ByteBuffer value)

Unsafe version of dstHost.

public static long
ndstLOD(long struct)

Unsafe version of dstLOD.

public static void
ndstLOD(long struct, long value)

Unsafe version of dstLOD.

public static int
ndstMemoryType(long struct)

Unsafe version of dstMemoryType.

public static void
ndstMemoryType(long struct, int value)

Unsafe version of dstMemoryType.

public static long
ndstPitch(long struct)

Unsafe version of dstPitch.

public static void
ndstPitch(long struct, long value)

Unsafe version of dstPitch.

public static long
ndstXInBytes(long struct)

Unsafe version of dstXInBytes.

public static void
ndstXInBytes(long struct, long value)

Unsafe version of dstXInBytes.

public static long
ndstY(long struct)

Unsafe version of dstY.

public static void
ndstY(long struct, long value)

Unsafe version of dstY.

public static long
ndstZ(long struct)

Unsafe version of dstZ.

public static void
ndstZ(long struct, long value)

Unsafe version of dstZ.

public static long
nHeight(long struct)

Unsafe version of Height.

public static void
nHeight(long struct, long value)

Unsafe version of Height.

public static long
nsrcArray(long struct)

Unsafe version of srcArray.

public static void
nsrcArray(long struct, long value)

Unsafe version of srcArray.

public static long
nsrcContext(long struct)

Unsafe version of srcContext.

public static void
nsrcContext(long struct, long value)

Unsafe version of srcContext.

public static long
nsrcDevice(long struct)

Unsafe version of srcDevice.

public static void
nsrcDevice(long struct, long value)

Unsafe version of srcDevice.

public static long
nsrcHeight(long struct)

Unsafe version of srcHeight.

public static void
nsrcHeight(long struct, long value)

Unsafe version of srcHeight.

public static ByteBuffer
nsrcHost(long struct, int capacity)

Unsafe version of srcHost.

public static void
nsrcHost(long struct, ByteBuffer value)

Unsafe version of srcHost.

public static long
nsrcLOD(long struct)

Unsafe version of srcLOD.

public static void
nsrcLOD(long struct, long value)

Unsafe version of srcLOD.

public static int
nsrcMemoryType(long struct)

Unsafe version of srcMemoryType.

public static void
nsrcMemoryType(long struct, int value)

Unsafe version of srcMemoryType.

public static long
nsrcPitch(long struct)

Unsafe version of srcPitch.

public static void
nsrcPitch(long struct, long value)

Unsafe version of srcPitch.

public static long
nsrcXInBytes(long struct)

Unsafe version of srcXInBytes.

public static void
nsrcXInBytes(long struct, long value)

Unsafe version of srcXInBytes.

public static long
nsrcY(long struct)

Unsafe version of srcY.

public static void
nsrcY(long struct, long value)

Unsafe version of srcY.

public static long
nsrcZ(long struct)

Unsafe version of srcZ.

public static void
nsrcZ(long struct, long value)

Unsafe version of srcZ.

public static long
nWidthInBytes(long struct)

Unsafe version of WidthInBytes.

public static void
nWidthInBytes(long struct, long value)

Unsafe version of WidthInBytes.

public CUDA_MEMCPY3D_PEER
set(long srcXInBytes, long srcY, long srcZ, long srcLOD, int srcMemoryType, ByteBuffer srcHost, long srcDevice, long srcArray, long srcContext, long srcPitch, long srcHeight, long dstXInBytes, long dstY, long dstZ, long dstLOD, int dstMemoryType, ByteBuffer dstHost, long dstDevice, long dstArray, long dstContext, long dstPitch, long dstHeight, long WidthInBytes, long Height, long Depth)

Initializes this struct with the specified values.

public CUDA_MEMCPY3D_PEER

Returns:

this struct
set
(CUDA_MEMCPY3D_PEER
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public long

Returns:

the value of the srcArray field.
srcArray
()

public CUDA_MEMCPY3D_PEER
srcArray(long value)

Sets the specified value to the srcArray field.

public long

Returns:

the value of the srcContext field.
srcContext
()

public CUDA_MEMCPY3D_PEER
srcContext(long value)

Sets the specified value to the srcContext field.

public long

Returns:

the value of the srcDevice field.
srcDevice
()

public CUDA_MEMCPY3D_PEER
srcDevice(long value)

Sets the specified value to the srcDevice field.

public long

Returns:

the value of the srcHeight field.
srcHeight
()

public CUDA_MEMCPY3D_PEER
srcHeight(long value)

Sets the specified value to the srcHeight field.

public ByteBuffer

Returns:

a ByteBuffer view of the data pointed to by the srcHost field.
srcHost
(int
the number of elements in the returned buffer
capacity
)

public CUDA_MEMCPY3D_PEER
srcHost(ByteBuffer value)

Sets the address of the specified ByteBuffer to the srcHost field.

public long

Returns:

the value of the srcLOD field.
srcLOD
()

public CUDA_MEMCPY3D_PEER
srcLOD(long value)

Sets the specified value to the srcLOD field.

public int

Returns:

the value of the srcMemoryType field.
srcMemoryType
()

public CUDA_MEMCPY3D_PEER
srcMemoryType(int value)

Sets the specified value to the srcMemoryType field.

public long

Returns:

the value of the srcPitch field.
srcPitch
()

public CUDA_MEMCPY3D_PEER
srcPitch(long value)

Sets the specified value to the srcPitch field.

public long

Returns:

the value of the srcXInBytes field.
srcXInBytes
()

public CUDA_MEMCPY3D_PEER
srcXInBytes(long value)

Sets the specified value to the srcXInBytes field.

public long

Returns:

the value of the srcY field.
srcY
()

public CUDA_MEMCPY3D_PEER
srcY(long value)

Sets the specified value to the srcY field.

public long

Returns:

the value of the srcZ field.
srcZ
()

public CUDA_MEMCPY3D_PEER
srcZ(long value)

Sets the specified value to the srcZ field.

public long

Returns:

the value of the WidthInBytes field.
WidthInBytes
()

public CUDA_MEMCPY3D_PEER
WidthInBytes(long value)

Sets the specified value to the WidthInBytes field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate