mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add cl_khr_pci_bus_info extension
Signed-off-by: Egor Suldin <egor.suldin@intel.com> https://github.com/intel/compute-runtime/pull/374
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
c94ad034d9
commit
2b3b47b495
@ -210,3 +210,18 @@ typedef cl_bitfield cl_device_feature_capabilities_intel;
|
||||
|
||||
/* For GPU devices, version 1.0.0: */
|
||||
#define CL_DEVICE_FEATURE_FLAG_DP4A_INTEL (1 << 0)
|
||||
|
||||
/****************************************
|
||||
* cl_khr_pci_bus_info extension *
|
||||
***************************************/
|
||||
#define cl_khr_pci_bus_info 1
|
||||
|
||||
// New queries for clGetDeviceInfo:
|
||||
#define CL_DEVICE_PCI_BUS_INFO_KHR 0x410F
|
||||
|
||||
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;
|
||||
|
Reference in New Issue
Block a user