Skip to content

[SYCL] Adjust Messaging for Invalid NDRange WorkGroup Sizes #1817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

cperkinsintel
Copy link
Contributor

This improves the error messages thrown when the workgroup sizes for a kernel invocation are invalid. It more accurately informs the user when the global workgroup size is not evenly divisible by the local work size, and when the local size is greater than the global. Messaging in the more limited OpenCL 2.0 cases (where there are fewer size restrictions is likewise improved

Signed-off-by: Chris Perkins [email protected]

…s of global, but this is likely not correct for OpenCL 2.0.

Signed-off-by: Chris Perkins <[email protected]>
Signed-off-by: Chris Perkins <[email protected]>
Signed-off-by: Chris Perkins <[email protected]>
@cperkinsintel cperkinsintel requested a review from a team as a code owner June 4, 2020 23:36
Copy link
Contributor

@romanovvlad romanovvlad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I would like @v-klochkov to approve.

@v-klochkov v-klochkov merged commit 894c10d into intel:sycl Jun 8, 2020
@cperkinsintel cperkinsintel deleted the cperkins-invalid-wg-size-message branch June 8, 2020 19:44
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