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

[Hexagon][Runtime] Add QuRT thread pool backend #11018

Merged
merged 31 commits into from
May 3, 2022
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
76877fe
Initial take on adding QuRT thread support to TVM's thread pool. WIP;…
supersat Apr 8, 2022
2605634
Allocate QuRT thread stacks automatically
supersat Apr 8, 2022
82bad79
Remove duplicate stack in QuRTThread
supersat Apr 8, 2022
cb07bd3
Add more logging to QuRTThread
supersat Apr 8, 2022
f360a9f
Use QuRT mutexes and condition variables
supersat Apr 8, 2022
ffeaa90
Get QuRT thread pools working perhaps
supersat Apr 12, 2022
bc0ef77
Sleep for a little bit to let race condition bugs shine through
supersat Apr 12, 2022
e1fd5ee
ayeee it works!
supersat Apr 13, 2022
5948675
Remove custom hexagon implementations of std::mutex and std::conditio…
supersat Apr 13, 2022
deebe25
threading_backend.cc code cleanup
supersat Apr 13, 2022
b1e9265
Formatting changes
supersat Apr 13, 2022
d27746b
remove hexagon debugging
supersat Apr 13, 2022
c9ce982
Initial take on adding QuRT thread support to TVM's thread pool. WIP;…
supersat Apr 8, 2022
39097ab
Allocate QuRT thread stacks automatically
supersat Apr 8, 2022
832c125
Remove duplicate stack in QuRTThread
supersat Apr 8, 2022
a80713f
Add more logging to QuRTThread
supersat Apr 8, 2022
f99d32b
Use QuRT mutexes and condition variables
supersat Apr 8, 2022
85bc9b4
Get QuRT thread pools working perhaps
supersat Apr 12, 2022
91d2b23
Sleep for a little bit to let race condition bugs shine through
supersat Apr 12, 2022
cb2104a
ayeee it works!
supersat Apr 13, 2022
0d20028
Remove custom hexagon implementations of std::mutex and std::conditio…
supersat Apr 13, 2022
a0bf101
threading_backend.cc code cleanup
supersat Apr 13, 2022
95e99d9
Formatting changes
supersat Apr 13, 2022
912ecc6
remove hexagon debugging
supersat Apr 13, 2022
15fafc0
Merge branch 'main' into qurt-thread-pool
supersat Apr 14, 2022
e4d2b14
Add hexagon thread pool test
supersat Apr 18, 2022
590c1b3
style fixes for tests/python/contrib/test_hexagon/test_thread_pool.py
supersat Apr 19, 2022
5576fd3
Fix some style issues
supersat Apr 19, 2022
69d586e
Merge branch 'qurt-thread-pool' of github.com:supersat/tvm into qurt-…
supersat Apr 19, 2022
53ef297
Address some reviewer comments
supersat Apr 21, 2022
24f14f7
Add QuRT thread pool backend
supersat Apr 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove duplicate stack in QuRTThread
  • Loading branch information
supersat committed Apr 13, 2022
commit 832c1255b61a535a723e7e2218dd26a35864574a
1 change: 0 additions & 1 deletion src/runtime/threading_backend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ class QuRTThread {
t->f(t->i);
}
qurt_thread_t thread;
void * stack;
std::function<void(int)> f;
int i;
uint8_t stack[HEXAGON_STACK_SIZE];
Expand Down