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.