mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Revert "feature: Add extensions to expose dot product capabilities"
This reverts commit e988fe66e3
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
060fc40938
commit
c9d6615231
@ -1,69 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _ZE_INTEL_GPU_H
|
||||
#define _ZE_INTEL_GPU_H
|
||||
|
||||
#include <level_zero/ze_api.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#pragma once
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define ZE_INTEL_GPU_VERSION_MAJOR 0
|
||||
#define ZE_INTEL_GPU_VERSION_MINOR 1
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef ZE_INTEL_DEVICE_MODULE_DP_PROPERTIES_EXP_NAME
|
||||
/// @brief Module DP properties driver extension name
|
||||
#define ZE_INTEL_DEVICE_MODULE_DP_PROPERTIES_EXP_NAME "ZE_intel_experimental_device_module_dp_properties"
|
||||
#endif // ZE_INTEL_DEVICE_MODULE_DP_PROPERTIES_EXP_NAME
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Module DP properties driver extension Version(s)
|
||||
typedef enum _ze_intel_device_module_dp_properties_exp_version_t {
|
||||
ZE_INTEL_DEVICE_MODULE_DP_PROPERTIES_EXP_VERSION_1_0 = ZE_MAKE_VERSION(1, 0), ///< version 1.0
|
||||
ZE_INTEL_DEVICE_MODULE_DP_PROPERTIES_EXP_VERSION_CURRENT = ZE_MAKE_VERSION(1, 0), ///< latest known version
|
||||
ZE_INTEL_DEVICE_MODULE_DP_PROPERTIES_EXP_VERSION_FORCE_UINT32 = 0x7fffffff
|
||||
|
||||
} ze_intel_device_module_dp_properties_exp_version_t;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Supported Dot Product flags
|
||||
typedef uint32_t ze_intel_device_module_dp_exp_flags_t;
|
||||
typedef enum _ze_intel_device_module_dp_exp_flag_t {
|
||||
ZE_INTEL_DEVICE_MODULE_EXP_FLAG_DP4A = ZE_BIT(0), ///< Supports DP4A operation
|
||||
ZE_INTEL_DEVICE_MODULE_EXP_FLAG_DPAS = ZE_BIT(1), ///< Supports DPAS operation
|
||||
ZE_INTEL_DEVICE_MODULE_EXP_FLAG_FORCE_UINT32 = 0x7fffffff
|
||||
|
||||
} ze_intel_device_module_dp_exp_flag_t;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#define ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_EXP_PROPERTIES (ze_structure_type_t)0x00030013
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief Device Module dot product properties queried using
|
||||
/// ::zeDeviceGetModuleProperties
|
||||
///
|
||||
/// @details
|
||||
/// - This structure may be passed to ::zeDeviceGetModuleProperties, via
|
||||
/// `pNext` member of ::ze_device_module_properties_t.
|
||||
/// @brief Device module dot product properties
|
||||
typedef struct _ze_intel_device_module_dp_exp_properties_t {
|
||||
ze_structure_type_t stype = ZE_STRUCTURE_INTEL_DEVICE_MODULE_DP_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_module_dp_exp_flags_t flags; ///< [out] 0 (none) or a valid combination of ::ze_intel_device_module_dp_flag_t
|
||||
} ze_intel_device_module_dp_exp_properties_t;
|
||||
|
||||
#if defined(__cplusplus)
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // _ZE_INTEL_GPU_H
|
Reference in New Issue
Block a user