mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Set device ids for PRODUCT_CONFIG
Ocloc must set the default device id if the user selects <major>.<minor>.<revision> pattern. Signed-off-by: Daria Hinz <daria.hinz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7a2c5e28c1
commit
0c6863766a
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -9,16 +9,16 @@
|
||||
|
||||
#ifdef SUPPORT_XE_HPG_CORE
|
||||
#ifdef SUPPORT_DG2
|
||||
DEVICE_CONFIG_REVISION(DG2_G10_A0, DG2_CONFIG, 0x00)
|
||||
DEVICE_CONFIG_REVISION(DG2_G10_B0, DG2_CONFIG, 0x04)
|
||||
DEVICE_CONFIG_IDS_AND_REVISION(DG2_G10_A0, DG2_CONFIG, DG2_G10_IDS, 0x00)
|
||||
DEVICE_CONFIG_IDS_AND_REVISION(DG2_G10_B0, DG2_CONFIG, DG2_G10_IDS, 0x04)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if SUPPORT_XE_HPC_CORE
|
||||
#ifdef SUPPORT_PVC
|
||||
DEVICE_CONFIG_REVISION(PVC_XT_A0, PVC_CONFIG, 0x03)
|
||||
DEVICE_CONFIG_REVISION(PVC_XT_B0, PVC_CONFIG, 0x1E)
|
||||
DEVICE_CONFIG_REVISION(PVC_XL_A0, PVC_CONFIG, 0x00)
|
||||
DEVICE_CONFIG_REVISION(PVC_XL_B0, PVC_CONFIG, 0x01)
|
||||
DEVICE_CONFIG_IDS_AND_REVISION(PVC_XT_A0, PVC_CONFIG, PVC_XT_IDS, 0x03)
|
||||
DEVICE_CONFIG_IDS_AND_REVISION(PVC_XT_B0, PVC_CONFIG, PVC_XT_IDS, 0x1E)
|
||||
DEVICE_CONFIG_IDS_AND_REVISION(PVC_XL_A0, PVC_CONFIG, PVC_XL_IDS, 0x00)
|
||||
DEVICE_CONFIG_IDS_AND_REVISION(PVC_XL_B0, PVC_CONFIG, PVC_XL_IDS, 0x01)
|
||||
#endif
|
||||
#endif
|
||||
Reference in New Issue
Block a user