-
Notifications
You must be signed in to change notification settings - Fork 10
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
Do inlining and inbounds more carefully #917
Conversation
a91edc3
to
fee971b
Compare
bors try |
tryBuild failed: |
d2f3222
to
fc8ea88
Compare
bors try |
tryBuild failed: |
bors try |
tryBuild failed: |
8e1ae7f
to
6d9a5b5
Compare
bors try |
tryBuild failed: |
6d9a5b5
to
21d9bfc
Compare
Alright, I think this should be fine so long we have a job that applies |
bors r+ |
917: Do inlining and inbounds more carefully r=charleskawczynski a=charleskawczynski This PR is an attempt to partially revert (and complete) #829, by: - Exchanging the use of ``@inline`` and ``@inbounds`` - Removing ``@inline`` for "expensive" functions that do not have or uses indices which require boundscheck elision - Applying inlining and ``@inbounds`` to slab functions The only thing that I'm not 100% sure about is the ``@inbounds`` around the threading loops, does what I've done look okay? cc `@simonbyrne` Supersedes #891. Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com>
Build failed: |
bors r+ |
917: Do inlining and inbounds more carefully r=charleskawczynski a=charleskawczynski This PR is an attempt to partially revert (and extend/complete) #829, by: - More properly using ``@inline`,` ``@inbounds`` and `Base.`@propagate_inbounds`` - Removing ``@inline`` for "expensive" functions that do not have or uses indices which require boundscheck elision - Applying inlining and ``@inbounds`` to slab functions The only thing that I'm not 100% sure about is the ``@inbounds`` around the threading loops, does what I've done look okay? cc `@simonbyrne` Supersedes #891. Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com>
Maybe squash first? Or we don't care? |
Ah, I probably should have, CI is almost finished, so I'm fine with letting it go. If the implicit stencil tests hang again then I'll make sure to squash after fixing that |
Build failed: |
Ok, canceled this, I don't want to completely tank CI for the apply operators--something really bad is going on with these tests (opt was going from 6 min to more than 50 min). I'll revert the compose ops, too, and then squash. Opened #923. |
21d9bfc
to
bc51fdd
Compare
bors r+ |
917: Do inlining and inbounds more carefully r=charleskawczynski a=charleskawczynski This PR is an attempt to partially revert (and extend/complete) #829, by: - More properly using ``@inline`,` ``@inbounds`` and `Base.`@propagate_inbounds`` - Removing ``@inline`` for "expensive" functions that do not have or uses indices which require boundscheck elision - Applying inlining and ``@inbounds`` to slab functions The only thing that I'm not 100% sure about is the ``@inbounds`` around the threading loops, does what I've done look okay? cc `@simonbyrne` Supersedes #891. Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com>
Build failed:
|
bors r+ |
917: Do inlining and inbounds more carefully r=charleskawczynski a=charleskawczynski This PR is an attempt to partially revert (and extend/complete) #829, by: - More properly using ``@inline`,` ``@inbounds`` and `Base.`@propagate_inbounds`` - Removing ``@inline`` for "expensive" functions that do not have or uses indices which require boundscheck elision - Applying inlining and ``@inbounds`` to slab functions The only thing that I'm not 100% sure about is the ``@inbounds`` around the threading loops, does what I've done look okay? cc `@simonbyrne` Supersedes #891. Co-authored-by: Charles Kawczynski <kawczynski.charles@gmail.com>
Build failed: |
Delete unused function More inbounds and propagate inline More inlining adjustments More inline and inbounds adjustments Apply formatter Fix merge conflicts Add an inbounds back in Add more inbounds More inbounds and inlining More inbounds More inbounds Increase mem for implicit stencil test Try 30 GB mem request for implicit stencil test Undo inlining for compose stencils Revert alloc request and pointwise apply
bc51fdd
to
c0b7991
Compare
bors r+ |
This PR is an attempt to partially revert (and extend/complete) #829, by:
@inline
,@inbounds
andBase.@propagate_inbounds
@inline
for "expensive" functions that do not have or uses indices which require boundscheck elision@inbounds
to slab functionsThe only thing that I'm not 100% sure about is the
@inbounds
around the threading loops, does what I've done look okay? cc @simonbyrneSupersedes #891.