C Specification

The cl_device_pci_bus_info_khr structure describes PCI bus information for a device:

// Provided by cl_khr_pci_bus_info
typedef struct cl_device_pci_bus_info_khr {
    cl_uint    pci_domain;
    cl_uint    pci_bus;
    cl_uint    pci_device;
    cl_uint    pci_function;
} cl_device_pci_bus_info_khr;

Members

  • pci_domain is the PCI bus domain of the device.

  • pci_bus is the PCI bus identified of the device.

  • pci_device is the PCI device identifier of the device.

Description

  • pci_function is the PCI device function identifier of the device.

See Also

Document Notes

For more information, see the OpenCL Specification

This page is extracted from the OpenCL Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0