Open jeremydiviney opened 8 years ago
which GPU do you use? Some (older) GPU don’t provide profiling features.
On Jul 11, 2016, at 12:19 PM, jeremydiviney notifications@github.com<mailto: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/mikeseven/node-opencl/issues/48, or mute the threadhttps://github.com/notifications/unsubscribe/AAxYLFCXkpTPFwKUZ55KvV9XRvdInGKjks5qUpcwgaJpZM4JJsJW.
—mike
I have an AMD R7 360, the the profiling works fine, if I am using OpenCL 1.2 on the same GPU.
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.