MATLAB: Pagefun makes an error

gpupagefun

The following code makes an error. How can I solve it?
b = gpuArray(repmat([1 2 ; 2 2; 4 3], 1, 1, 3));
pagefun(@norm, b)
Error using gpuArray/pagefun Function passed as first input argument contains unsupported or unknown function 'norm'.
What is the corrected code?
I am using Matlab 2014a, Parallel Computing Toolbox Version 6.4 and Gigabyte GTX750.
Thanks.

Best Answer

pagefun supports only a limited set of functions. These are described in the documentation.