From 3cfa7b5d9bd0d0ab86b557632734f4aaed59509f Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Wed, 9 Sep 2026 11:07:30 -0700 Subject: [PATCH] bump cl_khr_command_buffer emulation layer version to v1.0.0 --- layers/10_cmdbufemu/README.md | 2 +- layers/10_cmdbufemu/emulate.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layers/10_cmdbufemu/README.md b/layers/10_cmdbufemu/README.md index 39f43b7..b767c61 100644 --- a/layers/10_cmdbufemu/README.md +++ b/layers/10_cmdbufemu/README.md @@ -7,7 +7,7 @@ It works by intercepting calls to `clGetExtensionFunctionAddressForPlatform` to If a query succeeds by default then the layer does nothing and simply returns the queried function pointer as-is. If the query is unsuccessful however, then the layer returns its own function pointer, which will record the contents of the command buffer for later playback. -This command buffer emulation layer currently implements v0.9.8 of the `cl_khr_command_buffer` extension and v0.9.5 of the `cl_khr_command_buffer_mutable_dispatch` extension. +This command buffer emulation layer currently implements v1.0.0 of the `cl_khr_command_buffer` extension and v0.9.5 of the `cl_khr_command_buffer_mutable_dispatch` extension. The functionality in this emulation layer is sufficient to run the command buffer samples in this repository. Please note that the emulated command buffers are intended to be functional, but unlike a native implementation, they may not provide any performance benefit over similar code without using command buffers. diff --git a/layers/10_cmdbufemu/emulate.cpp b/layers/10_cmdbufemu/emulate.cpp index 526d83a..fd483a5 100644 --- a/layers/10_cmdbufemu/emulate.cpp +++ b/layers/10_cmdbufemu/emulate.cpp @@ -21,7 +21,7 @@ // Reminder: When updating these versions, update the README also! static constexpr cl_version version_cl_khr_command_buffer = - CL_MAKE_VERSION(0, 9, 8); + CL_MAKE_VERSION(1, 0, 0); static constexpr cl_version version_cl_khr_command_buffer_mutable_dispatch = CL_MAKE_VERSION(0, 9, 5);