can I pass an array or a pointer in Thrust for_each?
===

 I found I can only pass single value in dev_rand_fun(float), but what I want to do is dev_rand_fun(float*) is there a way to do this!
Thanks!

    thrust::for_each(
      thrust::make_zip_iterator( 
        thrust::make_tuple(dev_pos_uint.begin(), dev_cuState.begin())
      ),
      thrust::make_zip_iterator( 
        thrust::make_tuple(dev_pos_uint.end(), dev_cuState.end())
      ),
      dev_rand_fun(f_ptr)//here I can not pass a pointer or an array, is there
                          //is there a way to do this??........
    );