Annotate thrust::copy & thrust::copy_n with __host__ __device__.