Skip to content

Invalid Queue Properties Error on Opencl 2.0 #48

@jeremydiviney

Description

@jeremydiviney

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions