I could solve this problem by retrieving the array from the GPU by gather function.
grayImage = gather(gpu_grayImage);
grayImage_scaled = imresize(grayImage, scale, 'bilinear');
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!