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

Filter1D example and memory aware replace #320

Merged
merged 21 commits into from
Feb 10, 2023
Merged

Filter1D example and memory aware replace #320

merged 21 commits into from
Feb 10, 2023

Conversation

yamaguchi1024
Copy link
Member

No description provided.

@codecov-commenter
Copy link

Codecov Report

Merging #320 (5db09d6) into master (6972f84) will increase coverage by 0.39%.
The diff coverage is 16.66%.

❗ Current head 5db09d6 differs from pull request most recent head 09426ad. Consider uploading reports for the commit 09426ad to get more accurate results

📣 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     #320      +/-   ##
==========================================
+ Coverage   86.21%   86.61%   +0.39%     
==========================================
  Files          73       75       +2     
  Lines       16625    16968     +343     
==========================================
+ Hits        14333    14696     +363     
+ Misses       2292     2272      -20     
Impacted Files Coverage Δ
src/exo/platforms/x86.py 100.00% <ø> (ø)
src/exo/stdlib/scheduling.py 73.07% <16.66%> (-4.71%) ⬇️
tests/conftest.py 82.27% <0.00%> (-3.80%) ⬇️
src/exo/pattern_match.py 88.73% <0.00%> (-2.18%) ⬇️
src/exo/LoopIR_compiler.py 94.38% <0.00%> (-0.55%) ⬇️
src/exo/internal_cursors.py 94.54% <0.00%> (-0.43%) ⬇️
tests/test_x86.py 100.00% <0.00%> (ø)
src/exo/typecheck.py 87.38% <0.00%> (ø)
src/exo/reflection.py 76.72% <0.00%> (ø)
src/exo/LoopIR_interpreter.py 69.01% <0.00%> (ø)
... and 9 more

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

@yamaguchi1024 yamaguchi1024 changed the title filter1D example, don't merge until we have an actual implementation for replace_all_mockup Filter1D example and memory aware replace Feb 9, 2023
@@ -52,6 +60,17 @@ def mm256_broadcast_ss(
out[i] = val[0]


@instr("{dst_data} = _mm512_fmadd_ps({dst_data}, {lhs_data}, {rhs_data});")
def mm256_fmadd_ps_broadcast(
dst: [f32][8] @ AVX2, lhs: [f32][8] @ AVX2, rhs: [f32][1] @ DRAM
Copy link
Contributor

Choose a reason for hiding this comment

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

Why can't this just be rhs : f32 @ DRAM?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we should extend the unification to be able to unify rhs : f32, rhs : f32[1], and rhs : [f32][1], but for now, having an argument as windows is more accommodating 😅

Copy link
Contributor

Choose a reason for hiding this comment

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

I figured it was a limitation in unification... just wanted to make a note of it.

@yamaguchi1024 yamaguchi1024 enabled auto-merge (squash) February 10, 2023 02:29
@yamaguchi1024 yamaguchi1024 merged commit d6c317c into master Feb 10, 2023
@yamaguchi1024 yamaguchi1024 deleted the filter1D branch February 10, 2023 03:02
@SamirDroubi SamirDroubi mentioned this pull request Feb 16, 2023
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.

4 participants