From 0aeb74907be189c610bc50735fc6bd05c452f1af Mon Sep 17 00:00:00 2001 From: Jiaying Zhao Date: Tue, 7 May 2019 13:44:03 +0800 Subject: [PATCH] change funtion name (#1598) * optimize GPU conv performance and structure * add CL macro for test_conv_gpu * fix build failure * change funtion name * change funtion name --- src/framework/cl/cl_image.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/framework/cl/cl_image.h b/src/framework/cl/cl_image.h index 7d9f3bfa6e..5975d60edf 100644 --- a/src/framework/cl/cl_image.h +++ b/src/framework/cl/cl_image.h @@ -146,8 +146,8 @@ class CLImage { DLOG << " end init cl image"; } - void InitEmpty(cl_context context, cl_command_queue command_queue, - const DDim &image_dims) { + void InitEmptyWithImageDim(cl_context context, cl_command_queue command_queue, + const DDim &image_dims) { DLOG << " to get image dims "; image_dims_ = image_dims; DLOG << " end get image dims " << image_dims_; -- GitLab