exponential kernel

Hi all,

I am new at cuda computing and want to learn the easiest way of calculating the exponentials of a matrix in the kernel.
Any suggestions helps alot.

Thanks.

Is the matrix diagonal or diagonalizable?