summaryrefslogtreecommitdiff
path: root/utests/utest_helper.cpp
diff options
context:
space:
mode:
authorLuo Xionghu <xionghu.luo at intel.com>2016-03-01 07:46:09 +0800
committerYang Rong <rong.r.yang@intel.com>2016-11-08 20:38:21 +0800
commit75953841661a2c78eb03383def08f8395dfa671f (patch)
treec40c541c260657722b3431d45e303642a2a0e1ab /utests/utest_helper.cpp
parent8703f4e22ed7e01f23b641eaf57efab7d90c7e80 (diff)
downloadbeignet-75953841661a2c78eb03383def08f8395dfa671f.tar.gz
Runtime: Add API clCreateCommandQueueWithProperties
Contributor: Luo Xionghu <xionghu.luo at intel.com> Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/utest_helper.cpp')
-rw-r--r--utests/utest_helper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utests/utest_helper.cpp b/utests/utest_helper.cpp
index 65c97bb8..f9adbc66 100644
--- a/utests/utest_helper.cpp
+++ b/utests/utest_helper.cpp
@@ -509,9 +509,9 @@ cl_ocl_init(void)
cl_test_channel_type_string(fmt[i].image_channel_data_type));
/* We are going to push NDRange kernels here */
- queue = clCreateCommandQueue(ctx, device, 0, &status);
+ queue = clCreateCommandQueueWithProperties(ctx, device, 0, &status);
if (status != CL_SUCCESS) {
- fprintf(stderr, "error calling clCreateCommandQueue\n");
+ fprintf(stderr, "error calling clCreateCommandQueueWithProperties\n");
goto error;
}