GetDeviceInfo with param_name set to DEVICE_TOPOLOGY_AMD.
union cl_device_topology_amd {
struct {
cl_uint type;
cl_uint data[5];
} raw;
struct {
cl_uint type;
char[17];
cl_char bus;
cl_char device;
cl_char function;
} pcie;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | CLDeviceTopologyAMD.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | PCIE
The struct member offsets. |
| public static final int | PCIE_BUS
The struct member offsets. |
| public static final int | PCIE_DEVICE
The struct member offsets. |
| public static final int | PCIE_FUNCTION
The struct member offsets. |
| public static final int | PCIE_TYPE
The struct member offsets. |
| public static final int | RAW
The struct member offsets. |
| public static final int | RAW_DATA
The struct member offsets. |
| public static final int | RAW_TYPE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | CLDeviceTopologyAMD(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD. | calloc(int
the buffer capacity capacity)Returns a new |
| public static CLDeviceTopologyAMD | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CLDeviceTopologyAMD. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD. | |
| public static CLDeviceTopologyAMD. | |
| protected CLDeviceTopologyAMD | 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 CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD. | create(int
the buffer capacity capacity)Returns a new |
| public static CLDeviceTopologyAMD. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD. | |
| public static CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD. | malloc(int
the buffer capacity capacity)Returns a new |
| public static CLDeviceTopologyAMD | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static CLDeviceTopologyAMD. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD | |
| public static CLDeviceTopologyAMD. | |
| public static CLDeviceTopologyAMD. | |
| public static byte | |
| public static byte | |
| public static byte | |
| public static int | |
| public static IntBuffer | |
| public static int | |
| public static int | |
| public byte | |
| public byte | |
| public byte | |
| public int | |
| public IntBuffer | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| PCIE | back to summary |
|---|---|
| public static final int PCIE The struct member offsets. | |
| PCIE_BUS | back to summary |
|---|---|
| public static final int PCIE_BUS The struct member offsets. | |
| PCIE_DEVICE | back to summary |
|---|---|
| public static final int PCIE_DEVICE The struct member offsets. | |
| PCIE_FUNCTION | back to summary |
|---|---|
| public static final int PCIE_FUNCTION The struct member offsets. | |
| PCIE_TYPE | back to summary |
|---|---|
| public static final int PCIE_TYPE The struct member offsets. | |
| RAW | back to summary |
|---|---|
| public static final int RAW The struct member offsets. | |
| RAW_DATA | back to summary |
|---|---|
| public static final int RAW_DATA The struct member offsets. | |
| RAW_TYPE | back to summary |
|---|---|
| public static final int RAW_TYPE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| CLDeviceTopologyAMD | back to summary |
|---|---|
| protected CLDeviceTopologyAMD(long address, ByteBuffer container) | |
| CLDeviceTopologyAMD | back to summary |
|---|---|
| public CLDeviceTopologyAMD(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static CLDeviceTopologyAMD calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CLDeviceTopologyAMD calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static CLDeviceTopologyAMD callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CLDeviceTopologyAMD callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected CLDeviceTopologyAMD create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static CLDeviceTopologyAMD create() Returns a new | |
| create | back to summary |
|---|---|
| public static CLDeviceTopologyAMD create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Returns a new
| |
| create | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Create a
| |
| createSafe | back to summary |
|---|---|
| public static CLDeviceTopologyAMD createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Like
| |
| malloc | back to summary |
|---|---|
| public static CLDeviceTopologyAMD malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CLDeviceTopologyAMD malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static CLDeviceTopologyAMD mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CLDeviceTopologyAMD mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static CLDeviceTopologyAMD. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| npcie_bus | back to summary |
|---|---|
| public static byte npcie_bus(long struct) Unsafe version of | |
| npcie_device | back to summary |
|---|---|
| public static byte npcie_device(long struct) Unsafe version of | |
| npcie_function | back to summary |
|---|---|
| public static byte npcie_function(long struct) Unsafe version of | |
| npcie_type | back to summary |
|---|---|
| public static int npcie_type(long struct) Unsafe version of | |
| nraw_data | back to summary |
|---|---|
| public static IntBuffer nraw_data(long struct) Unsafe version of | |
| nraw_data | back to summary |
|---|---|
| public static int nraw_data(long struct, int index) Unsafe version of | |
| nraw_type | back to summary |
|---|---|
| public static int nraw_type(long struct) Unsafe version of | |
| pcie_bus | back to summary |
|---|---|
public byte pcie_bus()
| |
| pcie_device | back to summary |
|---|---|
public byte pcie_device()
| |
| pcie_function | back to summary |
|---|---|
public byte pcie_function()
| |
| pcie_type | back to summary |
|---|---|
public int pcie_type()
| |
| raw_data | back to summary |
|---|---|
public IntBuffer raw_data()
| |
| raw_data | back to summary |
|---|---|
public int raw_data(int index)
| |
| raw_type | back to summary |
|---|---|
public int raw_type()
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
CLDeviceTopologyAMD structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final CLDeviceTopologyAMD |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected CLDeviceTopologyAMD | |
| public byte | |
| public byte | |
| public byte | |
| public int | |
| public IntBuffer | |
| public int | |
| public int | |
| protected CLDeviceTopologyAMD. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final CLDeviceTopologyAMD 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) | |
| getElementFactory | back to summary |
|---|---|
| protected CLDeviceTopologyAMD getElementFactory() Implements abstract org.
| |
| pcie_bus | back to summary |
|---|---|
public byte pcie_bus()
| |
| pcie_device | back to summary |
|---|---|
public byte pcie_device()
| |
| pcie_function | back to summary |
|---|---|
public byte pcie_function()
| |
| pcie_type | back to summary |
|---|---|
public int pcie_type()
| |
| raw_data | back to summary |
|---|---|
public IntBuffer raw_data()
| |
| raw_data | back to summary |
|---|---|
public int raw_data(int index)
| |
| raw_type | back to summary |
|---|---|
public int raw_type()
| |
| self | back to summary |
|---|---|
| protected CLDeviceTopologyAMD. Implements abstract org.
| |