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

Support arguments ordering in extract_subproc #409

Merged
merged 2 commits into from
Apr 13, 2023
Merged

Conversation

yamaguchi1024
Copy link
Member

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Apr 13, 2023

Codecov Report

Merging #409 (bbc1c65) into master (111aab7) will increase coverage by 0.01%.
The diff coverage is 89.65%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
+ Coverage   86.48%   86.50%   +0.01%     
==========================================
  Files          76       76              
  Lines       17542    17564      +22     
==========================================
+ Hits        15171    15193      +22     
  Misses       2371     2371              
Impacted Files Coverage Δ
src/exo/API_scheduling.py 88.75% <87.50%> (-0.07%) ⬇️
src/exo/LoopIR_scheduling.py 88.09% <88.88%> (+0.12%) ⬆️
tests/test_schedules.py 99.28% <100.00%> (+<0.01%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Collaborator

@skeqiqevian skeqiqevian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, just some minor comments. Feel free to adjust or not

for i in range(len(arg_list)):
if arg_list[i].name.name() == key:
new_args[order[key]] = arg_list[i]
if any(a == 0 for a in new_args):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can merge the two errors if you just check that sorted(order.values()) == [0, 1, ..., len(arg_list) -1]?

y: R[8] @ DRAM
for j in seq(0, 8):
x = 0.0
fooooo(y, x, j)def fooooo(y: R[8], x: R, j: index):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a new line here lol

@yamaguchi1024 yamaguchi1024 merged commit f0c4d6e into master Apr 13, 2023
@yamaguchi1024 yamaguchi1024 deleted the extract branch April 13, 2023 16:48
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.

None yet

3 participants