Class CLDevicePCIBusInfoKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct cl_device_pci_bus_info_khr") public class CLDevicePCIBusInfoKHR extends Struct<CLDevicePCIBusInfoKHR> implements NativeResource
struct cl_device_pci_bus_info_khr {
    cl_uint pci_domain;
    cl_uint pci_bus;
    cl_uint pci_device;
    cl_uint pci_function;
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • PCI_DOMAIN

      public static final int PCI_DOMAIN
      The struct member offsets.
    • PCI_BUS

      public static final int PCI_BUS
      The struct member offsets.
    • PCI_DEVICE

      public static final int PCI_DEVICE
      The struct member offsets.
    • PCI_FUNCTION

      public static final int PCI_FUNCTION
      The struct member offsets.
  • Constructor Details

    • CLDevicePCIBusInfoKHR

      public CLDevicePCIBusInfoKHR(ByteBuffer container)
      Creates a CLDevicePCIBusInfoKHR instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details