A1=randn(20,10,2)+1j*randn(20,10,2);
B1=randn(20,10,2)+1j*randn(20,10,2);
A = gpuArray(A1);
B = gpuArray(B1);
X = pagemldivide(A,B);
x=mldivide(A(:,:,1),B(:,:,1));
X(:,:,1)-x
Am I missing something obvious here, or is this a bug? I first assumed this is related to pagemldivide and pagefun(@mldivide,…) for gpuArray inputs return incorrect results for rectangular pages when singleton dimension expansion is required (4237666) but there is no singleton dimension here.A1=randn(20,10,2)+1j*randn(20,10,2);
B1=randn(20,10,2)+1j*randn(20,10,2);
A = gpuArray(A1);
B = gpuArray(B1);
X = pagemldivide(A,B);
x=mldivide(A(:,:,1),B(:,:,1));
X(:,:,1)-x
Am I missing something obvious here, or is this a bug? I first assumed this is related to pagemldivide and pagefun(@mldivide,…) for gpuArray inputs return incorrect results for rectangular pages when singleton dimension expansion is required (4237666) but there is no singleton dimension here. A1=randn(20,10,2)+1j*randn(20,10,2);
B1=randn(20,10,2)+1j*randn(20,10,2);
A = gpuArray(A1);
B = gpuArray(B1);
X = pagemldivide(A,B);
x=mldivide(A(:,:,1),B(:,:,1));
X(:,:,1)-x
Am I missing something obvious here, or is this a bug? I first assumed this is related to pagemldivide and pagefun(@mldivide,…) for gpuArray inputs return incorrect results for rectangular pages when singleton dimension expansion is required (4237666) but there is no singleton dimension here. gpuarray, pagemldivide MATLAB Answers — New Questions
