vpr/src/route/router_lookahead_map.cpp
/* allocates space for cost map entries */
allocates space for cost map entries
allocates space for cost map entries
static void alloc_cost_map(int num_segments) {
    auto& device_ctx = g_vpr_ctx.device();
    f_cost_map = t_cost_map({2, size_t(num_segments), device_ctx.grid.width(), device_ctx.grid.height()});
}
static void alloc_cost_map ( int num_segments ) { auto & device_ctx = g_vpr_ctx . device ( ) ; f_cost_map = t_cost_map ( { 2 , size_t ( num_segments ) , device_ctx . grid . width ( ) , device_ctx . grid . height ( ) } ) ; }
allocates space for cost map entries
allocates space for cost map entries