I would like to know the differences between cublasSetVector and cublasSetMatrix, knowing that matrices are stored (and sent to gpu) in vector format (column major)…
Using both seems to yield the same result… does it ?
When copying entire matrices (i.e. contiguous storage) you can
use both cublasSetVector or cublasSetMatrix.
You cannot copy to an arbitrary sub-matrix with cublasSetVector since the storage locations of a true sub-matrix are only piece-wise contiguous.