Matrix multiplication and transpose in row-major matrices

Hello everyone. I’m facing a problem with cublasSgemm and I would like your help, since I’m a beginner in cuda programming. I want to compute the operation C = A*transpose(B), where a is an (m,n) matrix and B is a (p, n) matrix. The result should be (m,p). They’re stored in row-major format. I can’t decide on the parameters m, n, k and lda ldb ldc. Could you help please?