struct CUDA_RESOURCE_DESC {
CUresourcetype resType;
union {
struct {
CUarray hArray;
} array;
struct {
CUmipmappedArray hMipmappedArray;
} mipmap;
struct {
CUdeviceptr devPtr;
CUarray_format format;
unsigned int numChannels;
size_t sizeInBytes;
} linear;
struct {
CUdeviceptr devPtr;
CUarray_format format;
unsigned int numChannels;
size_t width;
size_t height;
size_t pitchInBytes;
} pitch2D;
struct {
int reserved[32];
} reserved;
} res;
unsigned int flags;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CUDA_RESOURCE_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 | RES
The struct member offsets. |
| public static final int | RES_ARRAY
The struct member offsets. |
| public static final int | RES_ARRAY_HARRAY
The struct member offsets. |
| public static final int | RES_LINEAR
The struct member offsets. |
| public static final int | RES_LINEAR_DEVPTR
The struct member offsets. |
| public static final int | RES_LINEAR_FORMAT
The struct member offsets. |
| public static final int | RES_LINEAR_NUMCHANNELS
The struct member offsets. |
| public static final int | RES_LINEAR_SIZEINBYTES
The struct member offsets. |
| public static final int | RES_MIPMAP
The struct member offsets. |
| public static final int | RES_MIPMAP_HMIPMAPPEDARRAY
The struct member offsets. |
| public static final int | RES_PITCH2D
The struct member offsets. |
| public static final int | RES_PITCH2D_DEVPTR
The struct member offsets. |
| public static final int | RES_PITCH2D_FORMAT
The struct member offsets. |
| public static final int | RES_PITCH2D_HEIGHT
The struct member offsets. |
| public static final int | RES_PITCH2D_NUMCHANNELS
The struct member offsets. |
| public static final int | RES_PITCH2D_PITCHINBYTES
The struct member offsets. |
| public static final int | RES_PITCH2D_WIDTH
The struct member offsets. |
| public static final int | RES_RESERVED
The struct member offsets. |
| public static final int | RES_RESERVED_RESERVED
The struct member offsets. |
| public static final int | RESTYPE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CUDA_RESOURCE_DESC(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_RESOURCE_DESC | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_RESOURCE_DESC. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC. | |
| public static CUDA_RESOURCE_DESC. | |
| protected CUDA_RESOURCE_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_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC. | create(int
the buffer capacity capacity)Returns a new |
| public static CUDA_RESOURCE_DESC. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC. | |
| public int | |
| public CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CUDA_RESOURCE_DESC | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CUDA_RESOURCE_DESC. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC | |
| public static CUDA_RESOURCE_DESC. | |
| public static CUDA_RESOURCE_DESC. | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static long | |
| public static void | |
| public static IntBuffer | |
| public static int | |
| public static void | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public CUDA_RESOURCE_DESC | |
| public long | |
| public CUDA_RESOURCE_DESC | |
| public int | |
| public CUDA_RESOURCE_DESC | |
| public int | |
| public CUDA_RESOURCE_DESC | |
| public long | |
| public CUDA_RESOURCE_DESC | |
| public long | |
| public CUDA_RESOURCE_DESC | |
| public long | |
| public CUDA_RESOURCE_DESC | |
| public int | |
| public CUDA_RESOURCE_DESC | |
| public long | |
| public CUDA_RESOURCE_DESC | |
| public int | |
| public CUDA_RESOURCE_DESC | |
| public long | |
| public CUDA_RESOURCE_DESC | |
| public long | |
| public CUDA_RESOURCE_DESC | |
| public IntBuffer | |
| public int | Returns: the value at the specified index of theres.reserved.reserved field.
|
| public CUDA_RESOURCE_DESC | |
| public CUDA_RESOURCE_DESC | res_reserved_reserved(int index, int value)
Sets the specified value at the specified index of the |
| public int | |
| public CUDA_RESOURCE_DESC | |
| public CUDA_RESOURCE_DESC | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int |