summaryrefslogtreecommitdiff
path: root/utests/utest_helper.cpp
diff options
context:
space:
mode:
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;
}