Workaround bug: The upload process doesn't ensure that the data is kept around, so for now introduce an implicit host side synchronization by using a Mat with unpinned memory.
Fixup initialization