Hardware acceleration of graph analysis applications