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

remove nested parallel, run multi-thread without omp env #9

Closed
wants to merge 7 commits into from

Conversation

XiangpengHao
Copy link
Member

@XiangpengHao XiangpengHao commented Aug 12, 2019

current nested loop needs a OMP_NESTED=true environment variable, this patch tries to get rid of it.

Basically removed the nested omp parallel, which I believe can improve readability as well.

I used the std::thread to create monitoring job.

partly solved #8

@XiangpengHao
Copy link
Member Author

no measurable performance change based on my experiments

@XiangpengHao
Copy link
Member Author

Also moved the auto value_ptr = value_generator_.next(); to the places they're really used.

@llersch
Copy link
Collaborator

llersch commented Sep 23, 2019

Relevant changes already merged.

@llersch llersch closed this Sep 23, 2019
@XiangpengHao XiangpengHao deleted the remove-omp-env branch December 19, 2019 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants