A fairly simple experiment, I am trasponsing an identitiy (3x3) matrix, and I got a weird result. I tried also CUDADot and works as expected.

The code I used:

a = CUDAMemoryLoad[{{1,0,0},{0, 1, 0},{0,0,1}}]

c=CUDATranspose[a];

CUDAMemoryGet[a]//MatrixForm


(1. 0. 0., 0. 1. 0., 0. 0. 1.)

CUDAMemoryGet[b]//MatrixForm


(1. 1. 0., 0. 1. 1., 1. 0. 1.)

CUDAMemoryGet[c]//MatrixForm


(6.94986*10^-310 0. 6.64419*10^-316, 2.*10^-323 6.9499*10^-310 6.9499*10^-310, 6.9499*10^-310 6.94986*10^-310 6.94989*10^-310)

The system has 3 GPU's, 2 GTX Titan and 1 GeForce GT 630. In the same machine with matlab all is working correctly (so, it seems to be Mathematica specific error):

X = eye(3); G = gpuArray(X); G'

ans =

 1     0     0
0     1     0
0     0     1


Any feedback is welcome. Thank you!

• Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! – Michael E2 Jun 24 '16 at 13:51
• After several tries I have found that with Mathematica 10.4 and nvidia drivers 367.27 and upgrading to the latest CUDAResources paclet everythig is working ok – Javier Vales Alonso Jun 26 '16 at 16:24
• You could put that as an answer, if you like. – Michael E2 Jun 26 '16 at 19:18