-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
Awesome stuff. I moved the implementations to the .cc files and added explicit instantiations to the python script. It runs with the different |
void Register(); | ||
}; | ||
|
||
enum BitMapSize{ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this 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
# Conflicts: # src/generate_explicit_instantiations.py # src/sparsebase/preprocess/preprocess.cc # src/sparsebase/preprocess/preprocess.h # tests/suites/sparsebase/preprocess/preprocess_tests.cc
Adding the Gray Reordering algorithm that can be applied to CSR structures.