Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement bin partitioning function #5092

Merged
merged 3 commits into from
Jun 18, 2024
Merged

Conversation

lums658
Copy link
Contributor

@lums658 lums658 commented Jun 14, 2024

To write tiles into a temporary array that will fit into fixed-sized blocks on reading, this PR implements a bin partitioning function that returns a std::vector of cell partitions, such that each group of cells has a total byte count less than a specified number of bytes. Also returned is a std::vector of the bin sizes (in number of bytes).

This is the first file to go into the new sm/external_sort, so it also creates the directory and populates it with a test subdirectory and appropriate CMakeLists.txt files.

A previous PR creates a doc subdirectory and includes the svg image of our design for external sort.

[sc-48618]


TYPE: FEATURE
DESC: Implement a partitioning function to partition cells to fit into fixed size bins

@KiterLuc KiterLuc merged commit 40af4f6 into dev Jun 18, 2024
61 checks passed
@KiterLuc KiterLuc deleted the lums/sc-48618/abstract-partitioning branch June 18, 2024 04:49
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants