OpenCL-Docs
OpenCL-Docs copied to clipboard
Clarifying spec consistency around order of results related to CL_CONTEXT_DEVICES query and possibly few more
During review of CTS PR 2177 it was noted by @bashbaug that the result of the CL_CONTEXT_DEVICES query is not required by the specification to retain the same order as was used during the context creation. This inconsistency may be unexpected for users who likely assume the order will remain consistent.
Similar problem may refer to two more queries:
CL_COMMAND_BUFFER_QUEUES_KHRCL_COMMAND_BUFFER_PROPERTIES_ARRAY_KHR