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

Invalid Queue Properties Error on Opencl 2.0 #48

Open
jeremydiviney opened this issue Jul 11, 2016 · 2 comments
Open

Invalid Queue Properties Error on Opencl 2.0 #48

jeremydiviney opened this issue Jul 11, 2016 · 2 comments

Comments

@jeremydiviney
Copy link

from the saxpy.js example

the following line produces an error "Invalid Queue Properties"

queue = cl.createCommandQueueWithProperties(context, device, [
cl.QUEUE_PROPERTIES, cl.QUEUE_PROFILING_ENABLE
]);

however the following works:

queue = cl.createCommandQueueWithProperties(context, device, []);

seems to be something wrong with the constants in the array.

@mikeseven
Copy link
Owner

which GPU do you use?
Some (older) GPU don’t provide profiling features.

On Jul 11, 2016, at 12:19 PM, jeremydiviney <notifications@git.luolix.topmailto:notifications@github.com> wrote:

from the saxpy.js example

the following line produces an error "Invalid Queue Properties"

queue = cl.createCommandQueueWithProperties(context, device, [
cl.QUEUE_PROPERTIES, cl.QUEUE_PROFILING_ENABLE
]);

however the following works:

queue = cl.createCommandQueueWithProperties(context, device, []);

seems to be something wrong with the constants in the array.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/48, or mute the threadhttps://github.com/notifications/unsubscribe/AAxYLFCXkpTPFwKUZ55KvV9XRvdInGKjks5qUpcwgaJpZM4JJsJW.

—mike

@jeremydiviney
Copy link
Author

I have an AMD R7 360, the the profiling works fine, if I am using OpenCL 1.2 on the same GPU.

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

2 participants