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:
in host memory atleast would get stored like: 2 3 4 5
how is cuMemcpy2D different?