|
static DeviceGrid | auto_size_device_grid (const std::vector< t_grid_def > &grid_layouts, const std::map< t_logical_block_type_ptr, size_t > &minimum_instance_counts, float maximum_device_utilization) |
| Create a device grid which satisfies the minimum block counts. More...
|
|
static std::vector< t_logical_block_type_ptr > | grid_overused_resources (const DeviceGrid &grid, std::map< t_logical_block_type_ptr, size_t > instance_counts) |
| Estimates what logical block types will be unimplementable due to resource limits in the available grid. More...
|
|
static bool | grid_satisfies_instance_counts (const DeviceGrid &grid, std::map< t_logical_block_type_ptr, size_t > instance_counts, float maximum_utilization) |
|
static DeviceGrid | build_device_grid (const t_grid_def &grid_def, size_t grid_width, size_t grid_height, bool warn_out_of_range, const std::vector< t_logical_block_type_ptr > limiting_resources) |
| Build the specified device grid. More...
|
|
static void | CheckGrid (const DeviceGrid &grid) |
| Check grid is valid. More...
|
|
static void | set_grid_block_type (int priority, const t_physical_tile_type *type, size_t x_root, size_t y_root, vtr::Matrix< t_grid_tile > &grid, vtr::Matrix< int > &grid_priorities, const t_metadata_dict *meta) |
|
DeviceGrid | create_device_grid (std::string layout_name, const std::vector< t_grid_def > &grid_layouts, const std::map< t_logical_block_type_ptr, size_t > &minimum_instance_counts, float target_device_utilization) |
| Create the device grid based on resource requirements. More...
|
|
DeviceGrid | create_device_grid (std::string layout_name, const std::vector< t_grid_def > &grid_layouts, size_t width, size_t height) |
| Create the device grid based on dimensions. More...
|
|
float | calculate_device_utilization (const DeviceGrid &grid, std::map< t_logical_block_type_ptr, size_t > instance_counts) |
| Calculate the device utilization. More...
|
|
size_t | count_grid_tiles (const DeviceGrid &grid) |
| Returns the effective size of the device (size of the bounding box of non-empty grid tiles) More...
|
|
Initializes and allocates the physical logic block grid for VPR.
- Author
- Jason Luu
- Date
- October 8, 2008