-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-libs/rocclr-4.3.0: Fix build of dev-util/hip-4.3.0 with dev-util/…
…opencl-headers-2021.06.30 See-also: https://bugs.gentoo.org/790164 See-also: ROCm/ROCclr#25 See-also: KhronosGroup/OpenCL-Headers#145
- Loading branch information
1 parent
d3f5990
commit 69a0b12
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
dev-libs/rocclr-4.3.0/rocclr-4.3.0-fix-opencl-headers-2021.04.29-compat.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
From 8243fe4ca68ab54306cd1a218ff13c20eaf85551 Mon Sep 17 00:00:00 2001 | ||
From: Dennis Schridde <[email protected]> | ||
Date: Mon, 6 Sep 2021 12:07:47 +0200 | ||
Subject: [PATCH] Fix OpenCL headers 2021.04.29 compatibility | ||
|
||
OpenCL headers 2021.04.29 moved `CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR` into | ||
a different header. (See issue referenced below for details.) | ||
|
||
See-also: https://github.com/KhronosGroup/OpenCL-Headers/issues/145 | ||
See-also: https://bugs.gentoo.org/790164 | ||
--- | ||
platform/command.hpp | 3 ++- | ||
1 file changed, 2 insertions(+), 1 deletion(-) | ||
|
||
diff --git a/platform/command.hpp b/platform/command.hpp | ||
index 47bc74ac..838737a5 100644 | ||
--- a/platform/command.hpp | ||
+++ b/platform/command.hpp | ||
@@ -44,7 +44,8 @@ | ||
#include "platform/activity.hpp" | ||
#include "platform/command_utils.hpp" | ||
|
||
-#include "CL/cl_ext.h" | ||
+#include <CL/cl_ext.h> | ||
+#include <CL/cl_gl.h> | ||
|
||
#include <algorithm> | ||
#include <atomic> | ||
-- | ||
2.33.0 | ||
|