Skip to content
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

Add tensora CLI #19

Merged
merged 2 commits into from
Nov 25, 2023
Merged

Add tensora CLI #19

merged 2 commits into from
Nov 25, 2023

Conversation

drhagen
Copy link
Owner

@drhagen drhagen commented Nov 25, 2023

This adds a Typer script called tensora to the Python entry points of the distribution. This CLI takes an assignment string and format strings to generate the C code. Either assembly, compute, or evaluate kernels can be generated. The code can be printed to standard out or to a file.

@codecov-commenter
Copy link

Codecov Report

Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (7298cbb) 88.74% compared to head (8286913) 88.49%.

Files Patch % Lines
src/tensora/cli.py 67.44% 8 Missing and 6 partials ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   88.74%   88.49%   -0.25%     
==========================================
  Files          46       47       +1     
  Lines        2762     2807      +45     
  Branches      492      503      +11     
==========================================
+ Hits         2451     2484      +33     
- Misses        237      245       +8     
- Partials       74       78       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@drhagen drhagen merged commit 3ce1215 into master Nov 25, 2023
4 checks passed
@drhagen drhagen deleted the cli branch November 25, 2023 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants