From: Simon Richter Date: Tue, 2 Apr 2013 12:51:52 +0000 (+0200) Subject: Fix typo in cl_get_platform_info function name X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2feae0f4180f577e1bbc45520584a121715b323c;p=contrib%2Fbeignet.git Fix typo in cl_get_platform_info function name Reviewed-by: Zhigang Gong --- diff --git a/src/cl_api.c b/src/cl_api.c index 88e1096..7d1ed98 100644 --- a/src/cl_api.c +++ b/src/cl_api.c @@ -51,7 +51,7 @@ clGetPlatformInfo(cl_platform_id platform, void * param_value, size_t * param_value_size_ret) { - return cl_get_platform_into(platform, + return cl_get_platform_info(platform, param_name, param_value_size, param_value, diff --git a/src/cl_platform_id.c b/src/cl_platform_id.c index 0d46453..cd95747 100644 --- a/src/cl_platform_id.c +++ b/src/cl_platform_id.c @@ -86,7 +86,7 @@ cl_get_platform_ids(cl_uint num_entries, return CL_SUCCESS; LOCAL cl_int -cl_get_platform_into(cl_platform_id platform, +cl_get_platform_info(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void * param_value, diff --git a/src/cl_platform_id.h b/src/cl_platform_id.h index 2cbebce..84fd0ef 100644 --- a/src/cl_platform_id.h +++ b/src/cl_platform_id.h @@ -47,7 +47,7 @@ extern cl_int cl_get_platform_ids(cl_uint num_entries, cl_uint * num_platforms); /* Return information for the current platform */ -extern cl_int cl_get_platform_into(cl_platform_id platform, +extern cl_int cl_get_platform_info(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void * param_value,