-
Notifications
You must be signed in to change notification settings - Fork 13
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
Array data dependence analysis #180
base: main
Are you sure you want to change the base?
Array data dependence analysis #180
Conversation
- spliting of system into one dimensional systems - check for is independent system - calculate bounds for one dimensional system
- small housekeeping tasks, plus proper documentation
- for a one dimensional system of inequalties A x >= b, where A is a single column matrix, zero entries lose interpretability - this especially happens if constructed from a n dimensional system split into multiple 1 dimensional
Again, just a quick response to your immediate questions: To integrate ortools, I suggest to add them to Lines 62 to 65 in af8ec9f
Call the option Lines 15 to 21 in af8ec9f
For the document, the best would probably be to convert this to a Sphinx document and integrate it into the documentation. But we can take care of that, so keeping the PDF like this is fine for now. |
- Warn if ortools i not used for has_data_dependency, since it will lead to alot of false positives (assuming data dependencies where there arent any)
- adapt tests, such that optional ortools is considered
Since #178 and #179 are now stable, this branch has been rebased and most issues fixed. Not functional (require help):
Enhancements:
|
Codecov Report
@@ Coverage Diff @@
## main #180 +/- ##
==========================================
- Coverage 92.14% 92.00% -0.14%
==========================================
Files 90 93 +3
Lines 16690 16950 +260
==========================================
+ Hits 15379 15595 +216
- Misses 1311 1355 +44
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Fixed: "Example 11.35 from Compilers: Principles, Techniques, and Tools" should return false due to indepdent variable test, that is not the case. Whats going on? |
Provides a array dependency analysis as* described by "Compilers: Principles, Techniques, and Tools".
Requires functionality of #179 and #178.
Implemented features:
has_data_dependency
inanalyse_array_data_dependency_detection.py
allowing to determine if two array accesses in different loops exhibit a data dependency06_array_data_dependency_detection.ipynb
showing a full integration (from source code, manual selecting of arrays, to determining if there exists a dependency)test_analyse_array_data_dependency_detection.py
testing 8 different test cases mostly taken from the Dragon bookCurrent Problems/Things I need help with: --> Expecting failure of tests due to missing
ortools
ortools
for the solving of the integer linear problem intoloki
?Asterisk:
The following parts of the Dragon book are implemented:
ortools
is used, therfore full usability is ensured, to the best of my abilities.