I want to use cublas for equation like AX=Y i.e Ax(i)=y(i). So, A is of dimension mm, X is of dimension mn and Y is of dimension mn. I tried to use cublas but I nan values as output.
I am using this:
cublasStrsm(cublas_handle, CUBLAS_SIDE_LEFT, CUBLAS_FILL_MODE_UPPER, CUBLAS_OP_N, CUBLAS_DIAG_NON_UNIT, m, n, &alpha, R_d, m, x_d, n);
where m=8 and n=100.
Please help me in getting right answer and guide me how tu use cublas for multiple right hand matrix.