File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ From 8243fe4ca68ab54306cd1a218ff13c20eaf85551 Mon Sep 17 00:00:00 2001
2+ From: Dennis Schridde <
[email protected] >
3+ Date: Mon, 6 Sep 2021 12:07:47 +0200
4+ Subject: [PATCH] Fix OpenCL headers 2021.04.29 compatibility
5+
6+ OpenCL headers 2021.04.29 moved `CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR` into
7+ a different header. (See issue referenced below for details.)
8+
9+ See-also: https://github.com/KhronosGroup/OpenCL-Headers/issues/145
10+ See-also: https://bugs.gentoo.org/790164
11+ ---
12+ platform/command.hpp | 3 ++-
13+ 1 file changed, 2 insertions(+), 1 deletion(-)
14+
15+ diff --git a/platform/command.hpp b/platform/command.hpp
16+ index 47bc74ac..838737a5 100644
17+ --- a/platform/command.hpp
18+ +++ b/platform/command.hpp
19+ @@ -44,7 +44,8 @@
20+ #include "platform/activity.hpp"
21+ #include "platform/command_utils.hpp"
22+
23+ - #include "CL/cl_ext.h"
24+ + #include <CL/cl_ext.h>
25+ + #include <CL/cl_gl.h>
26+
27+ #include <algorithm>
28+ #include <atomic>
29+ - -
30+ 2.33.0
31+
You can’t perform that action at this time.
0 commit comments