lang/intel-compute-runtime: unbreak build after 41f2281cb3

shared/source/gen8/hw_info_bdw.cpp:20:10: error: use of undeclared identifier 'IBDW_GT0_DESK_DEVICE_F0_ID'
    case IBDW_GT0_DESK_DEVICE_F0_ID:
         ^
shared/source/gen8/hw_info_bdw.cpp:21:10: error: use of undeclared identifier 'IBDW_GT1_DESK_DEVICE_F0_ID'
    case IBDW_GT1_DESK_DEVICE_F0_ID:
         ^
shared/source/gen8/hw_info_bdw.cpp:22:10: error: use of undeclared identifier 'IBDW_GT2_DESK_DEVICE_F0_ID'
    case IBDW_GT2_DESK_DEVICE_F0_ID:
         ^
shared/source/gen8/hw_info_bdw.cpp:23:10: error: use of undeclared identifier 'IBDW_GT3_DESK_DEVICE_F0_ID'
    case IBDW_GT3_DESK_DEVICE_F0_ID:
         ^
shared/source/gen8/hw_info_bdw.cpp:24:10: error: use of undeclared identifier 'IBDW_GT4_DESK_DEVICE_F0_ID'
    case IBDW_GT4_DESK_DEVICE_F0_ID:
         ^

PR:		274891
Reported by:	pkg-fallout
This commit is contained in:
Lars Herschke 2023-11-03 19:13:55 +01:00 committed by Jan Beich
parent 24104f31e4
commit 5bae779cbf
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
Chase https://github.com/intel/gmmlib/commit/861d5b2318ec
until https://github.com/intel/compute-runtime/commit/cfe51ff2ba97
--- shared/source/gen8/hw_info_bdw.cpp.orig 2022-06-08 12:04:46 UTC
+++ shared/source/gen8/hw_info_bdw.cpp
@@ -17,11 +17,11 @@ bool isSimulationBDW(unsigned short deviceId) {
bool isSimulationBDW(unsigned short deviceId) {
switch (deviceId) {
- case IBDW_GT0_DESK_DEVICE_F0_ID:
- case IBDW_GT1_DESK_DEVICE_F0_ID:
- case IBDW_GT2_DESK_DEVICE_F0_ID:
- case IBDW_GT3_DESK_DEVICE_F0_ID:
- case IBDW_GT4_DESK_DEVICE_F0_ID:
+ case 0x0BD0:
+ case 0x0BD1:
+ case 0x0BD2:
+ case 0x0BD3:
+ case 0x0BD4:
return true;
}
return false;