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

Support dynamic queue (queue_t) arguments #8

Open
trbauer opened this issue Dec 14, 2018 · 0 comments
Open

Support dynamic queue (queue_t) arguments #8

trbauer opened this issue Dec 14, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@trbauer
Copy link
Owner

trbauer commented Dec 14, 2018

Support queue_t arguments.

A custom queue can be created as follow.

cl_queue_properties qprop[] = {CL_QUEUE_SIZE, 16*1024*1024, 
                               CL_QUEUE_PROPERTIES,         
  (cl_command_queue_properties)CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE |
                               CL_QUEUE_ON_DEVICE |
                               CL_QUEUE_ON_DEVICE_DEFAULT, 0};   
cl_command_queue my_device_q = clCreateCommandQueueWithProperties(CLU_CONTEXT, cluGetDevice(CL_DEVICE_TYPE_GPU), qprop, &status);

See https://software.intel.com/en-us/articles/sierpinski-carpet-in-opencl-20

@trbauer trbauer added the enhancement New feature or request label Dec 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant