struct CUDA_MEM_ALLOC_NODE_PARAMS {
CUmemPoolProps poolProps;
CUmemAccessDesc const * accessDescs;
size_t accessDescCount;
size_t bytesize;
CUdeviceptr dptr;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUDA_MEM_ALLOC_NODE_PARAMS.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ACCESSDESCCOUNT
The struct member offsets. |
| public static final int | ACCESSDESCS
The struct member offsets. |
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BYTESIZE
The struct member offsets. |
| public static final int | DPTR
The struct member offsets. |
| public static final int | POOLPROPS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUDA_MEM_ALLOC_NODE_PARAMS(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public CUmemAccessDesc. | |
| public CUDA_MEM_ALLOC_NODE_PARAMS | accessDescs(CUmemAccessDesc.
Sets the address of the specified |
| public long | |
| public CUDA_MEM_ALLOC_NODE_PARAMS | |
| public static CUDA_MEM_ALLOC_NODE_PARAMS | |
| public static CUDA_MEM_ALLOC_NODE_PARAMS. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_MEM_ALLOC_NODE_PARAMS | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_MEM_ALLOC_NODE_PARAMS. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected CUDA_MEM_ALLOC_NODE_PARAMS | 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_MEM_ALLOC_NODE_PARAMS | |
| public static CUDA_MEM_ALLOC_NODE_PARAMS | create(long address)
Returns a new |
| public static CUDA_MEM_ALLOC_NODE_PARAMS. | create(int
the buffer capacity capacity)Returns a new |
| public static CUDA_MEM_ALLOC_NODE_PARAMS. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUDA_MEM_ALLOC_NODE_PARAMS | |
| public static CUDA_MEM_ALLOC_NODE_PARAMS. | |
| public long | |
| public CUDA_MEM_ALLOC_NODE_PARAMS | |
| public static CUDA_MEM_ALLOC_NODE_PARAMS | |
| public static CUDA_MEM_ALLOC_NODE_PARAMS. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_MEM_ALLOC_NODE_PARAMS | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_MEM_ALLOC_NODE_PARAMS. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static long | |
| public static void | naccessDescCount(long struct, long value)
Sets the specified value to the |
| public static CUmemAccessDesc. | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static CUmemPoolProps | |
| public static void | |
| public CUmemPoolProps | |
| public CUDA_MEM_ALLOC_NODE_PARAMS | |
| public CUDA_MEM_ALLOC_NODE_PARAMS | |
| public CUDA_MEM_ALLOC_NODE_PARAMS | set(CUmemPoolProps poolProps, CUmemAccessDesc.
Initializes this struct with the specified values. |
| public CUDA_MEM_ALLOC_NODE_PARAMS | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void |
| ACCESSDESCCOUNT | back to summary |
|---|---|
| public static final int ACCESSDESCCOUNT The struct member offsets. | |
| ACCESSDESCS | back to summary |
|---|---|
| public static final int ACCESSDESCS The struct member offsets. | |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BYTESIZE | back to summary |
|---|---|
| public static final int BYTESIZE The struct member offsets. | |
| DPTR | back to summary |
|---|---|
| public static final int DPTR The struct member offsets. | |
| POOLPROPS | back to summary |
|---|---|
| public static final int POOLPROPS The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| CUDA_MEM_ALLOC_NODE_PARAMS | back to summary |
|---|---|
| protected CUDA_MEM_ALLOC_NODE_PARAMS(long address, ByteBuffer container) | |
| CUDA_MEM_ALLOC_NODE_PARAMS | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| accessDescCount | back to summary |
|---|---|
public long accessDescCount()
| |
| accessDescs | back to summary |
|---|---|
public CUmemAccessDesc.
| |
| accessDescs | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS accessDescs(CUmemAccessDesc. Sets the address of the specified | |
| bytesize | back to summary |
|---|---|
public long bytesize()
| |
| bytesize | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS bytesize(long value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS. Returns a new
| |
| create | back to summary |
|---|---|
| protected CUDA_MEM_ALLOC_NODE_PARAMS create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS create() Returns a new | |
| create | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS. Returns a new
| |
| create | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS. Like
| |
| dptr | back to summary |
|---|---|
public long dptr()
| |
| dptr | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS dptr(long value) Sets the specified value to the | |
| malloc | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CUDA_MEM_ALLOC_NODE_PARAMS. Returns a new
| |
| naccessDescCount | back to summary |
|---|---|
| public static long naccessDescCount(long struct) Unsafe version of | |
| naccessDescCount | back to summary |
|---|---|
| public static void naccessDescCount(long struct, long value) Sets the specified value to the | |
| naccessDescs | back to summary |
|---|---|
| public static CUmemAccessDesc. Unsafe version of | |
| naccessDescs | back to summary |
|---|---|
| public static void naccessDescs(long struct, CUmemAccessDesc. Unsafe version of | |
| nbytesize | back to summary |
|---|---|
| public static long nbytesize(long struct) Unsafe version of | |
| nbytesize | back to summary |
|---|---|
| public static void nbytesize(long struct, long value) Unsafe version of | |
| ndptr | back to summary |
|---|---|
| public static long ndptr(long struct) Unsafe version of | |
| ndptr | back to summary |
|---|---|
| public static void ndptr(long struct, long value) Unsafe version of | |
| npoolProps | back to summary |
|---|---|
| public static CUmemPoolProps npoolProps(long struct) Unsafe version of | |
| npoolProps | back to summary |
|---|---|
| public static void npoolProps(long struct, CUmemPoolProps value) Unsafe version of | |
| poolProps | back to summary |
|---|---|
public CUmemPoolProps poolProps()
| |
| poolProps | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS poolProps(CUmemPoolProps value) Copies the specified | |
| poolProps | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS poolProps(Consumer<CUmemPoolProps> consumer) Passes the | |
| set | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS set(CUmemPoolProps poolProps, CUmemAccessDesc. Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS set(CUDA_MEM_ALLOC_NODE_PARAMS src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
CUDA_MEM_ALLOC_NODE_PARAMS structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CUDA_MEM_ALLOC_NODE_PARAMS |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public CUmemAccessDesc. | |
| public CUDA_MEM_ALLOC_NODE_PARAMS. | accessDescs(CUmemAccessDesc.
Sets the address of the specified |
| public long | |
| public CUDA_MEM_ALLOC_NODE_PARAMS. | |
| public long | |
| public CUDA_MEM_ALLOC_NODE_PARAMS. | |
| protected CUDA_MEM_ALLOC_NODE_PARAMS | |
| public CUmemPoolProps | |
| public CUDA_MEM_ALLOC_NODE_PARAMS. | |
| public CUDA_MEM_ALLOC_NODE_PARAMS. | |
| protected CUDA_MEM_ALLOC_NODE_PARAMS. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CUDA_MEM_ALLOC_NODE_PARAMS 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) | |
| accessDescCount | back to summary |
|---|---|
public long accessDescCount()
| |
| accessDescs | back to summary |
|---|---|
public CUmemAccessDesc.
| |
| accessDescs | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS. Sets the address of the specified | |
| bytesize | back to summary |
|---|---|
public long bytesize()
| |
| bytesize | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS. Sets the specified value to the | |
| dptr | back to summary |
|---|---|
public long dptr()
| |
| dptr | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected CUDA_MEM_ALLOC_NODE_PARAMS getElementFactory() Implements abstract org.
| |
| poolProps | back to summary |
|---|---|
public CUmemPoolProps poolProps()
| |
| poolProps | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS. Copies the specified | |
| poolProps | back to summary |
|---|---|
| public CUDA_MEM_ALLOC_NODE_PARAMS. Passes the | |
| self | back to summary |
|---|---|
| protected CUDA_MEM_ALLOC_NODE_PARAMS. Implements abstract org.
| |