ports/lang/intel-compute-runtime/files/patch-gmmlib-22.3.7
Lars Herschke 5bae779cbf 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
2023-11-20 14:37:19 +01:00

22 lines
705 B
Groff

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;