Image transmission for processing it on MALI-T628 GPU

How to correctly transfer images in order to process them on a GPU? 

At the moment I'm using the following method (but it does not work):

memoryObjects[LIMG] = clCreateBuffer(context, CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR, imgSize, NULL, &errorNumber);

cl_char *clbuffer_input = (cl_char*)clEnqueueMapBuffer(commandQueue, memoryObjects[LIMG], CL_TRUE, CL_MAP_WRITE | CL_MAP_READ, 0, imgSize, 0, NULL, NULL, &errorNumber);

memcpy(clbuffer_input,, imgSize);

On the GPU with the image nothing is done, it simply happens to assign it to another area of ​​memory.

i = get_global_id(0);

newImg[i] = image[i];