Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
bashbaug merged 3 commits intomainbashbaug/SimpleOpenCLSamples:mainfrom
cmdbuf-suggested-work-group-sizebashbaug/SimpleOpenCLSamples:cmdbuf-suggested-work-group-sizeCopy head branch name to clipboard
Mar 23, 2026
Merged

add suggested local work size support for the command buffer emulation layer#163
bashbaug merged 3 commits intomainbashbaug/SimpleOpenCLSamples:mainfrom
cmdbuf-suggested-work-group-sizebashbaug/SimpleOpenCLSamples:cmdbuf-suggested-work-group-sizeCopy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.