Khronos has released OpenCL 3.1, the first major update to the cross-platform heterogeneous compute specification in several years. The headline change is mandatory SPIR-V ingestion across all conformant implementations, removing the last barrier for higher-level frameworks like SYCL and chipStar to fully commit to OpenCL as a runtime. Other mandated additions include subgroup operations with shuffles and rotations, integer dot products for AI inference workloads, a suggested local work-group size query, and a standard device UUID query matching Vulkan's. Several developer ergonomics improvements are also included: cleaner kernel code without extension guards, printf z/t format modifiers, clarified unified memory semantics, and a relaxed memory model scope rule. Implementations are in progress from Arm, Imagination, Intel, Mesa, and Qualcomm, plus open-source runtimes Rusticl, PoCL, and CLVK. The roadmap includes Command Buffers, Unified Shared Memory, Cooperative Matrix operations, and new low-precision AI data types.

7m read timeFrom khronos.org
Post cover image
Table of contents
Raising the Bar for Cross-Platform Heterogeneous ComputeOpenCL Evolution MethodologyMandated SPIR-V IngestionBuilding Blocks for AI and HPC WorkloadsStreamlining DevelopmentImplementations in ProgressWhat’s NextTwo Takeaways

Sort: