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

More parallelism in autorefine_triangle_soup #8600

Open
sloriot opened this issue Nov 8, 2024 · 0 comments
Open

More parallelism in autorefine_triangle_soup #8600

sloriot opened this issue Nov 8, 2024 · 0 comments

Comments

@sloriot
Copy link
Member

sloriot commented Nov 8, 2024

In the function, autorefine_triangle_soup() the part of the code that is computing pairwise intersections between triangles after the box-d filtering is done sequentially. We did not bother make it parallel because in tested example it was a few percent of the total runtime. However, it seems that it can become non negligible in some cases like the one below:

./soup_autorefinement Thingi10K/raw_meshes/252786.stl 
28.9275 sec. for #2
6.2088 sec. for #3
59.6007 sec. for #1
7.53941 sec. for #4 (parallel)
#points = 2210580 and #triangles = 11549282 in 107.637 sec.
``

Check for `//TODO: PARALLEL_FOR #2` in the code. 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants