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

in OpenCL formats find_best_workgroup() should start from 32 for GPU's #12

Closed
ghost opened this issue Apr 19, 2012 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Apr 19, 2012

if(device_type==CL_DEVICE_TYPE_GPU) my_work_group=32;
for (; (int) my_work_group <= (int) max_group_size;

@ghost ghost closed this as completed Apr 19, 2012
@magnumripper
Copy link
Member

Isn't 32 nvidia specific, and even specific to current GPUs (as opposed to possible future models)? Is there a particular reason for not using CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE? I do not know but I suspect the latter would currently return 32 for nvidia and 64 for AMD.

This issue was closed.
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

No branches or pull requests

1 participant