struct CUDA_ARRAY_MEMORY_REQUIREMENTS {
size_t size;
size_t alignment;
unsigned int reserved[4];
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUDA_ARRAY_MEMORY_REQUIREMENTS.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNMENT
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| 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_ARRAY_MEMORY_REQUIREMENTS(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS | |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected CUDA_ARRAY_MEMORY_REQUIREMENTS | 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_ARRAY_MEMORY_REQUIREMENTS | |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS | create(long address)
Returns a new |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. | create(int
the buffer capacity capacity)Returns a new |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS | |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. | |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS | |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static IntBuffer | |
| public static int | |
| public static long | |
| public IntBuffer | |
| public int | |
| public long | |
| public int |
| ALIGNMENT | back to summary |
|---|---|
| public static final int ALIGNMENT The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| 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_ARRAY_MEMORY_REQUIREMENTS | back to summary |
|---|---|
| protected CUDA_ARRAY_MEMORY_REQUIREMENTS(long address, ByteBuffer container) | |
| CUDA_ARRAY_MEMORY_REQUIREMENTS | back to summary |
|---|---|
| public CUDA_ARRAY_MEMORY_REQUIREMENTS(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| alignment | back to summary |
|---|---|
public long alignment()
| |
| calloc | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. Returns a new
| |
| create | back to summary |
|---|---|
| protected CUDA_ARRAY_MEMORY_REQUIREMENTS create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS create() Returns a new | |
| create | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. Returns a new
| |
| create | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. Like
| |
| malloc | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUDA_ARRAY_MEMORY_REQUIREMENTS. Returns a new
| |
| nalignment | back to summary |
|---|---|
| public static long nalignment(long struct) 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 | |
| nsize | back to summary |
|---|---|
| public static long nsize(long struct) Unsafe version of | |
| reserved | back to summary |
|---|---|
public IntBuffer reserved()
| |
| reserved | back to summary |
|---|---|
public int reserved(int index)
| |
| size | back to summary |
|---|---|
public long size()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
CUDA_ARRAY_MEMORY_REQUIREMENTS structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CUDA_ARRAY_MEMORY_REQUIREMENTS |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| protected CUDA_ARRAY_MEMORY_REQUIREMENTS | |
| public IntBuffer | |
| public int | |
| protected CUDA_ARRAY_MEMORY_REQUIREMENTS. | |
| public long |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CUDA_ARRAY_MEMORY_REQUIREMENTS 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) | |
| alignment | back to summary |
|---|---|
public long alignment()
| |
| getElementFactory | back to summary |
|---|---|
| protected CUDA_ARRAY_MEMORY_REQUIREMENTS getElementFactory() Implements abstract org.
| |
| reserved | back to summary |
|---|---|
public IntBuffer reserved()
| |
| reserved | back to summary |
|---|---|
public int reserved(int index)
| |
| self | back to summary |
|---|---|
| protected CUDA_ARRAY_MEMORY_REQUIREMENTS. Implements abstract org.
| |
| size | back to summary |
|---|---|
public long size()
| |