opencl-headers: upgrade to 2024.10.24
PATCH 1/5 opencl-headers: upgrade to 2024.10.24
Upgrade OpenCL-Headers to the latest release.
---
...pencl-headers_2024.05.08.bb => opencl-headers_2024.10.24.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-core/opencl/{opencl-headers_2024.05.08.bb => opencl-headers_2024.10.24.bb} (89%)meta-oe/recipes-core/opencl/opencl-headers_2024.10.24.bb renamed from meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb +1 -1
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SECTION = "base" S = "${WORKDIR}/git" -SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d" +SRCREV = "4ea6df132107e3b4b9407f903204b5522fdffcd6" SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" inherit cmake
Signature · 1 line
2.39.5
PATCH 2/5 opencl-headers: backport patch from trunk
Latest OpenCL CTS is released after the latest OpenCL Headers and uses a symbol which is not defined in the release. Backport a patch to make OpenCL CTS compile.
--- ...uffer-supported-queue-properties-265.patch | 42 +++++++++++++++++++ .../opencl/opencl-headers_2024.10.24.bb | 4 +- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-core/opencl/files/0001-Command-buffer-supported-queue-properties-265.patch
meta-oe/recipes-core/opencl/files/0001-Command-buffer-supported-queue-properties-265.patch new file +42 -0
@@ -0,0 +1,42 @@ +From 85888592e178c7923cd1bc1d69cee530906c80a4 Mon Sep 17 00:00:00 2001 +From: Ewan Crawford <[email protected]> +Date: Tue, 14 Jan 2025 17:14:29 +0000 +Subject: [PATCH] Command-buffer supported queue properties (#265) + +Header update generated from OpenCL-Docs PR XML change +https://github.com/KhronosGroup/OpenCL-Docs/pull/850 + +Upstream-Status: Backport [https://github.com/KhronosGroup/OpenCL-Headers/commit/d32c5bb219d7ba90ad4f251cf0bb903c08f8e5db] +Signed-off-by: Dmitry Baryshkov <[email protected]> +--- + CL/cl_ext.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CL/cl_ext.h b/CL/cl_ext.h +index 1a48985e167b..be5b473ff150 100644 +--- a/CL/cl_ext.h ++++ b/CL/cl_ext.h +@@ -52,7 +52,7 @@ extern "C" { + "cl_khr_command_buffer" + + +-#define CL_KHR_COMMAND_BUFFER_EXTENSION_VERSION CL_MAKE_VERSION(0, 9, 5) ++#define CL_KHR_COMMAND_BUFFER_EXTENSION_VERSION CL_MAKE_VERSION(0, 9, 6) + + typedef cl_bitfield cl_device_command_buffer_capabilities_khr; + typedef struct _cl_command_buffer_khr* cl_command_buffer_khr; +@@ -66,13 +66,13 @@ typedef struct _cl_mutable_command_khr* cl_mutable_command_khr; + + /* cl_device_info */ + #define CL_DEVICE_COMMAND_BUFFER_CAPABILITIES_KHR 0x12A9 ++#define CL_DEVICE_COMMAND_BUFFER_SUPPORTED_QUEUE_PROPERTIES_KHR 0x129A + #define CL_DEVICE_COMMAND_BUFFER_REQUIRED_QUEUE_PROPERTIES_KHR 0x12AA + + /* cl_device_command_buffer_capabilities_khr - bitfield */ + #define CL_COMMAND_BUFFER_CAPABILITY_KERNEL_PRINTF_KHR (1 << 0) + #define CL_COMMAND_BUFFER_CAPABILITY_DEVICE_SIDE_ENQUEUE_KHR (1 << 1) + #define CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR (1 << 2) +-#define CL_COMMAND_BUFFER_CAPABILITY_OUT_OF_ORDER_KHR (1 << 3) + + /* cl_command_buffer_properties_khr */ + #define CL_COMMAND_BUFFER_FLAGS_KHR 0x1293
meta-oe/recipes-core/opencl/opencl-headers_2024.10.24.bb +3 -1
@@ -6,7 +6,9 @@ SECTION = "base" S = "${WORKDIR}/git" SRCREV = "4ea6df132107e3b4b9407f903204b5522fdffcd6" -SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" +SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https \ + file://0001-Command-buffer-supported-queue-properties-265.patch \ + " inherit cmake
Signature · 1 line
2.39.5
PATCH 3/5 opencl-cts: upgrade to 2025.01.22
In reply to Dmitry BaryshkovUpgrade OpenCL CTS to the latest release.
---
.../{opencl-cts_2024.08.08.bb => opencl-cts_2025.01.22.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-core/opencl/{opencl-cts_2024.08.08.bb => opencl-cts_2025.01.22.bb} (95%)meta-oe/recipes-core/opencl/opencl-cts_2025.01.22.bb renamed from meta-oe/recipes-core/opencl/opencl-cts_2024.08.08.bb +1 -1
@@ -13,7 +13,7 @@ S = "${WORKDIR}/git" SRC_URI = "git://github.com/KhronosGroup/OpenCL-CTS.git;protocol=https;branch=main;lfs=0 \ file://0001-Ignore-Compiler-Warnings.patch" -SRCREV = "a406b340913f622da089b00f284a597656c10239" +SRCREV = "5b3518096ca7b82854daadb2b2fae704fe2d9cb5" EXTRA_OECMAKE:append = " -DENABLE_WERROR=OFF -DCL_INCLUDE_DIR=${STAGING_INCDIR} -DCL_LIB_DIR=${STAGING_LIBDIR} -DOPENCL_LIBRARIES=OpenCL"
Signature · 1 line
2.39.5
PATCH 4/5 vulkan-cts: upgrade to 1.4.1.0
In reply to Dmitry BaryshkovUpgrade Vulkan CTS to the latest release.
---
.../0001-use-library-sonames-for-linking.patch | 4 ++--
.../vk-gl-cts/vulkan-cts-sources.inc | 18 ++++++++++--------
...an-cts_1.3.9.2.bb => vulkan-cts_1.4.1.0.bb} | 5 +++--
3 files changed, 15 insertions(+), 12 deletions(-)
rename meta-oe/recipes-graphics/vk-gl-cts/{vulkan-cts_1.3.9.2.bb => vulkan-cts_1.4.1.0.bb} (78%)meta-oe/recipes-graphics/vk-gl-cts/files/0001-use-library-sonames-for-linking.patch +2 -2
@@ -65,8 +65,8 @@ Signed-off-by: Trevor Woerner <[email protected]> { public: VulkanLibrary(const char *libraryPath) -- : m_library(libraryPath != DE_NULL ? libraryPath : "libvulkan.so") -+ : m_library(libraryPath != DE_NULL ? libraryPath : "libvulkan.so.1") +- : m_library(libraryPath != nullptr ? libraryPath : "libvulkan.so") ++ : m_library(libraryPath != nullptr ? libraryPath : "libvulkan.so.1") , m_driver(m_library) { }
meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc +10 -8
@@ -6,18 +6,20 @@ RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" python __anonymous() { - if d.getVar("PV") != "1.3.9.2": + if d.getVar("PV") != "1.4.1.0": bb.warn("-sources.inc out of date, run refresh_srcuri task") } SRC_URI += " \ https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=git/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ - git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-tools/src;rev=4c7e1fa5c3d988cca0e626d359d30b117b9c2822 \ - git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=git/external/glslang/src;rev=2b19bf7e1bc0b60cf2fe9d33e5ba6b37dfc1cc83 \ - git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-headers/src;rev=db5a00f8cebe81146cafabf89019674a3c4bf03d \ - git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-docs/src;rev=7bb606eb87cde1d34f65f36f4d4c6f2c78f072c8 \ - git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-validationlayers/src;rev=f589bc456545fbab97caf49380b102b8aafe1f40 \ - git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=git/external/amber/src;rev=0f003c2785489f59cd01bb2440fcf303149100f2 \ + git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-tools/src;rev=3fb52548bc8a68d349d31e21bd4e80e3d953e87c \ + git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=git/external/glslang/src;rev=3a2834e7702651043ca9f35d022739e740563516 \ + git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-headers/src;rev=36d5e2ddaa54c70d2f29081510c66f4fc98e5e53 \ + git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-docs/src;rev=c7a3955e47d223c6a37fb29e2061c973eec98d0a \ + git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-validationlayers/src;rev=902f3cf8d51e76be0c0deb4be39c6223abebbae2 \ + git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=git/external/amber/src;rev=1ec5e96db7e0343d045a52c590e30eba154f74a8 \ git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=git/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ - git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=git/external/nvidia-video-samples/src;rev=6821adf11eb4f84a2168264b954c170d03237699 \ + git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=git/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ + git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \ + git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=git/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ "
meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.1.0.bb renamed from meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.3.9.2.bb +3 -2
@@ -2,7 +2,7 @@ DESCRIPTION = "Vulkan CTS" require khronos-cts.inc -SRCREV_vk-gl-cts = "24c1b1498ba4f05777f47541968ffe686265c645" +SRCREV_vk-gl-cts = "fcd9b1cf0048e0e960241dfb76e14a1ced8dcf7b" require vulkan-cts-sources.inc
@@ -17,8 +17,9 @@ DEPENDS += " vulkan-loader" EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="deqp-vk deqp-vksc"" do_install() { - install -d ${D}/${CTSDIR} + install -d ${D}/${CTSDIR}/mustpass cp -r ${B}/external/vulkancts/modules/vulkan/* ${D}/${CTSDIR}/ + cp -r ${S}/external/vulkancts/mustpass/main/ ${D}/${CTSDIR}/mustpass/ rm -rf ${D}/${CTSDIR}/*.a ${D}/${CTSDIR}/cmake_install.cmake ${D}/${CTSDIR}/CMakeFiles rm -rf ${D}/${CTSDIR}/*/*.a ${D}/${CTSDIR}/*/cmake_install.cmake ${D}/${CTSDIR}/*/CMakeFiles }
Signature · 1 line
2.39.5
PATCH 5/5 opengl-es-cts: upgrade to 3.2.12
In reply to Dmitry BaryshkovUpgrade OpenGL ES CTS to the latest release.
---
.../vk-gl-cts/opengl-es-cts-sources.inc | 18 ++++++++++--------
...s_3.2.11.0.bb => opengl-es-cts_3.2.12.0.bb} | 2 +-
2 files changed, 11 insertions(+), 9 deletions(-)
rename meta-oe/recipes-graphics/vk-gl-cts/{opengl-es-cts_3.2.11.0.bb => opengl-es-cts_3.2.12.0.bb} (94%)meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts-sources.inc +10 -8
@@ -6,18 +6,20 @@ RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" python __anonymous() { - if d.getVar("PV") != "3.2.11.0": + if d.getVar("PV") != "3.2.12.0": bb.warn("-sources.inc out of date, run refresh_srcuri task") } SRC_URI += " \ https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=git/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ - git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-tools/src;rev=148c97f6876e427efd76d2328122c3075eab4b8f \ - git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=git/external/glslang/src;rev=4da479aa6afa43e5a2ce4c4148c572a03123faf3 \ - git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-headers/src;rev=ff2afc3afc48dff4eec2a10f0212402a80708e38 \ - git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-docs/src;rev=ed4ba0242beb89a1795d6084709fa9e713559c94 \ - git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-validationlayers/src;rev=f589bc456545fbab97caf49380b102b8aafe1f40 \ - git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=git/external/amber/src;rev=0f003c2785489f59cd01bb2440fcf303149100f2 \ + git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-tools/src;rev=04b4a204aa501992ae85a207be1e200e195c98e1 \ + git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=git/external/glslang/src;rev=0549c7127c2fbab2904892c9d6ff491fa1e93751 \ + git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-headers/src;rev=e7294a8ebed84f8c5bd3686c68dbe12a4e65b644 \ + git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-docs/src;rev=645c59c70e826d9738b6bb103316c03d887dfed3 \ + git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-validationlayers/src;rev=6cf616f131e9870c499a50441bca2d07ccda9733 \ + git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=git/external/amber/src;rev=6fa5ac1fb3b01c93eef3caa2aeb8841565e38d90 \ git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=git/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ - git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=git/external/nvidia-video-samples/src;rev=6821adf11eb4f84a2168264b954c170d03237699 \ + git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=git/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ + git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \ + git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=git/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ "
meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb renamed from meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.11.0.bb +1 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "OpenGL CTS" require khronos-cts.inc -SRCREV_vk-gl-cts = "66956d195169596472e956e3aebf2df8e3bd960d" +SRCREV_vk-gl-cts = "42e61858e862e153cd0fe36593a8c3f7c16c3275" require opengl-es-cts-sources.inc
Signature · 1 line
2.39.5
this breaks clpeak recipe -
https://errors.yoctoproject.org/Errors/Details/851680/
Quoted 37 lines · Dmitry Baryshkov via lists.openembedded.org
Upgrade OpenCL-Headers to the latest release.
Signed-off-by Dmitry Baryshkov <[email protected]>--- ...pencl-headers_2024.05.08.bb => opencl-headers_2024.10.24.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-core/opencl/{opencl-headers_2024.05.08.bb => opencl-headers_2024.10.24.bb} (89%)meta-oe/recipes-core/opencl/opencl-headers_2024.10.24.bb renamed from meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb +1
-2@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SECTION = "base" S = "${WORKDIR}/git" -SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d" +SRCREV = "4ea6df132107e3b4b9407f903204b5522fdffcd6" SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" inherit cmake --2.39.5
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116657): https://lists.openembedded.org/g/openembedded-devel/message/116657
Mute This Topic: https://lists.openembedded.org/mt/112129617/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 3 lines · Khem Raj
this breaks clpeak recipe -
https://errors.yoctoproject.org/Errors/Details/851680/
It is required to update OpenCL-CLHPP together with OpenCL-Headers, but I didn't notice that.
I've posted v2 which fixes this issue.
Quoted 41 lines
Quoted 37 lines · Dmitry Baryshkov via lists.openembedded.org
Upgrade OpenCL-Headers to the latest release.
Signed-off-by Dmitry Baryshkov <[email protected]>--- ...pencl-headers_2024.05.08.bb => opencl-headers_2024.10.24.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-oe/recipes-core/opencl/{opencl-headers_2024.05.08.bb => opencl-headers_2024.10.24.bb} (89%)meta-oe/recipes-core/opencl/opencl-headers_2024.10.24.bb renamed from meta-oe/recipes-core/opencl/opencl-headers_2024.05.08.bb +1
-2@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SECTION = "base" S = "${WORKDIR}/git" -SRCREV = "8275634cf9ec31b6484c2e6be756237cb583999d" +SRCREV = "4ea6df132107e3b4b9407f903204b5522fdffcd6" SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" inherit cmake --2.39.5
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116657): https://lists.openembedded.org/g/openembedded-devel/message/116657
Mute This Topic: https://lists.openembedded.org/mt/112129617/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 2 lines
With best wishes Dmitry