fix : use pinned buffer to transfer to GPU