mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Correct xe_hpc tests
Related-To: NEO-6631 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
43ed1acc63
commit
038d1d54fa
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2021 Intel Corporation
|
||||
# Copyright (C) 2021-2022 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -9,6 +9,10 @@ if(SUPPORT_XE_HPC_CORE)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/definitions${BRANCH_DIR_SUFFIX}hw_cmds_pvc.inl
|
||||
)
|
||||
set(NEO_CORE_HELPERS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/compiler_hw_info_config_pvc.inl
|
||||
)
|
||||
set_property(GLOBAL APPEND PROPERTY CORE_SRCS_GENX_ALL_BASE ${HW_DEFINITIONS_XE_HPC_CORE})
|
||||
|
||||
add_subdirectories()
|
||||
|
||||
@@ -38,6 +38,10 @@ struct XE_HPC_CORE {
|
||||
static constexpr bool supportsSampler = false;
|
||||
static constexpr bool isUsingGenericMediaStateClear = true;
|
||||
|
||||
static bool isPvc(const HardwareInfo &hwInfo) {
|
||||
return hwInfo.platform.eProductFamily == IGFX_PVC;
|
||||
}
|
||||
|
||||
static bool isXlA0(const HardwareInfo &hwInfo) {
|
||||
auto revId = hwInfo.platform.usRevId & pvcSteppingBits;
|
||||
return (revId < 0x3) && !isXtTemporary(hwInfo);
|
||||
@@ -49,7 +53,7 @@ struct XE_HPC_CORE {
|
||||
}
|
||||
|
||||
static bool isXtTemporary(const HardwareInfo &hwInfo) {
|
||||
return hwInfo.platform.usDeviceID == pvcXtTemporaryDeviceId;
|
||||
return (hwInfo.platform.usDeviceID == pvcXtTemporaryDeviceId) || !isPvc(hwInfo);
|
||||
}
|
||||
|
||||
struct DataPortBindlessSurfaceExtendedMessageDescriptor {
|
||||
|
||||
Reference in New Issue
Block a user