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

Convolution3D: use dynamic schedule for OpenMP #6155

Merged

Conversation

mvieth
Copy link
Member

@mvieth mvieth commented Oct 19, 2024

Each iteration does a radius search, which does not take the same amount of time for each point. Specifying no schedule usually results in a static schedule. Related to #5775

Benchmarks with table_scene_mug_stereo_textured.pcd (nan points removed before convolution) on Intel Core i7-9850H:

GCC:

threads 1 2 3 4 5 6
before 2267 1725 1283 1039 863 744
dynamic 2269 1155 795 611 497 427

MSVC 2022 (release configuration):

threads 1 2 3 4 5 6
before 2400 1886 1478 1176 972 857
dynamic 2501 1281 919 704 593 537

Each iteration does a radius search, which does not take the same amount of time for each point. Specifying no schedule usually results in a static schedule.
Related to PointCloudLibrary#5775

Benchmarks with table_scene_mug_stereo_textured.pcd (nan points removed before convolution) on Intel Core i7-9850H:

GCC:
threads | 1    | 2    | 3    | 4    | 5    | 6    |
before  | 2267 | 1725 | 1283 | 1039 |  863 |  744 |
dynamic | 2269 | 1155 |  795 |  611 |  497 |  427 |

MSVC 2022 (release configuration):
threads | 1    | 2    | 3    | 4    | 5    | 6    |
before  | 2400 | 1886 | 1478 | 1176 |  972 |  857 |
dynamic | 2501 | 1281 |  919 |  704 |  593 |  537 |
@mvieth mvieth added changelog: enhancement Meta-information for changelog generation module: filters labels Oct 19, 2024
@mvieth mvieth merged commit 4dbc07e into PointCloudLibrary:master Oct 20, 2024
13 checks passed
@mvieth mvieth deleted the Convolution3D_dynamic_schedule branch October 20, 2024 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: enhancement Meta-information for changelog generation module: filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants