... works on host memory