Table of Contents
Published: 2026-09-21 · Category: RISC-V Development · Reading time: ~5 min · Status: DRAFT
Two releases, two different claims
Two things happened close together and they are easy to conflate, so let's separate them first:
- 18 September 2026 — Khronos published the OpenCL 3.1.2 specification, finalising the
cl_khr_command_bufferextension alongside bug fixes and clarifications. - 4 September 2026 — PoCL 7.2 was tagged, and its release notes claim official OpenCL 3.0 conformance with the CPU device running on RISC-V and x86-64.
Note the version gap. PoCL 7.2's conformance claim is against OpenCL 3.0, tested with OpenCL-CTS tag v2026-03-25-00. It is not a claim of 3.1 or 3.1.2 conformance. If you are writing a compliance matrix, those are two rows.
What command buffers actually buy you
Khronos describes cl_khr_command_buffer in one sentence with a large implication: it "lets applications record a sequence of commands once and replay it repeatedly, reducing CPU overhead and giving drivers opportunities to optimize across the entire sequence."
The workload that benefits is the one with a repeated execution pattern — and Khronos names it directly: AI inference. An inference loop enqueues the same kernel graph thousands of times. Today each submission pays enqueue cost and gives the driver only one command of lookahead. A command buffer amortises the submission and lets the driver see the whole graph.
That matters more on RISC-V than on x86, because on a RISC-V host the CPU-side enqueue path is frequently the constraint rather than the kernel. Anything that removes per-iteration host work is worth measuring.
What is inside PoCL 7.2
From the GitHub release notes for tag v7.2 (published 4 Sep 2026 14:11, maintainer franz):
- LLVM support up to 22 for the CUDA and LevelZero devices
- LLVM 22 and 23 support for the CPU device
- Minimum supported LLVM raised to 18 — LLVM 17 builds are now off the table
- Official OpenCL 3.0 conformance, OpenCL-CTS
v2026-03-25-00, CPU device on RISC-V and x86-64 - New CPU-driver extensions:
cl_khr_extended_bit_ops,cl_khr_device_uuid,cl_khr_suggested_local_work_size,cl_khr_integer_dot_product,cl_khr_kernel_clock,cl_khr_spirv_linkonce_odr,cl_khr_spirv_no_integer_wrap_decoration - Program-scope variables re-enabled
- MIT licensed; the Windows installer needs only the Microsoft Visual C++ Redistributable 2017+
Two of those extensions are worth calling out for ML work: cl_khr_integer_dot_product is the integer dot-product path that quantised inference leans on, and cl_khr_suggested_local_work_size lets an application ask the implementation what work-group shape it actually wants instead of guessing.
The LLVM floor is the part that will break your build
Minimum LLVM 18 is the operational headline. If your RISC-V toolchain image is pinned to LLVM 17, PoCL 7.2 will not build. Conversely, if you are on LLVM 23 you are only covered on the CPU device — CUDA and LevelZero paths stop at 22.
For a RISC-V CPU-device deployment this is straightforward: LLVM 18 through 23 works, and 22 or 23 is the natural target.
Why "conformance" is not "performance"
Conformance means the implementation passes the conformance test suite — it behaves correctly against the specification. It says nothing about throughput, and it does not mean two conformant devices expose the same feature set. OpenCL 3.0 makes many things optional beyond the 1.2 baseline, so two conformant platforms can differ materially in what your kernels may legally use.
Practically: query for the extension you need, do not infer it from the conformance badge. cl_khr_integer_dot_product being in the release notes tells you it may be exposed; clGetDeviceInfo on your actual board tells you whether it is.
OpenCL 3.1 context, and the SDK
Khronos released OpenCL 3.1 on 4 May 2026, moving several previously optional capabilities into the core — SPIR-V kernel consumption, subgroups, integer dot products, a suggested work-group size query, and a device UUID query matching Vulkan's. Implementations were listed as in progress from Arm, Imagination, Intel, Mesa and Qualcomm, plus Rusticl, PoCL and CLVK on the open-source side.
Also on 14 September 2026, Khronos issued an RFP for OpenCL SDK maintenance, covering the samples, utility libraries, language bindings and CI. Worth watching if your build depends on the SDK rather than the runtime alone.
Not disclosed / not verified
- Which specific RISC-V boards are listed in the Khronos conformance registry for PoCL 7.2. A secondary aggregator named Star64 and Milk-V Jupiter; we could not confirm that from Khronos or the GitHub release notes, so treat it as unverified and check the registry directly before citing it.
- Any benchmark comparing PoCL CPU-device performance on RISC-V against x86-64, or against a GPU.
- Whether PoCL intends a 3.1/3.1.2 conformance submission, and on what timeline.
- VLEN requirements. Nothing in the release notes states a minimum vector length for the RISC-V CPU device.
Sources
- Khronos OpenCL news — OpenCL 3.1.2 Specification Released, 18 September 2026: <https://www.khronos.org/news/tags/tag/OpenCL>
- Khronos OpenCL news — PoCL 7.2-RC1 Brings Official OpenCL 3.0 Conformance On RISC-V & x86_64 CPUs, 12 August 2026: <https://www.khronos.org/news/tags/tag/pocl>
- Khronos OpenCL news — Khronos Issues RFP for OpenCL SDK Maintenance, 14 September 2026: <https://www.khronos.org/news/tags/tag/OpenCL>
- Khronos OpenCL news — OpenCL 3.1 is here, 4 May 2026: <https://www.khronos.org/news/tags/tag/OpenCL>
- PoCL 7.2 release notes and assets, tag
v7.2, 4 September 2026: <https://github.com/pocl/pocl/releases>
Verification notes
- The PoCL 7.2 date was checked against the GitHub release tag, not a search snippet. A previous cycle flagged an unverifiable "PoCL 7.2" claim; the tag and its commit (
888c977) confirm the release is real and dated 4 Sep 2026. It sits outside a strict three-day news window and is included here as context for the 18 Sep Khronos spec release. - Conformance version mismatch is deliberate and stated. PoCL 7.2 = OpenCL 3.0; the spec release = 3.1.2.
- Spam mirrors were excluded. Several auto-generated aggregators reproduced this story with added figures; nothing from them is used above.
- No performance claim of any kind is made in this draft.