cublas block matrix operation

say I have to multiply 2 matrices together using cublas,
A = [row1; row2; row3]
B = [column1 column2 column3]
is it possible to have a result in the form
C = [dot(row1,column1);dot(row2,column2);dot(row3,column3)]
Thanks.

say I have to multiply 2 matrices together using cublas,
A = [row1; row2; row3]
B = [column1 column2 column3]
is it possible to have a result in the form
C = [dot(row1,column1);dot(row2,column2);dot(row3,column3)]
Thanks.

use cublasSdot() 3 times.

use cublasSdot() 3 times.