SWDEV-494501 - Fix CTS api negative sub-test failures

Change-Id: I0dd67467d977569fca45dcdad28a96c839bae33b
Este cometimento está contido em:
Julia Jiang criou e Julia Jiang cometeu 2024-11-05 14:58:01 -05:00
1 ascendente aa4f27c29b
cometimento 11a4cb3c34
1 ficheiro modificado
+4
+4
Ver ficheiro
@@ -108,6 +108,10 @@ RUNTIME_ENTRY_RET(cl_command_queue, clCreateCommandQueueWithProperties,
// FIXME_lmoriche: See comment above.
// properties = p->value.properties;
properties = static_cast<cl_command_queue_properties>(p->value.raw);
if (properties == CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE) {
*not_null(errcode_ret) = CL_INVALID_QUEUE_PROPERTIES;
return (cl_command_queue)0;
}
break;
case CL_QUEUE_SIZE:
queueSize = p->value.size;