Skip to content

negative_set_default_device_command_queue #2566

@rjodinchr

Description

@rjodinchr

At the end of negative_set_default_device_command_queue the test is trying to create a queue that should not be on device to check that clSetDefaultDeviceCommandQueue returns the proper error code.

But to do that it tries to create a queue with only CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE.

I see 2 potential issues:

  • Device not supporting CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE will fail on the creation of the queue which would be a false negative.
  • Are we sure that that queue won't be on-device? It's not clear to me reading the specification that CL_QUEUE_DEVICE is required for the driver to provide an on-device queue. Thus not providing it won't guarantee that the created queue won't be on-device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cognizant-backlogIssue approved by WG for Cognizant to work on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions