summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShow Liu <show.liu@linaro.org>2014-12-11 14:44:40 +0800
committerShow Liu <show.liu@linaro.org>2014-12-11 14:44:40 +0800
commit4168886cbeacc95ed1300ea3c8f20cff4169cca2 (patch)
tree72bdf274c9484614eb2ed5224a532b1ca46c629f
parent27a45b16ed4aa2e3947b794c79e88fe0b4215510 (diff)
downloadshamrock-Khronos_conformance.tar.gz
fixed the tests kernel fail problemKhronos_conformance
-rw-r--r--tests/test_kernel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_kernel.cpp b/tests/test_kernel.cpp
index bbb8d28..7046279 100644
--- a/tests/test_kernel.cpp
+++ b/tests/test_kernel.cpp
@@ -117,7 +117,7 @@ START_TEST (test_compiled_kernel)
"simple_function is not a kernel"
);
- kernels[0] = clCreateKernel(program, "kernel1", &result);
+ kernels[1] = clCreateKernel(program, "kernel1", &result);
fail_if(
result != CL_SUCCESS,
"unable to create a valid kernel"