Skip to content
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

Added test for work-item functions with out-of-range arguments #2099

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

shajder
Copy link
Contributor

@shajder shajder commented Oct 1, 2024

According to description from issue #2005


for (size_t dim = 1; dim <= 3; dim++)
{
cl_uint local_workgroup_size[3] = { maxWorkItemSizes[0],
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
cl_uint local_workgroup_size[3] = { maxWorkItemSizes[0],
size_t local_workgroup_size[3] = { maxWorkItemSizes[0],

?
(to avoid narrowing conversion warnings on latest main)

outOfRangeWorkItemKernelCode)
{}

virtual cl_int SetUp(const char *kernel_source) override
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
virtual cl_int SetUp(const char *kernel_source) override
cl_int SetUp(const char *kernel_source) override

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.

2 participants