Skip to content

Commit 18d513c

Browse files
committed
Add changes to the internal headers
Signed-off-by: Neil R. Spruit <[email protected]>
1 parent c4922be commit 18d513c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/templates/ze_loader_internal.h.mako

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ namespace loader
4747
ZEL_DRIVER_TYPE_INTEGRATED_GPU = 2, ///< The driver has Integrated GPUs only
4848
ZEL_DRIVER_TYPE_MIXED = 3, ///< The driver has Heterogenous driver types not limited to GPU or NPU.
4949
ZEL_DRIVER_TYPE_OTHER = 4, ///< The driver has No GPU Devices and has other device types only
50+
ZEL_DRIVER_TYPE_NPU = 5, ///< The driver has NPU devices only
5051
ZEL_DRIVER_TYPE_FORCE_UINT32 = 0x7fffffff
5152

5253
} zel_driver_type_t;
@@ -114,6 +115,7 @@ namespace loader
114115
ze_result_t init_driver(driver_t &driver, ze_init_flags_t flags, ze_init_driver_type_desc_t* desc, ze_global_dditable_t *globalInitStored, zes_global_dditable_t *sysmanGlobalInitStored, bool sysmanOnly);
115116
void add_loader_version();
116117
bool driverSorting(driver_vector_t *drivers, ze_init_driver_type_desc_t* desc, bool sysmanOnly);
118+
void driverOrdering(driver_vector_t *drivers);
117119
~context_t();
118120
bool intercept_enabled = false;
119121
bool debugTraceEnabled = false;

0 commit comments

Comments
 (0)