mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +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
|
||||
*
|
||||
@@ -30,7 +30,7 @@
|
||||
XEHPG_TYPED_TEST(methodName) \
|
||||
break; \
|
||||
case IGFX_XE_HPC_CORE: \
|
||||
PVC_TYPED_TEST(methodName) \
|
||||
XEHPC_TYPED_TEST(methodName) \
|
||||
break; \
|
||||
default: \
|
||||
ASSERT_TRUE((false && "Unknown hardware family")); \
|
||||
@@ -60,7 +60,7 @@
|
||||
supported = XEHPG_SUPPORTED_TEST(cmdSetBase); \
|
||||
break; \
|
||||
case IGFX_XE_HPC_CORE: \
|
||||
supported = PVC_SUPPORTED_TEST(cmdSetBase); \
|
||||
supported = XEHPC_SUPPORTED_TEST(cmdSetBase); \
|
||||
break; \
|
||||
default: \
|
||||
ASSERT_TRUE((false && "Unknown hardware family")); \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -50,9 +50,9 @@
|
||||
#define XEHPG_SUPPORTED_TEST(cmdSetBase) false
|
||||
#endif
|
||||
#ifdef TESTS_XE_HPC_CORE
|
||||
#define PVC_TYPED_TEST(method) method<typename NEO::GfxFamilyMapper<IGFX_XE_HPC_CORE>::GfxFamily>();
|
||||
#define PVC_SUPPORTED_TEST(cmdSetBase) NEO::GfxFamilyMapper<IGFX_XE_HPC_CORE>::GfxFamily::supportsCmdSet(cmdSetBase)
|
||||
#define XEHPC_TYPED_TEST(method) method<typename NEO::GfxFamilyMapper<IGFX_XE_HPC_CORE>::GfxFamily>();
|
||||
#define XEHPC_SUPPORTED_TEST(cmdSetBase) NEO::GfxFamilyMapper<IGFX_XE_HPC_CORE>::GfxFamily::supportsCmdSet(cmdSetBase)
|
||||
#else
|
||||
#define PVC_TYPED_TEST(method)
|
||||
#define PVC_SUPPORTED_TEST(cmdSetBase) false
|
||||
#define XEHPC_TYPED_TEST(method)
|
||||
#define XEHPC_SUPPORTED_TEST(cmdSetBase) false
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user