[Beignet] [PATCH 09/10] OCL20: remove CL_QUEUE_ON_DEVICE check in function clCreateCommandQueueWithProperties.

Yang Rong rong.r.yang at intel.com
Thu Mar 17 10:53:57 UTC 2016


Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
 src/cl_api.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/cl_api.c b/src/cl_api.c
index 5697e34..19c0ec7 100644
--- a/src/cl_api.c
+++ b/src/cl_api.c
@@ -488,11 +488,6 @@ clCreateCommandQueueWithProperties(cl_context                         context,
   }
   if(prop == 0xFFFFFFFF) prop = 0;
 
-  if((prop & CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE)||(prop & CL_QUEUE_ON_DEVICE)) {/*not supported now.*/
-    err = CL_INVALID_QUEUE_PROPERTIES;
-    goto error;
-  }
-
   queue = cl_context_create_queue(context, device, prop, &err);
 error:
   if (errcode_ret)
-- 
1.9.1



More information about the Beignet mailing list