add precomputation when all vertices are active, use mapped memory to transfer reduction results back to host
add precomputation when all vertices are active, use mapped memory to transfer reduction results back to host

RoyalCaliber/vertexAPI2,RoyalCaliber/vertexAPI2,RoyalCaliber/vertexAPI2