Efficient Processing Of Large Irregular Graphs On Gpus And Multicores