mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
Add debug flag to select event field for event completion
Related-To: NEO-6871 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0e2bfe92c4
commit
dc4a1e7cd5
@@ -37,6 +37,8 @@ using IsAtMostXeHpcCore = IsAtMostGfxCore<IGFX_XE_HPC_CORE>;
|
||||
using isXeHpOrXeHpcCore = IsAnyGfxCores<IGFX_XE_HP_CORE, IGFX_XE_HPC_CORE>;
|
||||
using isXeHpcOrXeHpgCore = IsAnyGfxCores<IGFX_XE_HPC_CORE, IGFX_XE_HPG_CORE>;
|
||||
|
||||
using isNotXeHpOrXeHpcCore = IsNotAnyGfxCores<IGFX_XE_HP_CORE, IGFX_XE_HPC_CORE>;
|
||||
|
||||
using IsSKL = IsProduct<IGFX_SKYLAKE>;
|
||||
using IsKBL = IsProduct<IGFX_KABYLAKE>;
|
||||
using IsCFL = IsProduct<IGFX_COFFEELAKE>;
|
||||
|
||||
@@ -830,6 +830,14 @@ struct IsAnyGfxCores {
|
||||
}
|
||||
};
|
||||
|
||||
template <GFXCORE_FAMILY... args>
|
||||
struct IsNotAnyGfxCores {
|
||||
template <PRODUCT_FAMILY productFamily>
|
||||
static constexpr bool isMatched() {
|
||||
return (... && IsNotGfxCore<args>::template isMatched<productFamily>());
|
||||
}
|
||||
};
|
||||
|
||||
template <PRODUCT_FAMILY product>
|
||||
struct IsProduct {
|
||||
template <PRODUCT_FAMILY productFamily>
|
||||
|
||||
Reference in New Issue
Block a user