Skip to content

Clean uniform work-group size option#827

Merged
kpet merged 1 commit intokpet:mainfrom
rjodinchr:uniform-wg
Mar 31, 2026
Merged

Clean uniform work-group size option#827
kpet merged 1 commit intokpet:mainfrom
rjodinchr:uniform-wg

Conversation

@rjodinchr
Copy link
Copy Markdown
Contributor

Only add '-cl-arm-non-uniform-work-group-size' if options allow to split regions.

options do not allow to split region if '-cl-uniform-work-group-size' is used.

Return CL_INVALID_WORK_GROUP_SIZE if we need to split the region but cannot do it because of options.

@rjodinchr
Copy link
Copy Markdown
Contributor Author

Require google/clspv#1540

@ShaobinTao
Copy link
Copy Markdown
Contributor

google/clspv#1540 is merged now. Can you merge this PR? @rjodinchr

@rjodinchr
Copy link
Copy Markdown
Contributor Author

No we need to update clspv in clvk first.

@rjodinchr rjodinchr marked this pull request as ready for review December 9, 2025 07:28
Only add '-cl-arm-non-uniform-work-group-size' if options allow to
split regions.

options do not allow to split region if '-cl-uniform-work-group-size'
is used.

Return CL_INVALID_WORK_GROUP_SIZE if we need to split the region but
cannot do it because of options.
@kpet kpet merged commit e5dd423 into kpet:main Mar 31, 2026
9 checks passed
@rjodinchr rjodinchr deleted the uniform-wg branch March 31, 2026 08:31
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.

3 participants