finally find where output_buffer is assigned: ray_gen_program