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

Parallel problem during BKT building #74

Open
RioMichael opened this issue Jul 5, 2019 · 0 comments
Open

Parallel problem during BKT building #74

RioMichael opened this issue Jul 5, 2019 · 0 comments
Assignees
Labels
customer raised question Further information is requested

Comments

@RioMichael
Copy link

RioMichael commented Jul 5, 2019

Inside the KmeansAssign function during the BKT building stage, it seems like it tries to parallel the job amount the threads (if set the NumberOfThreads to more than 1)
企业微信截图_20190705140313
However, as the omp_get_num_threads() would only return 1 outside the "omp parallel for" loop, the function actually never parallel the job.
I'm not sure if this is done on purpose (since the BKT build wouldn't take much time, so no need to parallel?) or just a small bug.
I've also tried to use omp_get_max_thread() instead of omp_get_num_threads() to make use of the parallel. However, there is some kind of a bug that would just end the build process without any error message.

@scarlett2018 scarlett2018 added customer raised question Further information is requested labels Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer raised question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants