Skip to content

cluster_placement.h is missing #include vpr_types.h #2617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

KA7E
Copy link
Contributor

@KA7E KA7E commented Jun 14, 2024

Description

cluster_placement.h needs vpr_types.h for definitions of t_pack_molecule and t_cluster_placement_stats.

added #include "vpr_types.h" to cluster_placement.h

Related Issue

Motivation and Context

VPR fails to compile when cluster_placement.h is included in a .cpp file that does not include vpr_types.h earlier in the file.

How Has This Been Tested?

VPR still compiles and there is no change in QoR (based on quick neuron test referenced in another PR).

Types of changes

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My change requires a change to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

@KA7E KA7E requested a review from vaughnbetz June 14, 2024 16:20
@github-actions github-actions bot added VPR VPR FPGA Placement & Routing Tool lang-cpp C/C++ code labels Jun 14, 2024
@vaughnbetz vaughnbetz merged commit 4c7d5ff into master Jun 14, 2024
53 checks passed
@vaughnbetz vaughnbetz deleted the missing_include_cluster_placement_h branch June 14, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-cpp C/C++ code VPR VPR FPGA Placement & Routing Tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants