thrust
thrust copied to clipboard
add transpose() example
Show how to perform matrix transpose for general case (with separate input and output) and an in-place transposition (for square matrices).
Forwarded from http://code.google.com/p/thrust/issues/detail?id=467