Class CLDeviceTopologyAMD

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer


    public class CLDeviceTopologyAMD
    extends Struct
    The struct returned by GetDeviceInfo with param_name set to DEVICE_TOPOLOGY_AMD.

    Layout

    union cl_device_topology_amd {
        struct {
            cl_uint type;
            cl_uint[5] data;
        } raw;
        struct {
            cl_uint type;
            char[17];
            cl_char bus;
            cl_char device;
            cl_char function;
        } pcie;
    }