cublas setmatrix

hi sorry about the repost… (this was on cuda on windows xp before)

hi everyone,

im kinda new to this so could someone just tell me if setmatrix is simply a wrapper around cuMemcpyHtoD?? or is it more to do with cuMemcpy2D?

i honestly dont get the difference between the two because dont you usually store a matrix as rows appended?

i.e. a matrix like:

2 3
4 5

in host memory atleast would get stored like: 2 3 4 5

how is cuMemcpy2D different?

and final question is cublas_setvector simply a wrapper around cuMemcpyHtoD as well?? how are they all different?

any comments?