Package org.lwjgl.cuda
Class CUDA_MEMCPY3D_PEER
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.cuda.CUDA_MEMCPY3D_PEER
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class CUDA_MEMCPY3D_PEER extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource3D memory cross-context copy parameters.Layout
struct CUDA_MEMCPY3D_PEER { size_tsrcXInBytes(); size_tsrcY(); size_tsrcZ(); size_tsrcLOD(); CUmemorytypesrcMemoryType(); void const *srcHost(int); CUdeviceptrsrcDevice(); CUarraysrcArray(); CUcontextsrcContext(); size_tsrcPitch(); size_tsrcHeight(); size_tdstXInBytes(); size_tdstY(); size_tdstZ(); size_tdstLOD(); CUmemorytypedstMemoryType(); void *dstHost(int); CUdeviceptrdstDevice(); CUarraydstArray(); CUcontextdstContext(); size_tdstPitch(); size_tdstHeight(); size_tWidthInBytes(); size_tHeight(); size_tDepth(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCUDA_MEMCPY3D_PEER.BufferAn array ofCUDA_MEMCPY3D_PEERstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intDEPTH
DSTARRAY
DSTCONTEXT
DSTDEVICE
DSTHEIGHT
DSTHOST
DSTLOD
DSTMEMORYTYPE
DSTPITCH
DSTXINBYTES
DSTY
DSTZ
HEIGHTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSRCARRAY
SRCCONTEXT
SRCDEVICE
SRCHEIGHT
SRCHOST
SRCLOD
SRCMEMORYTYPE
SRCPITCH
SRCXINBYTES
SRCY
SRCZ
WIDTHINBYTESThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description CUDA_MEMCPY3D_PEER(java.nio.ByteBuffer container)Creates aCUDA_MEMCPY3D_PEERinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static CUDA_MEMCPY3D_PEERcalloc()Returns a newCUDA_MEMCPY3D_PEERinstance allocated withmemCalloc.static CUDA_MEMCPY3D_PEER.Buffercalloc(int capacity)Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated withmemCalloc.static CUDA_MEMCPY3D_PEER.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CUDA_MEMCPY3D_PEERcalloc(org.lwjgl.system.MemoryStack stack)Returns a newCUDA_MEMCPY3D_PEERinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static CUDA_MEMCPY3D_PEERcallocStack()Deprecated.static CUDA_MEMCPY3D_PEER.BuffercallocStack(int capacity)Deprecated.static CUDA_MEMCPY3D_PEER.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static CUDA_MEMCPY3D_PEERcallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static CUDA_MEMCPY3D_PEERcreate()Returns a newCUDA_MEMCPY3D_PEERinstance allocated withBufferUtils.static CUDA_MEMCPY3D_PEER.Buffercreate(int capacity)Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated withBufferUtils.static CUDA_MEMCPY3D_PEERcreate(long address)Returns a newCUDA_MEMCPY3D_PEERinstance for the specified memory address.static CUDA_MEMCPY3D_PEER.Buffercreate(long address, int capacity)Create aCUDA_MEMCPY3D_PEER.Bufferinstance at the specified memory.static CUDA_MEMCPY3D_PEERcreateSafe(long address)static CUDA_MEMCPY3D_PEER.BuffercreateSafe(long address, int capacity)longDepth()Depth of 3D memory copyCUDA_MEMCPY3D_PEERDepth(long value)Sets the specified value to theDepth()field.longdstArray()Destination array referenceCUDA_MEMCPY3D_PEERdstArray(long value)Sets the specified value to thedstArray()field.longdstContext()Destination context (ignored withdstMemoryTypeisMEMORYTYPE_ARRAY)CUDA_MEMCPY3D_PEERdstContext(long value)Sets the specified value to thedstContext()field.longdstDevice()Destination device pointerCUDA_MEMCPY3D_PEERdstDevice(long value)Sets the specified value to thedstDevice()field.longdstHeight()Destination height (ignored when dst is array; may be 0 if Depth==1)CUDA_MEMCPY3D_PEERdstHeight(long value)Sets the specified value to thedstHeight()field.java.nio.ByteBufferdstHost(int capacity)CUDA_MEMCPY3D_PEERdstHost(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto thedstHost(int)field.longdstLOD()Destination LODCUDA_MEMCPY3D_PEERdstLOD(long value)Sets the specified value to thedstLOD()field.intdstMemoryType()Destination memory type (host, device, array)CUDA_MEMCPY3D_PEERdstMemoryType(int value)Sets the specified value to thedstMemoryType()field.longdstPitch()Destination pitch (ignored when dst is array)CUDA_MEMCPY3D_PEERdstPitch(long value)Sets the specified value to thedstPitch()field.longdstXInBytes()Destination X in bytesCUDA_MEMCPY3D_PEERdstXInBytes(long value)Sets the specified value to thedstXInBytes()field.longdstY()Destination YCUDA_MEMCPY3D_PEERdstY(long value)Sets the specified value to thedstY()field.longdstZ()Destination ZCUDA_MEMCPY3D_PEERdstZ(long value)Sets the specified value to thedstZ()field.longHeight()Height of 3D memory copyCUDA_MEMCPY3D_PEERHeight(long value)Sets the specified value to theHeight()field.static CUDA_MEMCPY3D_PEERmalloc()Returns a newCUDA_MEMCPY3D_PEERinstance allocated withmemAlloc.static CUDA_MEMCPY3D_PEER.Buffermalloc(int capacity)Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated withmemAlloc.static CUDA_MEMCPY3D_PEER.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated on the specifiedMemoryStack.static CUDA_MEMCPY3D_PEERmalloc(org.lwjgl.system.MemoryStack stack)Returns a newCUDA_MEMCPY3D_PEERinstance allocated on the specifiedMemoryStack.static CUDA_MEMCPY3D_PEERmallocStack()Deprecated.static CUDA_MEMCPY3D_PEER.BuffermallocStack(int capacity)Deprecated.static CUDA_MEMCPY3D_PEER.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Deprecated.static CUDA_MEMCPY3D_PEERmallocStack(org.lwjgl.system.MemoryStack stack)Deprecated.static longnDepth(long struct)Unsafe version ofDepth().static voidnDepth(long struct, long value)Unsafe version ofDepth.static longndstArray(long struct)Unsafe version ofdstArray().static voidndstArray(long struct, long value)Unsafe version ofdstArray.static longndstContext(long struct)Unsafe version ofdstContext().static voidndstContext(long struct, long value)Unsafe version ofdstContext.static longndstDevice(long struct)Unsafe version ofdstDevice().static voidndstDevice(long struct, long value)Unsafe version ofdstDevice.static longndstHeight(long struct)Unsafe version ofdstHeight().static voidndstHeight(long struct, long value)Unsafe version ofdstHeight.static java.nio.ByteBufferndstHost(long struct, int capacity)Unsafe version ofdstHost.static voidndstHost(long struct, java.nio.ByteBuffer value)Unsafe version ofdstHost.static longndstLOD(long struct)Unsafe version ofdstLOD().static voidndstLOD(long struct, long value)Unsafe version ofdstLOD.static intndstMemoryType(long struct)Unsafe version ofdstMemoryType().static voidndstMemoryType(long struct, int value)Unsafe version ofdstMemoryType.static longndstPitch(long struct)Unsafe version ofdstPitch().static voidndstPitch(long struct, long value)Unsafe version ofdstPitch.static longndstXInBytes(long struct)Unsafe version ofdstXInBytes().static voidndstXInBytes(long struct, long value)Unsafe version ofdstXInBytes.static longndstY(long struct)Unsafe version ofdstY().static voidndstY(long struct, long value)Unsafe version ofdstY.static longndstZ(long struct)Unsafe version ofdstZ().static voidndstZ(long struct, long value)Unsafe version ofdstZ.static longnHeight(long struct)Unsafe version ofHeight().static voidnHeight(long struct, long value)Unsafe version ofHeight.static longnsrcArray(long struct)Unsafe version ofsrcArray().static voidnsrcArray(long struct, long value)Unsafe version ofsrcArray.static longnsrcContext(long struct)Unsafe version ofsrcContext().static voidnsrcContext(long struct, long value)Unsafe version ofsrcContext.static longnsrcDevice(long struct)Unsafe version ofsrcDevice().static voidnsrcDevice(long struct, long value)Unsafe version ofsrcDevice.static longnsrcHeight(long struct)Unsafe version ofsrcHeight().static voidnsrcHeight(long struct, long value)Unsafe version ofsrcHeight.static java.nio.ByteBuffernsrcHost(long struct, int capacity)Unsafe version ofsrcHost.static voidnsrcHost(long struct, java.nio.ByteBuffer value)Unsafe version ofsrcHost.static longnsrcLOD(long struct)Unsafe version ofsrcLOD().static voidnsrcLOD(long struct, long value)Unsafe version ofsrcLOD.static intnsrcMemoryType(long struct)Unsafe version ofsrcMemoryType().static voidnsrcMemoryType(long struct, int value)Unsafe version ofsrcMemoryType.static longnsrcPitch(long struct)Unsafe version ofsrcPitch().static voidnsrcPitch(long struct, long value)Unsafe version ofsrcPitch.static longnsrcXInBytes(long struct)Unsafe version ofsrcXInBytes().static voidnsrcXInBytes(long struct, long value)Unsafe version ofsrcXInBytes.static longnsrcY(long struct)Unsafe version ofsrcY().static voidnsrcY(long struct, long value)Unsafe version ofsrcY.static longnsrcZ(long struct)Unsafe version ofsrcZ().static voidnsrcZ(long struct, long value)Unsafe version ofsrcZ.static longnWidthInBytes(long struct)Unsafe version ofWidthInBytes().static voidnWidthInBytes(long struct, long value)Unsafe version ofWidthInBytes.CUDA_MEMCPY3D_PEERset(long srcXInBytes, long srcY, long srcZ, long srcLOD, int srcMemoryType, java.nio.ByteBuffer srcHost, long srcDevice, long srcArray, long srcContext, long srcPitch, long srcHeight, long dstXInBytes, long dstY, long dstZ, long dstLOD, int dstMemoryType, java.nio.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.CUDA_MEMCPY3D_PEERset(CUDA_MEMCPY3D_PEER src)Copies the specified struct data to this struct.intsizeof()longsrcArray()Source array referenceCUDA_MEMCPY3D_PEERsrcArray(long value)Sets the specified value to thesrcArray()field.longsrcContext()Source context (ignored withsrcMemoryTypeisMEMORYTYPE_ARRAY)CUDA_MEMCPY3D_PEERsrcContext(long value)Sets the specified value to thesrcContext()field.longsrcDevice()Source device pointerCUDA_MEMCPY3D_PEERsrcDevice(long value)Sets the specified value to thesrcDevice()field.longsrcHeight()Source height (ignored when src is array; may be 0 if Depth==1)CUDA_MEMCPY3D_PEERsrcHeight(long value)Sets the specified value to thesrcHeight()field.java.nio.ByteBuffersrcHost(int capacity)CUDA_MEMCPY3D_PEERsrcHost(java.nio.ByteBuffer value)Sets the address of the specifiedByteBufferto thesrcHost(int)field.longsrcLOD()Source LODCUDA_MEMCPY3D_PEERsrcLOD(long value)Sets the specified value to thesrcLOD()field.intsrcMemoryType()Source memory type (host, device, array)CUDA_MEMCPY3D_PEERsrcMemoryType(int value)Sets the specified value to thesrcMemoryType()field.longsrcPitch()Source pitch (ignored when src is array)CUDA_MEMCPY3D_PEERsrcPitch(long value)Sets the specified value to thesrcPitch()field.longsrcXInBytes()Source X in bytesCUDA_MEMCPY3D_PEERsrcXInBytes(long value)Sets the specified value to thesrcXInBytes()field.longsrcY()Source YCUDA_MEMCPY3D_PEERsrcY(long value)Sets the specified value to thesrcY()field.longsrcZ()Source ZCUDA_MEMCPY3D_PEERsrcZ(long value)Sets the specified value to thesrcZ()field.longWidthInBytes()Width of 3D memory copy in bytesCUDA_MEMCPY3D_PEERWidthInBytes(long value)Sets the specified value to theWidthInBytes()field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
SRCXINBYTES, SRCY, SRCZ, SRCLOD, SRCMEMORYTYPE, SRCHOST, SRCDEVICE, SRCARRAY, SRCCONTEXT, SRCPITCH, SRCHEIGHT, DSTXINBYTES, DSTY, DSTZ, DSTLOD, DSTMEMORYTYPE, DSTHOST, DSTDEVICE, DSTARRAY, DSTCONTEXT, DSTPITCH, DSTHEIGHT, WIDTHINBYTES, HEIGHT, DEPTH
The struct member offsets.
-
-
Constructor Detail
-
CUDA_MEMCPY3D_PEER
public CUDA_MEMCPY3D_PEER(java.nio.ByteBuffer container)
Creates aCUDA_MEMCPY3D_PEERinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
srcXInBytes
public long srcXInBytes()
Source X in bytes
-
srcY
public long srcY()
Source Y
-
srcZ
public long srcZ()
Source Z
-
srcLOD
public long srcLOD()
Source LOD
-
srcMemoryType
public int srcMemoryType()
Source memory type (host, device, array)
-
srcHost
@Nullable public java.nio.ByteBuffer srcHost(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- Source host pointer
-
srcDevice
public long srcDevice()
Source device pointer
-
srcArray
public long srcArray()
Source array reference
-
srcContext
public long srcContext()
Source context (ignored withsrcMemoryTypeisMEMORYTYPE_ARRAY)
-
srcPitch
public long srcPitch()
Source pitch (ignored when src is array)
-
srcHeight
public long srcHeight()
Source height (ignored when src is array; may be 0 if Depth==1)
-
dstXInBytes
public long dstXInBytes()
Destination X in bytes
-
dstY
public long dstY()
Destination Y
-
dstZ
public long dstZ()
Destination Z
-
dstLOD
public long dstLOD()
Destination LOD
-
dstMemoryType
public int dstMemoryType()
Destination memory type (host, device, array)
-
dstHost
@Nullable public java.nio.ByteBuffer dstHost(int capacity)
- Parameters:
capacity- the number of elements in the returned buffer- Returns:
- Destination host pointer
-
dstDevice
public long dstDevice()
Destination device pointer
-
dstArray
public long dstArray()
Destination array reference
-
dstContext
public long dstContext()
Destination context (ignored withdstMemoryTypeisMEMORYTYPE_ARRAY)
-
dstPitch
public long dstPitch()
Destination pitch (ignored when dst is array)
-
dstHeight
public long dstHeight()
Destination height (ignored when dst is array; may be 0 if Depth==1)
-
WidthInBytes
public long WidthInBytes()
Width of 3D memory copy in bytes
-
Height
public long Height()
Height of 3D memory copy
-
Depth
public long Depth()
Depth of 3D memory copy
-
srcXInBytes
public CUDA_MEMCPY3D_PEER srcXInBytes(long value)
Sets the specified value to thesrcXInBytes()field.
-
srcY
public CUDA_MEMCPY3D_PEER srcY(long value)
Sets the specified value to thesrcY()field.
-
srcZ
public CUDA_MEMCPY3D_PEER srcZ(long value)
Sets the specified value to thesrcZ()field.
-
srcLOD
public CUDA_MEMCPY3D_PEER srcLOD(long value)
Sets the specified value to thesrcLOD()field.
-
srcMemoryType
public CUDA_MEMCPY3D_PEER srcMemoryType(int value)
Sets the specified value to thesrcMemoryType()field.
-
srcHost
public CUDA_MEMCPY3D_PEER srcHost(@Nullable java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto thesrcHost(int)field.
-
srcDevice
public CUDA_MEMCPY3D_PEER srcDevice(long value)
Sets the specified value to thesrcDevice()field.
-
srcArray
public CUDA_MEMCPY3D_PEER srcArray(long value)
Sets the specified value to thesrcArray()field.
-
srcContext
public CUDA_MEMCPY3D_PEER srcContext(long value)
Sets the specified value to thesrcContext()field.
-
srcPitch
public CUDA_MEMCPY3D_PEER srcPitch(long value)
Sets the specified value to thesrcPitch()field.
-
srcHeight
public CUDA_MEMCPY3D_PEER srcHeight(long value)
Sets the specified value to thesrcHeight()field.
-
dstXInBytes
public CUDA_MEMCPY3D_PEER dstXInBytes(long value)
Sets the specified value to thedstXInBytes()field.
-
dstY
public CUDA_MEMCPY3D_PEER dstY(long value)
Sets the specified value to thedstY()field.
-
dstZ
public CUDA_MEMCPY3D_PEER dstZ(long value)
Sets the specified value to thedstZ()field.
-
dstLOD
public CUDA_MEMCPY3D_PEER dstLOD(long value)
Sets the specified value to thedstLOD()field.
-
dstMemoryType
public CUDA_MEMCPY3D_PEER dstMemoryType(int value)
Sets the specified value to thedstMemoryType()field.
-
dstHost
public CUDA_MEMCPY3D_PEER dstHost(@Nullable java.nio.ByteBuffer value)
Sets the address of the specifiedByteBufferto thedstHost(int)field.
-
dstDevice
public CUDA_MEMCPY3D_PEER dstDevice(long value)
Sets the specified value to thedstDevice()field.
-
dstArray
public CUDA_MEMCPY3D_PEER dstArray(long value)
Sets the specified value to thedstArray()field.
-
dstContext
public CUDA_MEMCPY3D_PEER dstContext(long value)
Sets the specified value to thedstContext()field.
-
dstPitch
public CUDA_MEMCPY3D_PEER dstPitch(long value)
Sets the specified value to thedstPitch()field.
-
dstHeight
public CUDA_MEMCPY3D_PEER dstHeight(long value)
Sets the specified value to thedstHeight()field.
-
WidthInBytes
public CUDA_MEMCPY3D_PEER WidthInBytes(long value)
Sets the specified value to theWidthInBytes()field.
-
Height
public CUDA_MEMCPY3D_PEER Height(long value)
Sets the specified value to theHeight()field.
-
Depth
public CUDA_MEMCPY3D_PEER Depth(long value)
Sets the specified value to theDepth()field.
-
set
public CUDA_MEMCPY3D_PEER set(long srcXInBytes, long srcY, long srcZ, long srcLOD, int srcMemoryType, @Nullable java.nio.ByteBuffer srcHost, long srcDevice, long srcArray, long srcContext, long srcPitch, long srcHeight, long dstXInBytes, long dstY, long dstZ, long dstLOD, int dstMemoryType, @Nullable java.nio.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.
-
set
public CUDA_MEMCPY3D_PEER set(CUDA_MEMCPY3D_PEER src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static CUDA_MEMCPY3D_PEER malloc()
Returns a newCUDA_MEMCPY3D_PEERinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static CUDA_MEMCPY3D_PEER calloc()
Returns a newCUDA_MEMCPY3D_PEERinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static CUDA_MEMCPY3D_PEER create()
Returns a newCUDA_MEMCPY3D_PEERinstance allocated withBufferUtils.
-
create
public static CUDA_MEMCPY3D_PEER create(long address)
Returns a newCUDA_MEMCPY3D_PEERinstance for the specified memory address.
-
createSafe
@Nullable public static CUDA_MEMCPY3D_PEER createSafe(long address)
-
malloc
public static CUDA_MEMCPY3D_PEER.Buffer malloc(int capacity)
Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static CUDA_MEMCPY3D_PEER.Buffer calloc(int capacity)
Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static CUDA_MEMCPY3D_PEER.Buffer create(int capacity)
Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static CUDA_MEMCPY3D_PEER.Buffer create(long address, int capacity)
Create aCUDA_MEMCPY3D_PEER.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static CUDA_MEMCPY3D_PEER.Buffer createSafe(long address, int capacity)
-
mallocStack
@Deprecated public static CUDA_MEMCPY3D_PEER mallocStack()
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static CUDA_MEMCPY3D_PEER callocStack()
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static CUDA_MEMCPY3D_PEER mallocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(MemoryStack)instead.
-
callocStack
@Deprecated public static CUDA_MEMCPY3D_PEER callocStack(org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(MemoryStack)instead.
-
mallocStack
@Deprecated public static CUDA_MEMCPY3D_PEER.Buffer mallocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static CUDA_MEMCPY3D_PEER.Buffer callocStack(int capacity)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
mallocStack
@Deprecated public static CUDA_MEMCPY3D_PEER.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usemalloc(int, MemoryStack)instead.
-
callocStack
@Deprecated public static CUDA_MEMCPY3D_PEER.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Deprecated.Deprecated for removal in 3.4.0. Usecalloc(int, MemoryStack)instead.
-
malloc
public static CUDA_MEMCPY3D_PEER malloc(org.lwjgl.system.MemoryStack stack)
Returns a newCUDA_MEMCPY3D_PEERinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static CUDA_MEMCPY3D_PEER calloc(org.lwjgl.system.MemoryStack stack)
Returns a newCUDA_MEMCPY3D_PEERinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static CUDA_MEMCPY3D_PEER.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static CUDA_MEMCPY3D_PEER.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newCUDA_MEMCPY3D_PEER.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsrcXInBytes
public static long nsrcXInBytes(long struct)
Unsafe version ofsrcXInBytes().
-
nsrcY
public static long nsrcY(long struct)
Unsafe version ofsrcY().
-
nsrcZ
public static long nsrcZ(long struct)
Unsafe version ofsrcZ().
-
nsrcLOD
public static long nsrcLOD(long struct)
Unsafe version ofsrcLOD().
-
nsrcMemoryType
public static int nsrcMemoryType(long struct)
Unsafe version ofsrcMemoryType().
-
nsrcHost
@Nullable public static java.nio.ByteBuffer nsrcHost(long struct, int capacity)Unsafe version ofsrcHost.
-
nsrcDevice
public static long nsrcDevice(long struct)
Unsafe version ofsrcDevice().
-
nsrcArray
public static long nsrcArray(long struct)
Unsafe version ofsrcArray().
-
nsrcContext
public static long nsrcContext(long struct)
Unsafe version ofsrcContext().
-
nsrcPitch
public static long nsrcPitch(long struct)
Unsafe version ofsrcPitch().
-
nsrcHeight
public static long nsrcHeight(long struct)
Unsafe version ofsrcHeight().
-
ndstXInBytes
public static long ndstXInBytes(long struct)
Unsafe version ofdstXInBytes().
-
ndstY
public static long ndstY(long struct)
Unsafe version ofdstY().
-
ndstZ
public static long ndstZ(long struct)
Unsafe version ofdstZ().
-
ndstLOD
public static long ndstLOD(long struct)
Unsafe version ofdstLOD().
-
ndstMemoryType
public static int ndstMemoryType(long struct)
Unsafe version ofdstMemoryType().
-
ndstHost
@Nullable public static java.nio.ByteBuffer ndstHost(long struct, int capacity)Unsafe version ofdstHost.
-
ndstDevice
public static long ndstDevice(long struct)
Unsafe version ofdstDevice().
-
ndstArray
public static long ndstArray(long struct)
Unsafe version ofdstArray().
-
ndstContext
public static long ndstContext(long struct)
Unsafe version ofdstContext().
-
ndstPitch
public static long ndstPitch(long struct)
Unsafe version ofdstPitch().
-
ndstHeight
public static long ndstHeight(long struct)
Unsafe version ofdstHeight().
-
nWidthInBytes
public static long nWidthInBytes(long struct)
Unsafe version ofWidthInBytes().
-
nHeight
public static long nHeight(long struct)
Unsafe version ofHeight().
-
nDepth
public static long nDepth(long struct)
Unsafe version ofDepth().
-
nsrcXInBytes
public static void nsrcXInBytes(long struct, long value)Unsafe version ofsrcXInBytes.
-
nsrcY
public static void nsrcY(long struct, long value)Unsafe version ofsrcY.
-
nsrcZ
public static void nsrcZ(long struct, long value)Unsafe version ofsrcZ.
-
nsrcLOD
public static void nsrcLOD(long struct, long value)Unsafe version ofsrcLOD.
-
nsrcMemoryType
public static void nsrcMemoryType(long struct, int value)Unsafe version ofsrcMemoryType.
-
nsrcHost
public static void nsrcHost(long struct, @Nullable java.nio.ByteBuffer value)Unsafe version ofsrcHost.
-
nsrcDevice
public static void nsrcDevice(long struct, long value)Unsafe version ofsrcDevice.
-
nsrcArray
public static void nsrcArray(long struct, long value)Unsafe version ofsrcArray.
-
nsrcContext
public static void nsrcContext(long struct, long value)Unsafe version ofsrcContext.
-
nsrcPitch
public static void nsrcPitch(long struct, long value)Unsafe version ofsrcPitch.
-
nsrcHeight
public static void nsrcHeight(long struct, long value)Unsafe version ofsrcHeight.
-
ndstXInBytes
public static void ndstXInBytes(long struct, long value)Unsafe version ofdstXInBytes.
-
ndstY
public static void ndstY(long struct, long value)Unsafe version ofdstY.
-
ndstZ
public static void ndstZ(long struct, long value)Unsafe version ofdstZ.
-
ndstLOD
public static void ndstLOD(long struct, long value)Unsafe version ofdstLOD.
-
ndstMemoryType
public static void ndstMemoryType(long struct, int value)Unsafe version ofdstMemoryType.
-
ndstHost
public static void ndstHost(long struct, @Nullable java.nio.ByteBuffer value)Unsafe version ofdstHost.
-
ndstDevice
public static void ndstDevice(long struct, long value)Unsafe version ofdstDevice.
-
ndstArray
public static void ndstArray(long struct, long value)Unsafe version ofdstArray.
-
ndstContext
public static void ndstContext(long struct, long value)Unsafe version ofdstContext.
-
ndstPitch
public static void ndstPitch(long struct, long value)Unsafe version ofdstPitch.
-
ndstHeight
public static void ndstHeight(long struct, long value)Unsafe version ofdstHeight.
-
nWidthInBytes
public static void nWidthInBytes(long struct, long value)Unsafe version ofWidthInBytes.
-
nHeight
public static void nHeight(long struct, long value)Unsafe version ofHeight.
-
nDepth
public static void nDepth(long struct, long value)Unsafe version ofDepth.
-
-