struct CUDA_EXTERNAL_MEMORY_BUFFER_DESC {
unsigned long long offset;
unsigned long long size;
unsigned int flags;
unsigned int reserved[16];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUDA_EXTERNAL_MEMORY_BUFFER_DESC.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | OFFSET
The struct member offsets. |
| public static final int | RESERVED
The struct member offsets. |
| public static final int | SIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUDA_EXTERNAL_MEMORY_BUFFER_DESC(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| protected CUDA_EXTERNAL_MEMORY_BUFFER_DESC | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | create(long address)
Returns a new |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | create(int
the buffer capacity capacity)Returns a new |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| public int | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static IntBuffer | |
| public static int | |
| public static void | |
| public static void | |
| public static long | |
| public static void | |
| public long | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public IntBuffer | |
| public int | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC | reserved(int index, int value)
Sets the specified value at the specified index of the |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public long | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| FLAGS | back to summary |
|---|---|
| public static final int FLAGS The struct member offsets. | |
| OFFSET | back to summary |
|---|---|
| public static final int OFFSET The struct member offsets. | |
| RESERVED | back to summary |
|---|---|
| public static final int RESERVED The struct member offsets. | |
| SIZE | back to summary |
|---|---|
| public static final int SIZE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| CUDA_EXTERNAL_MEMORY_BUFFER_DESC | back to summary |
|---|---|
| protected CUDA_EXTERNAL_MEMORY_BUFFER_DESC(long address, ByteBuffer container) | |
| CUDA_EXTERNAL_MEMORY_BUFFER_DESC | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected CUDA_EXTERNAL_MEMORY_BUFFER_DESC create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC create() Returns a new | |
| create | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Returns a new
| |
| create | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Like
| |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC flags(int value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| nflags | back to summary |
|---|---|
| public static int nflags(long struct) Unsafe version of | |
| nflags | back to summary |
|---|---|
| public static void nflags(long struct, int value) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static long noffset(long struct) Unsafe version of | |
| noffset | back to summary |
|---|---|
| public static void noffset(long struct, long value) Unsafe version of | |
| nreserved | back to summary |
|---|---|
| public static IntBuffer nreserved(long struct) Unsafe version of | |
| nreserved | back to summary |
|---|---|
| public static int nreserved(long struct, int index) Unsafe version of | |
| nreserved | back to summary |
|---|---|
| public static void nreserved(long struct, IntBuffer value) Unsafe version of | |
| nreserved | back to summary |
|---|---|
| public static void nreserved(long struct, int index, int value) Unsafe version of | |
| nsize | back to summary |
|---|---|
| public static long nsize(long struct) Unsafe version of | |
| nsize | back to summary |
|---|---|
| public static void nsize(long struct, long value) Unsafe version of | |
| offset | back to summary |
|---|---|
public long offset()
| |
| offset | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC offset(long value) Sets the specified value to the | |
| reserved | back to summary |
|---|---|
public IntBuffer reserved()
| |
| reserved | back to summary |
|---|---|
public int reserved(int index)
| |
| reserved | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC reserved(IntBuffer value) Copies the specified | |
| reserved | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC reserved(int index, int value) Sets the specified value at the specified index of the | |
| set | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC set(long offset, long size, int flags, IntBuffer reserved) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC set(CUDA_EXTERNAL_MEMORY_BUFFER_DESC src) Copies the specified struct data to this struct.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC size(long value) Sets the specified value to the | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
CUDA_EXTERNAL_MEMORY_BUFFER_DESC structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CUDA_EXTERNAL_MEMORY_BUFFER_DESC |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| protected CUDA_EXTERNAL_MEMORY_BUFFER_DESC | |
| public long | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| public IntBuffer | |
| public int | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | reserved(int index, int value)
Sets the specified value at the specified index of the |
| protected CUDA_EXTERNAL_MEMORY_BUFFER_DESC. | |
| public long | |
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CUDA_EXTERNAL_MEMORY_BUFFER_DESC ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| flags | back to summary |
|---|---|
public int flags()
| |
| flags | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected CUDA_EXTERNAL_MEMORY_BUFFER_DESC getElementFactory() Implements abstract org.
| |
| offset | back to summary |
|---|---|
public long offset()
| |
| offset | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Sets the specified value to the | |
| reserved | back to summary |
|---|---|
public IntBuffer reserved()
| |
| reserved | back to summary |
|---|---|
public int reserved(int index)
| |
| reserved | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Copies the specified | |
| reserved | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Sets the specified value at the specified index of the | |
| self | back to summary |
|---|---|
| protected CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |
| size | back to summary |
|---|---|
| public CUDA_EXTERNAL_MEMORY_BUFFER_DESC. Sets the specified value to the | |