[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-08-05 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r939473755 ## src/runtime/threading_backend.cc: ## @@ -321,12 +350,25 @@ class ThreadGroup::Impl { } } +#ifndef __hexagon__ + pid_t Tid() { +#if defined(_WIN32) +return

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-08-05 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r938528880 ## src/runtime/threading_backend.cc: ## @@ -321,12 +350,25 @@ class ThreadGroup::Impl { } } +#ifndef __hexagon__ + pid_t Tid() { +#if defined(_WIN32) +return

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-07-22 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r927954242 ## src/runtime/threading_backend.cc: ## @@ -321,12 +350,25 @@ class ThreadGroup::Impl { } } +#ifndef __hexagon__ + pid_t Tid() { +#if defined(_WIN32) +return

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-06-23 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r905729047 ## src/runtime/threading_backend.cc: ## @@ -101,13 +109,19 @@ class QuRTThread { }; #endif // __hexagon__ thread_local int max_concurrency = 0; + class ThreadGroup::Im

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-06-23 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r905325154 ## src/runtime/threading_backend.cc: ## @@ -101,13 +109,19 @@ class QuRTThread { }; #endif // __hexagon__ thread_local int max_concurrency = 0; + class ThreadGroup::Im

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-06-23 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r905325154 ## src/runtime/threading_backend.cc: ## @@ -101,13 +109,19 @@ class QuRTThread { }; #endif // __hexagon__ thread_local int max_concurrency = 0; + class ThreadGroup::Im

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-06-23 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r905325154 ## src/runtime/threading_backend.cc: ## @@ -101,13 +109,19 @@ class QuRTThread { }; #endif // __hexagon__ thread_local int max_concurrency = 0; + class ThreadGroup::Im

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-06-22 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r902997516 ## src/runtime/threading_backend.cc: ## @@ -101,13 +109,19 @@ class QuRTThread { }; #endif // __hexagon__ thread_local int max_concurrency = 0; + class ThreadGroup::Im

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-06-17 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r900380305 ## src/runtime/threading_backend.cc: ## @@ -220,7 +235,7 @@ class ThreadGroup::Impl { } else { core_id = sorted_order_[i + exclude_worker0];

[GitHub] [tvm] huajsj commented on a diff in pull request #11599: [Bugfix][Runtime] Fix sched_setaffinity in Android

2022-06-17 Thread GitBox
huajsj commented on code in PR #11599: URL: https://github.com/apache/tvm/pull/11599#discussion_r900380305 ## src/runtime/threading_backend.cc: ## @@ -220,7 +235,7 @@ class ThreadGroup::Impl { } else { core_id = sorted_order_[i + exclude_worker0];