diff options
author | Jan Vesely <jan.vesely@rutgers.edu> | 2017-09-21 09:08:44 -0400 |
---|---|---|
committer | Jan Vesely <jan.vesely@rutgers.edu> | 2017-10-04 19:45:41 -0400 |
commit | 7658bda8e2ecba40904853a963bc107f64d90013 (patch) | |
tree | feb7c2364c408954be8ca8dc9bc317643689d9e8 | |
parent | a53b544a02e9c2223a24a7828f9ccb8ece068321 (diff) |
cl: Fix incorrect indentation
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
-rw-r--r-- | tests/cl/api/link-program.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tests/cl/api/link-program.c b/tests/cl/api/link-program.c index 75896d64c..48563a10c 100644 --- a/tests/cl/api/link-program.c +++ b/tests/cl/api/link-program.c @@ -193,7 +193,7 @@ piglit_cl_test(const int argc, compiled_programs[0] = function_prog; compiled_programs[1] = kernel_prog; -/*** Normal usage ***/ + /*** Normal usage ***/ test(env->context->cl_ctx, env->context->num_devices, env->context->device_ids, "-create-library", @@ -237,7 +237,7 @@ piglit_cl_test(const int argc, } -/*** Errors ***/ + /*** Errors ***/ /* * CL_INVALID_VALUE if device_list is NULL and num_devices is greater than @@ -359,21 +359,21 @@ piglit_cl_test(const int argc, cl_bool* dev_linker = piglit_cl_get_device_info(env->context->device_ids[i], CL_DEVICE_LINKER_AVAILABLE); - if(!(*dev_linker)) { - test(env->context->cl_ctx, - 1, &env->context->device_ids[i], - "", - 2, compiled_programs, - NULL, NULL, - NULL, - CL_LINKER_NOT_AVAILABLE, &result, - "Trigger CL_LINKER_NOT_AVAILABLE if a linker is not available"); + if(!(*dev_linker)) { + test(env->context->cl_ctx, + 1, &env->context->device_ids[i], + "", + 2, compiled_programs, + NULL, NULL, + NULL, + CL_LINKER_NOT_AVAILABLE, &result, + "Trigger CL_LINKER_NOT_AVAILABLE if a linker is not available"); } free(dev_linker); } -/* Release programs */ + /* Release programs */ clReleaseProgram(function_prog); clReleaseProgram(kernel_prog); clReleaseProgram(linked_prog); @@ -407,7 +407,7 @@ piglit_cl_test(const int argc, "Trigger CL_LINK_PROGRAM_FAILURE if there is a failure to link the compiled binaries and/or libraries"); } -/* Release programs */ + /* Release programs */ clReleaseProgram(function_prog); clReleaseProgram(kernel_prog); |