Skip to content

add suggested local work size support for the command buffer emulation layer#163

Merged
bashbaug merged 3 commits intomainfrom
cmdbuf-suggested-work-group-size
Mar 23, 2026
Merged

add suggested local work size support for the command buffer emulation layer#163
bashbaug merged 3 commits intomainfrom
cmdbuf-suggested-work-group-size

Conversation

@bashbaug
Copy link
Owner

As an optimization, we can get the suggested local work-group size for calls to clEnqueueNDRangeKernel during command buffer construction when the local work-group size is NULL vs. determining the local work-group size each time clEnqueueNDRangeKernel is executed during command buffer execution. This isn't a huge improvement, but it reduces command buffer enqueue time by approximately 2% on some devices in submission microbenchmarks.

@bashbaug bashbaug merged commit 6b5735e into main Mar 23, 2026
12 checks passed
@bashbaug bashbaug deleted the cmdbuf-suggested-work-group-size branch March 23, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant