Hi,

After being initiated in a kernel, how can three arrays be zipped using zip_iterator provided by thrust, if the three arrays in device memory are allocated on host via 

{int * array1; cudaMalloc((void **) &array1, N * sizeof(int));

float *array2; cudaMalloc((void **) &array2, N * sizeof(float));

int * array3; cudaMalloc((void **) &array3, N * sizeof(int));}

?

       Thanks in advance. 

More Qingjun Liu's questions See All
Similar questions and discussions