mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
feature: 2d-block-load-transpose query
Implemented device property query API for determining support capabilities regarding 2d-block-load-tranpose features for which not all Intel devices support. Related-To: NEO-11592 Signed-off-by: Jack Myers <jack.myers@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b1a50104a8
commit
f5d00b2616
@@ -187,6 +187,38 @@ typedef enum _ze_intel_get_driver_version_string_exp_version_t {
|
||||
ZE_INTEL_GET_DRIVER_VERSION_STRING_EXP_VERSION_FORCE_UINT32 = 0x7fffffff
|
||||
} ze_intel_get_driver_version_string_exp_version_t;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Supported 2D Block Array flags
|
||||
typedef uint32_t ze_intel_device_block_array_exp_flags_t;
|
||||
typedef enum _ze_intel_device_block_array_exp_flag_t {
|
||||
ZE_INTEL_DEVICE_EXP_FLAG_2D_BLOCK_STORE = ZE_BIT(0), ///< Supports store operation
|
||||
ZE_INTEL_DEVICE_EXP_FLAG_2D_BLOCK_LOAD = ZE_BIT(1), ///< Supports load operation
|
||||
ZE_INTEL_DEVICE_EXP_FLAG_2D_BLOCK_FORCE_UINT32 = 0x7fffffff
|
||||
|
||||
} ze_intel_device_block_array_exp_flag_t;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_NAME
|
||||
/// @brief Device 2D block array properties driver extension name
|
||||
#define ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_NAME "ZE_intel_experimental_device_block_array_properties"
|
||||
#endif // ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_NAME
|
||||
|
||||
/// @brief Device 2D block array properties queried using
|
||||
/// ::zeDeviceGetProperties
|
||||
///
|
||||
/// @details
|
||||
/// - This structure may be passed to ::zeDeviceGetProperties, via
|
||||
/// `pNext` member of ::ze_device_properties_t.
|
||||
/// @brief Device 2D block array properties
|
||||
#define ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES (ze_structure_type_t)0x00030007
|
||||
|
||||
typedef struct _ze_intel_device_block_array_exp_properties_t {
|
||||
ze_structure_type_t stype = ZE_INTEL_DEVICE_BLOCK_ARRAY_EXP_PROPERTIES; ///< [in] type of this structure
|
||||
void *pNext; ///< [in,out][optional] must be null or a pointer to an extension-specific
|
||||
///< structure (i.e. contains sType and pNext).
|
||||
ze_intel_device_block_array_exp_flags_t flags; ///< [out] 0 (none) or a valid combination of ::ze_intel_device_block_array_exp_flag_t
|
||||
} ze_intel_device_block_array_exp_properties_t;
|
||||
|
||||
/// @brief Query to read the Intel Level Zero Driver Version String
|
||||
///
|
||||
/// @details
|
||||
|
||||
Reference in New Issue
Block a user