[all-commits] [llvm/llvm-project] 5344c8: [ORC] Generalize materialization dispatch to task ...
lhames via All-commits
all-commits at lists.llvm.org
Sun May 9 19:38:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5344c88dcb2845f6a12cd0992deab1448b4d1419
https://github.com/llvm/llvm-project/commit/5344c88dcb2845f6a12cd0992deab1448b4d1419
Author: Lang Hames <lhames at gmail.com>
Date: 2021-05-09 (Sun, 09 May 2021)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
M llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Log Message:
-----------
[ORC] Generalize materialization dispatch to task dispatch.
Generalizing this API allows work to be distributed more evenly. In particular,
query callbacks can now be dispatched (rather than running immediately on the
thread that satisfied the query). This avoids the pathalogical case where an
operation on one thread satisfies many queries simultaneously, causing large
amounts of work to be run on that thread while other threads potentially sit
idle.
Commit: 7f9a89f9a2cc55dbfc315aa11416fe3609918199
https://github.com/llvm/llvm-project/commit/7f9a89f9a2cc55dbfc315aa11416fe3609918199
Author: Lang Hames <lhames at gmail.com>
Date: 2021-05-09 (Sun, 09 May 2021)
Changed paths:
M llvm/include/llvm/ExecutionEngine/Orc/Core.h
M llvm/lib/ExecutionEngine/Orc/Core.cpp
M llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
Log Message:
-----------
[ORC] Use the new dispatchTask API to run query callbacks.
Dispatching query callbacks, rather than running them on the current thread,
will allow them to be distributed across multiple threads.
Compare: https://github.com/llvm/llvm-project/compare/220f6e5271f2...7f9a89f9a2cc
More information about the All-commits
mailing list