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

Pan, Xiuli xiuli.pan at intel.com
Mon Mar 21 07:24:02 UTC 2016


Could add the CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE to the CL_DEVICE_QUEUE_ON_DEVICE_ PROPERTIES for query.

-----Original Message-----
From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of Yang Rong
Sent: Thursday, March 17, 2016 6:54 PM
To: beignet at lists.freedesktop.org
Cc: Yang, Rong R <rong.r.yang at intel.com>
Subject: [Beignet] [PATCH 09/10] OCL20: remove CL_QUEUE_ON_DEVICE check in function clCreateCommandQueueWithProperties.

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

_______________________________________________
Beignet mailing list
Beignet at lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list