8c5e5e435b
Fixes #1790 and #1791. hipMemcpy3D still requires further refactoring for different input and output combinations.