-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Move parallel/async lowering from LLVM codegen to a standard Halide IR lowering pass. #6195
Commits on Jul 22, 2021
-
First cut at factoring parallel task compilation, including closure
generating and calling, into a normal IR to IR lowering pass. Includes adding struct handling intrinsics to LLVM and C++ backends. Still a work in progress.
Z Stern committedJul 22, 2021 Configuration menu - View commit details
-
Copy full SHA for 0b7bd25 - Browse repository at this point
Copy the full SHA 0b7bd25View commit details
Commits on Jul 23, 2021
-
Fix formating that got munged by emacs somehow.
Z Stern committedJul 23, 2021 Configuration menu - View commit details
-
Copy full SHA for e3a14b0 - Browse repository at this point
Copy the full SHA e3a14b0View commit details -
Merge branch 'master' into factor_parallel_codegen
Z Stern committedJul 23, 2021 Configuration menu - View commit details
-
Copy full SHA for e06a2a8 - Browse repository at this point
Copy the full SHA e06a2a8View commit details
Commits on Jul 30, 2021
-
Z Stern committed
Jul 30, 2021 Configuration menu - View commit details
-
Copy full SHA for 7e90c97 - Browse repository at this point
Copy the full SHA 7e90c97View commit details
Commits on Jul 31, 2021
-
Z Stern committed
Jul 31, 2021 Configuration menu - View commit details
-
Copy full SHA for c9ab059 - Browse repository at this point
Copy the full SHA c9ab059View commit details
Commits on Aug 1, 2021
-
Z Stern committed
Aug 1, 2021 Configuration menu - View commit details
-
Copy full SHA for a6d9f1d - Browse repository at this point
Copy the full SHA a6d9f1dView commit details
Commits on Aug 2, 2021
-
Z Stern committed
Aug 2, 2021 Configuration menu - View commit details
-
Copy full SHA for a2a92a4 - Browse repository at this point
Copy the full SHA a2a92a4View commit details -
Z Stern committed
Aug 2, 2021 Configuration menu - View commit details
-
Copy full SHA for 8375961 - Browse repository at this point
Copy the full SHA 8375961View commit details
Commits on Aug 3, 2021
-
Checkpoint progress. Debugging code will be removed.
Z Stern committedAug 3, 2021 Configuration menu - View commit details
-
Copy full SHA for fbb05ab - Browse repository at this point
Copy the full SHA fbb05abView commit details -
Try a fix for make_typed_struct in C++ codegen.
Z Stern committedAug 3, 2021 Configuration menu - View commit details
-
Copy full SHA for f8de53e - Browse repository at this point
Copy the full SHA f8de53eView commit details -
Another attempt to fix C++ codegen.
Z Stern committedAug 3, 2021 Configuration menu - View commit details
-
Copy full SHA for c5d902e - Browse repository at this point
Copy the full SHA c5d902eView commit details
Commits on Aug 4, 2021
-
Z Stern committed
Aug 4, 2021 Configuration menu - View commit details
-
Copy full SHA for b1f8c6c - Browse repository at this point
Copy the full SHA b1f8c6cView commit details -
Z Stern committed
Aug 4, 2021 Configuration menu - View commit details
-
Copy full SHA for 5eef291 - Browse repository at this point
Copy the full SHA 5eef291View commit details -
Merge branch 'master' into factor_parallel_codegen
Z Stern committedAug 4, 2021 Configuration menu - View commit details
-
Copy full SHA for 3391b6d - Browse repository at this point
Copy the full SHA 3391b6dView commit details
Commits on Aug 6, 2021
-
Use make_typed_struct rather than make_struct to construct
closure. Ensure all types are carried through exactly the same to both make_struct_type and make_typed_struct.
Z Stern committedAug 6, 2021 Configuration menu - View commit details
-
Copy full SHA for ade53a2 - Browse repository at this point
Copy the full SHA ade53a2View commit details
Commits on Aug 11, 2021
-
Z Stern committed
Aug 11, 2021 Configuration menu - View commit details
-
Copy full SHA for 980c447 - Browse repository at this point
Copy the full SHA 980c447View commit details -
Uniqueify closure names because LLVM was doing that to function names.
Z Stern committedAug 11, 2021 Configuration menu - View commit details
-
Copy full SHA for 7071d40 - Browse repository at this point
Copy the full SHA 7071d40View commit details -
Fixes to call graph checker. Disable tests related to this while Andrew and I figure out how to get it to work across closures.
Z Stern committedAug 11, 2021 Configuration menu - View commit details
-
Copy full SHA for 9b5c399 - Browse repository at this point
Copy the full SHA 9b5c399View commit details
Commits on Aug 12, 2021
-
Get generated C++ to compile via a combination of fixing types and
bludgeoning types into submission via subterfuge.
Z Stern committedAug 12, 2021 Configuration menu - View commit details
-
Copy full SHA for ffb2887 - Browse repository at this point
Copy the full SHA ffb2887View commit details -
Z Stern committed
Aug 12, 2021 Configuration menu - View commit details
-
Copy full SHA for 91d7130 - Browse repository at this point
Copy the full SHA 91d7130View commit details -
Merge branch 'master' into factor_parallel_codegen
Z Stern committedAug 12, 2021 Configuration menu - View commit details
-
Copy full SHA for 6785903 - Browse repository at this point
Copy the full SHA 6785903View commit details -
Restore inadvertently deleted code.
Z Stern committedAug 12, 2021 Configuration menu - View commit details
-
Copy full SHA for c711bb1 - Browse repository at this point
Copy the full SHA c711bb1View commit details -
Rename make_struct_type to declare_struct_type.
Z Stern committedAug 12, 2021 Configuration menu - View commit details
-
Copy full SHA for d6ac3e9 - Browse repository at this point
Copy the full SHA d6ac3e9View commit details -
Z Stern committed
Aug 12, 2021 Configuration menu - View commit details
-
Copy full SHA for f157165 - Browse repository at this point
Copy the full SHA f157165View commit details
Commits on Aug 13, 2021
-
Add fixes for Hexagon offload and any passes that might add additional
LoweredFunctions in the future.
Z Stern committedAug 13, 2021 Configuration menu - View commit details
-
Copy full SHA for 3c33517 - Browse repository at this point
Copy the full SHA 3c33517View commit details -
Add comment with a bit of info for the future..
Z Stern committedAug 13, 2021 Configuration menu - View commit details
-
Copy full SHA for c4f517b - Browse repository at this point
Copy the full SHA c4f517bView commit details
Commits on Aug 14, 2021
-
Z Stern committed
Aug 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 69db2ad - Browse repository at this point
Copy the full SHA 69db2adView commit details -
Don't duplicate the closure call to test the error return.
Don't declare halide_buffer_t type if there are no buffers in closure.
Z Stern committedAug 14, 2021 Configuration menu - View commit details
-
Copy full SHA for b5fd7f9 - Browse repository at this point
Copy the full SHA b5fd7f9View commit details
Commits on Aug 16, 2021
-
Use _ucon in C++ code to get rid of constness casting ugliness.
Z Stern committedAug 16, 2021 Configuration menu - View commit details
-
Copy full SHA for 2e3660d - Browse repository at this point
Copy the full SHA 2e3660dView commit details
Commits on Aug 17, 2021
-
Merge branch 'master' into factor_parallel_codegen
Z Stern committedAug 17, 2021 Configuration menu - View commit details
-
Copy full SHA for b8272fc - Browse repository at this point
Copy the full SHA b8272fcView commit details
Commits on Aug 18, 2021
-
Change resolve_function_name intrinsic to use a Call node to designate
the function. This makes generating the C++ declaration in the C++ backend trivial. Few more changes to type handling and naming.
Z Stern committedAug 18, 2021 Configuration menu - View commit details
-
Copy full SHA for 4f345e0 - Browse repository at this point
Copy the full SHA 4f345e0View commit details
Commits on Aug 19, 2021
-
Small C++ backend output formating change.
Don't generate For loops with no variable. Update internal test for C++ output.
Z Stern committedAug 19, 2021 Configuration menu - View commit details
-
Copy full SHA for ea9fa9a - Browse repository at this point
Copy the full SHA ea9fa9aView commit details -
Add halide_semaphore_acquire_t as a well known type for use inside co…
…mpiler.
Z Stern committedAug 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 9cdb347 - Browse repository at this point
Copy the full SHA 9cdb347View commit details -
Configuration menu - View commit details
-
Copy full SHA for 147f381 - Browse repository at this point
Copy the full SHA 147f381View commit details -
Fix type for halide_semaphore_t.
Z Stern committedAug 19, 2021 Configuration menu - View commit details
-
Copy full SHA for a71ecf1 - Browse repository at this point
Copy the full SHA a71ecf1View commit details -
Reapply C++ backend formatting fix.
Z Stern committedAug 19, 2021 Configuration menu - View commit details
-
Copy full SHA for d68ca8c - Browse repository at this point
Copy the full SHA d68ca8cView commit details
Commits on Aug 26, 2021
-
Merge branch 'master' into factor_parallel_codegen
Z Stern committedAug 26, 2021 Configuration menu - View commit details
-
Copy full SHA for f00a4e5 - Browse repository at this point
Copy the full SHA f00a4e5View commit details
Commits on Aug 28, 2021
-
Add support for calling legacy halide_do_par_for runtime routine in
cases where it is valid.
Z Stern committedAug 28, 2021 Configuration menu - View commit details
-
Copy full SHA for c0526eb - Browse repository at this point
Copy the full SHA c0526ebView commit details -
Z Stern committed
Aug 28, 2021 Configuration menu - View commit details
-
Copy full SHA for 739a358 - Browse repository at this point
Copy the full SHA 739a358View commit details -
Z Stern committed
Aug 28, 2021 Configuration menu - View commit details
-
Copy full SHA for dd0f8ed - Browse repository at this point
Copy the full SHA dd0f8edView commit details -
Attempt to pass formatting check.
Z Stern committedAug 28, 2021 Configuration menu - View commit details
-
Copy full SHA for 1fe603b - Browse repository at this point
Copy the full SHA 1fe603bView commit details
Commits on Aug 30, 2021
-
Merge branch 'master' into factor_parallel_codegen
Z Stern committedAug 30, 2021 Configuration menu - View commit details
-
Copy full SHA for e8f87ac - Browse repository at this point
Copy the full SHA e8f87acView commit details
Commits on Sep 14, 2021
-
Merge branch 'master' into factor_parallel_codegen
Z Stern committedSep 14, 2021 Configuration menu - View commit details
-
Copy full SHA for 71e5612 - Browse repository at this point
Copy the full SHA 71e5612View commit details
Commits on Sep 17, 2021
-
Fix last set of test failures.
Z Stern committedSep 17, 2021 2Configuration menu - View commit details
-
Copy full SHA for 2f24967 - Browse repository at this point
Copy the full SHA 2f24967View commit details -
Z Stern committed
Sep 17, 2021 Configuration menu - View commit details
-
Copy full SHA for 430cab2 - Browse repository at this point
Copy the full SHA 430cab2View commit details -
Z Stern committed
Sep 17, 2021 Configuration menu - View commit details
-
Copy full SHA for d37a16c - Browse repository at this point
Copy the full SHA d37a16cView commit details
Commits on Sep 23, 2021
-
Merge branch 'master' into factor_parallel_codegen
Z Stern committedSep 23, 2021 Configuration menu - View commit details
-
Copy full SHA for 6cefab2 - Browse repository at this point
Copy the full SHA 6cefab2View commit details
Commits on Sep 28, 2021
-
Attempt to fix pointer cast error with some versions of LLVM.
Z Stern committedSep 28, 2021 Configuration menu - View commit details
-
Copy full SHA for 9a3d926 - Browse repository at this point
Copy the full SHA 9a3d926View commit details
Commits on Sep 29, 2021
-
Another attempt at fixing bool compatibility casting.
Z Stern committedSep 29, 2021 Configuration menu - View commit details
-
Copy full SHA for 1aac285 - Browse repository at this point
Copy the full SHA 1aac285View commit details -
Z Stern committed
Sep 29, 2021 Configuration menu - View commit details
-
Copy full SHA for e8e296b - Browse repository at this point
Copy the full SHA e8e296bView commit details -
Merge branch 'master' into factor_parallel_codegen
Z Stern committedSep 29, 2021 Configuration menu - View commit details
-
Copy full SHA for 2da926b - Browse repository at this point
Copy the full SHA 2da926bView commit details
Commits on Oct 1, 2021
-
Remove likely useless extern argument check logic.
Z Stern committedOct 1, 2021 1Configuration menu - View commit details
-
Copy full SHA for 3946ccd - Browse repository at this point
Copy the full SHA 3946ccdView commit details
Commits on Oct 2, 2021
-
Merge branch 'master' into factor_parallel_codegen
Z Stern committedOct 2, 2021 Configuration menu - View commit details
-
Copy full SHA for 687b71b - Browse repository at this point
Copy the full SHA 687b71bView commit details
Commits on Nov 5, 2021
-
Merge branch 'master' into factor_parallel_codegen
Z Stern committedNov 5, 2021 Configuration menu - View commit details
-
Copy full SHA for c87399c - Browse repository at this point
Copy the full SHA c87399cView commit details
Commits on Nov 15, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 00a0715 - Browse repository at this point
Copy the full SHA 00a0715View commit details
Commits on Nov 19, 2021
-
Z Stern committed
Nov 19, 2021 Configuration menu - View commit details
-
Copy full SHA for 5d93f1e - Browse repository at this point
Copy the full SHA 5d93f1eView commit details -
Merge branch 'master' into factor_parallel_codegen
Z Stern committedNov 19, 2021 Configuration menu - View commit details
-
Copy full SHA for f49f800 - Browse repository at this point
Copy the full SHA f49f800View commit details
Commits on Nov 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5733306 - Browse repository at this point
Copy the full SHA 5733306View commit details
Commits on Nov 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 114d209 - Browse repository at this point
Copy the full SHA 114d209View commit details -
Configuration menu - View commit details
-
Copy full SHA for df247f9 - Browse repository at this point
Copy the full SHA df247f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9ac7d6 - Browse repository at this point
Copy the full SHA b9ac7d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6528ba6 - Browse repository at this point
Copy the full SHA 6528ba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2fd4c9f - Browse repository at this point
Copy the full SHA 2fd4c9fView commit details -
Merge branch 'factor_parallel_codegen' of https://github.com/halide/H…
…alide into factor_parallel_codegen
Configuration menu - View commit details
-
Copy full SHA for e71bb81 - Browse repository at this point
Copy the full SHA e71bb81View commit details
Commits on Nov 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e64651b - Browse repository at this point
Copy the full SHA e64651bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d2c2c6 - Browse repository at this point
Copy the full SHA 7d2c2c6View commit details
Commits on Nov 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e02571b - Browse repository at this point
Copy the full SHA e02571bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eb9f5f - Browse repository at this point
Copy the full SHA 7eb9f5fView commit details
Commits on Dec 1, 2021
-
Configuration menu - View commit details
-
Copy full SHA for f02b1e9 - Browse repository at this point
Copy the full SHA f02b1e9View commit details
Commits on Dec 2, 2021
-
Fix hvx lock/unlock semantics for PR #6457 (#6462)
Fix qurt_hvx_lock issues
Configuration menu - View commit details
-
Copy full SHA for 0faca07 - Browse repository at this point
Copy the full SHA 0faca07View commit details -
Configuration menu - View commit details
-
Copy full SHA for d180598 - Browse repository at this point
Copy the full SHA d180598View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9af64ae - Browse repository at this point
Copy the full SHA 9af64aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 25b7b77 - Browse repository at this point
Copy the full SHA 25b7b77View commit details -
Minor hygiene in LowerParallelTasks
- normalize local functions to snake_case - put all local functions & classes in anon namespace - move MinThreads visitor to file scope to reduce nestedness of code
Configuration menu - View commit details
-
Copy full SHA for 387c58f - Browse repository at this point
Copy the full SHA 387c58fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 24a6eb2 - Browse repository at this point
Copy the full SHA 24a6eb2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1d267e - Browse repository at this point
Copy the full SHA a1d267eView commit details
Commits on Dec 3, 2021
-
Switch to PureIntrinsics per review feedback.
Z Stern committedDec 3, 2021 Configuration menu - View commit details
-
Copy full SHA for c21e701 - Browse repository at this point
Copy the full SHA c21e701View commit details
Commits on Dec 6, 2021
-
Minor cleanup of parallel refactor intrinsics (#6465)
* Minor cleanup of parallel refactor intrinsics - Renamed `load_struct_member` to `load_typed_struct_member` to make it more clear that it is intended for use only with the results of `make_typed_struct`. - Split `declare_struct_type` into two intrinsics, `define_typed_struct` and `forward_declare_typed_struct`, removing the need for the underdocumented `mode` argument and hopefully making usage clearer - Added / clarified comments for the intrinsics modified above * Update comments * Fix comments
Configuration menu - View commit details
-
Copy full SHA for b6ba514 - Browse repository at this point
Copy the full SHA b6ba514View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2923246 - Browse repository at this point
Copy the full SHA 2923246View commit details
Commits on Dec 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 5764d12 - Browse repository at this point
Copy the full SHA 5764d12View commit details -
Remove 'foo.buffer' from Closure entirely
This is a direct adaptation of what #6481 does for the old LLVM-based code, and allows elimination of one use of `get_pointer_or_null()`. PR is meant to be merged into factor_parallel_codegen, not master.
Configuration menu - View commit details
-
Copy full SHA for 64db40f - Browse repository at this point
Copy the full SHA 64db40fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bdd7857 - Browse repository at this point
Copy the full SHA bdd7857View commit details
Commits on Dec 9, 2021
-
Keep track of task_parent inside LowerParallelTasks; remove no-longer…
…-needed get_pointer_or_symbol() intrinsic (#6486)
Configuration menu - View commit details
-
Copy full SHA for 5cf15ea - Browse repository at this point
Copy the full SHA 5cf15eaView commit details -
Fix potential issue with additional LoweredFuncs (#6490)
I think this is the right fix for this case; that said, I can't find a single instance in any of our test cases that actually triggers this.
Configuration menu - View commit details
-
Copy full SHA for 57412df - Browse repository at this point
Copy the full SHA 57412dfView commit details
Commits on Dec 13, 2021
-
factor parallel codegen with fewer intrinsics (#6487)
* Rework some of parallel closure lowering to avoid some intrinsics This version relies more heavily on the existing make_struct, and puts function names in the Variable namespace as globals. Co-authored-by: Steven Johnson <srj@google.com>
Configuration menu - View commit details
-
Copy full SHA for c70badd - Browse repository at this point
Copy the full SHA c70baddView commit details