Thank you very much for the answers at Cuda Thrust Custom function
One last thing if I wanted to pass another vector to copy values such as this?
for (i=0;i<n;i++)
for (j=0;j<n;j++)
y[i*n+j]=h1[i]*a1[pos*n+j];
Its still not clear to me how to pass values to the function created Thanks!
1 Answer