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

Feature/grayreordering #124

Merged
merged 10 commits into from
Oct 10, 2022
Merged

Feature/grayreordering #124

merged 10 commits into from
Oct 10, 2022

Conversation

AfonsoSCoutinho
Copy link
Collaborator

Adding the Gray Reordering algorithm that can be applied to CSR structures.

@AmroAlJundi
Copy link
Contributor

Awesome stuff.

I moved the implementations to the .cc files and added explicit instantiations to the python script. It runs with the different NNZType and IDType combinations.

void Register();
};

enum BitMapSize{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking maybe this enum should be moved to the util namespace? Because right now it's reachable like this:

sparsebase::preprocess:BitMapSize

And if we're going to be using "bitmaps" often, it might be better to place it in a more general namespace. Thoughts?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, the way it is reachable at the moment is non-ideal.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We actually don't have a file for such enums yet ... I think we should keep it as it is and think of a way to organize enums like this one.

@AmroAlJundi AmroAlJundi added this to the Milestone 3 milestone Aug 15, 2022
AmroAlJundi
AmroAlJundi previously approved these changes Aug 22, 2022
Copy link
Contributor

@AmroAlJundi AmroAlJundi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. In the future, consider adding tests for specific parameter values for nnz_threshold and sparse_density_group_size

@AmroAlJundi AmroAlJundi added state: approved Approved to proceed. Ready to be merged type: feature Brand new functionality, features, workflows, endpoints, etc labels Aug 23, 2022
@AmroAlJundi AmroAlJundi self-requested a review September 15, 2022 18:30
@AmroAlJundi AmroAlJundi removed this from the Milestone 3 milestone Sep 30, 2022
# Conflicts:
#	src/generate_explicit_instantiations.py
#	src/sparsebase/preprocess/preprocess.cc
#	src/sparsebase/preprocess/preprocess.h
#	tests/suites/sparsebase/preprocess/preprocess_tests.cc
@AmroAlJundi AmroAlJundi added this to the Milestone 3 milestone Oct 10, 2022
@AmroAlJundi AmroAlJundi merged commit b1e07ae into develop Oct 10, 2022
@AmroAlJundi AmroAlJundi deleted the feature/grayreordering branch October 10, 2022 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: approved Approved to proceed. Ready to be merged type: feature Brand new functionality, features, workflows, endpoints, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants