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

Process chunks column-wise in the table reader #483

Merged
merged 1 commit into from
Jun 20, 2024
Merged

Conversation

davidgicev
Copy link
Contributor

@davidgicev davidgicev commented Jun 17, 2024

resolves #291

Summary

We now use tbb::parallel_for to build the different columns in parallel per input chunk.

PR Checklist

- [ ] All necessary documentation has been adapted or there is an issue to do so.
- [ ] The implemented feature is covered by an appropriate test.

src/silo/common/table_reader.cpp Outdated Show resolved Hide resolved
src/silo/preprocessing/preprocessor.cpp Outdated Show resolved Hide resolved
@Taepper
Copy link
Collaborator

Taepper commented Jun 17, 2024

And also rebase onto current main for a better change list :)

@Taepper Taepper force-pushed the column-wise-lambda branch from 143dc81 to dda828f Compare June 17, 2024 15:01
@Taepper Taepper marked this pull request as ready for review June 17, 2024 15:01
@fengelniederhammer
Copy link
Contributor

What's the new feature in this PR? Or should the commit message say refactor rather than feat?

@Taepper
Copy link
Collaborator

Taepper commented Jun 17, 2024

What's the new feature in this PR? Or should the commit message say refactor rather than feat?

I will change it to refactor after the CI is finished

@Taepper Taepper force-pushed the column-wise-lambda branch 3 times, most recently from 96c491a to f2f61e3 Compare June 20, 2024 13:16
@Taepper Taepper force-pushed the column-wise-lambda branch from f2f61e3 to 9381f3d Compare June 20, 2024 13:17
@Taepper Taepper merged commit b971df0 into main Jun 20, 2024
10 checks passed
@Taepper Taepper deleted the column-wise-lambda branch June 20, 2024 14:08
fengelniederhammer added a commit that referenced this pull request Jun 25, 2024
The bug was introduced in #483 and only occured when the table reader tried to read the second chunk.
Thus: also add a preprocessor test with a dataset that is large enough so that the bug occurs.
fengelniederhammer added a commit that referenced this pull request Jun 25, 2024
The bug was introduced in #483 and only occured when the table reader tried to read the second chunk.
Thus: also add a preprocessor test with a dataset that is large enough so that the bug occurs.
davidgicev added a commit that referenced this pull request Aug 4, 2024
davidgicev pushed a commit that referenced this pull request Aug 4, 2024
The bug was introduced in #483 and only occured when the table reader tried to read the second chunk.
Thus: also add a preprocessor test with a dataset that is large enough so that the bug occurs.
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.

Parallel building of Columns
3 participants