From 761cc7f1480232c74460e4383fc8e9d0b4a4f9af Mon Sep 17 00:00:00 2001 From: yangfei Date: Mon, 15 Oct 2018 15:57:01 +0800 Subject: [PATCH] imp some function for CLImage --- 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 a144ccf35b..7c80078ed6 100644 --- a/src/framework/cl/cl_image.h +++ b/src/framework/cl/cl_image.h @@ -222,9 +222,9 @@ class CLImage { cl_context context_; }; -void TensorToCLImage(Tensor *tensor, CLImage *image); +void TensorToCLImage(Tensor *tensor, CLImage *image,cl_command_queue commandQueue); -void CLImageToTensor(CLImage *image, Tensor *tensor); +void CLImageToTensor(CLImage *image, Tensor *tensor,cl_command_queue commandQueue); } // namespace framework } // namespace paddle_mobile -- GitLab