drhagen / tensora

Sparse/dense tensor library for Python
http://tensora.drhagen.com/
MIT License
9 stars 1 forks source link

Add Module to IR #67

Closed drhagen closed 3 months ago

drhagen commented 3 months ago

Currently, FunctionDefinitions are valid Statements. This is not true in C. Pretending this is true make implementation of LLVM conversion difficult. This adds the concept of a Module to the IR AST, which currently contains only a list of definitions, each of which currently can only be FunctionDefinitions.

imports may be added to Module in the future, but are not currently implemented.

codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 98.70130% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.84%. Comparing base (c3ec481) to head (980fa0a).

Files Patch % Lines
src/tensora/iteration_graph/_generate_ir.py 96.55% 0 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #67 +/- ## ========================================== - Coverage 89.08% 88.84% -0.24% ========================================== Files 54 54 Lines 2986 2995 +9 Branches 536 538 +2 ========================================== + Hits 2660 2661 +1 - Misses 249 257 +8 Partials 77 77 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.