mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
feature: experimental api to hint msix allocation
Related-To: NEO-8179 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
11e13ee04d
commit
dbad871f2f
@@ -136,6 +136,26 @@ typedef struct _zex_intel_event_sync_mode_exp_desc_t {
|
|||||||
uint32_t externalInterruptId; /// <in> External interrupt id. Used only when ZEX_INTEL_EVENT_SYNC_MODE_EXP_FLAG_EXTERNAL_INTERRUPT_WAIT flag is set
|
uint32_t externalInterruptId; /// <in> External interrupt id. Used only when ZEX_INTEL_EVENT_SYNC_MODE_EXP_FLAG_EXTERNAL_INTERRUPT_WAIT flag is set
|
||||||
} zex_intel_event_sync_mode_exp_desc_t;
|
} zex_intel_event_sync_mode_exp_desc_t;
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
/// @brief Forward-declare zex_intel_queue_allocate_msix_hint_exp_desc_t
|
||||||
|
typedef struct _zex_intel_queue_allocate_msix_hint_exp_desc_t zex_intel_queue_allocate_msix_hint_exp_desc_t;
|
||||||
|
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
/// @brief Command queue descriptor for allocating unique msix. This structure may be
|
||||||
|
/// passed as pNext member of ::ze_command_queue_desc_t.
|
||||||
|
|
||||||
|
typedef struct _zex_intel_queue_allocate_msix_hint_exp_desc_t {
|
||||||
|
ze_structure_type_t stype; ///< [in] type of this structure
|
||||||
|
const void *pNext; ///< [in][optional] must be null or a pointer to an extension-specific
|
||||||
|
///< structure (i.e. contains stype and pNext).
|
||||||
|
ze_bool_t uniqueMsix; ///< [in] If set, try to allocate unique msix for command queue.
|
||||||
|
///< If not set, driver will follow default behaviour. It may share msix for signaling completion with other queues.
|
||||||
|
///< Number of unique msixes may be limited. On unsuccessful allocation, queue or immediate cmd list creation API fallbacks to default behaviour.
|
||||||
|
|
||||||
|
} zex_intel_queue_allocate_msix_hint_exp_desc_t;
|
||||||
|
|
||||||
|
#define ZEX_INTEL_STRUCTURE_TYPE_QUEUE_ALLOCATE_MSIX_HINT_EXP_PROPERTIES (ze_structure_type_t)0x00030018
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user