Conversation
…ependence_analysis
|
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_dependencyinanalyse_array_data_dependency_detection.pyallowing to determine if two array accesses in different loops exhibit a data dependency06_array_data_dependency_detection.ipynbshowing a full integration (from source code, manual selecting of arrays, to determining if there exists a dependency)test_analyse_array_data_dependency_detection.pytesting 8 different test cases mostly taken from the Dragon bookCurrent Problems/Things I need help with: --> Expecting failure of tests due to missing
ortoolsortoolsfor the solving of the integer linear problem intoloki?Asterisk:
The following parts of the Dragon book are implemented:
ortoolsis used, therfore full usability is ensured, to the best of my abilities.