Wanger-SJTU opened a new pull request, #13158: URL: https://github.com/apache/tvm/pull/13158
On Android `sched_setaffinity ` should use `pid_t` instread of `pthread_t`, https://man7.org/linux/man-pages/man2/sched_setaffinity.2.html On Android 21+, there is `pid_t pthread_gettid_np(pthread_t);` to convert the `std::thread::native_handle_type` to `pid_t`, ```cpp pid_t pthread_gettid_np(pthread_t __pthread) __INTRODUCED_IN(21); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
