aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Herschke <lhersch@dssgmbh.de>2023-11-03 18:13:55 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-11-20 13:38:11 +0000
commita19c2f3b1779b727d8e9a8e03f1edb1c38f27c40 (patch)
tree7718c10bfafda6caa976a7191a3b3b8171f0aab8
parent232d04f30b68900905756b288494dde96aaf7bdb (diff)
downloadports-a19c2f3b1779b727d8e9a8e03f1edb1c38f27c40.tar.gz
ports-a19c2f3b1779b727d8e9a8e03f1edb1c38f27c40.zip
lang/intel-compute-runtime: unbreak build after 41f2281cb356
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 (cherry picked from commit 5bae779cbf3ecff19b7c6ff95dd7809d0863b7b5)
-rw-r--r--lang/intel-compute-runtime/files/patch-gmmlib-22.3.722
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/intel-compute-runtime/files/patch-gmmlib-22.3.7 b/lang/intel-compute-runtime/files/patch-gmmlib-22.3.7
new file mode 100644
index 000000000000..6ba0f7c7c402
--- /dev/null
+++ b/lang/intel-compute-runtime/files/patch-gmmlib-22.3.7
@@ -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;