-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to cache locality and sparse vector handling (#115)
* Re-arrange loops for cleaner code.. no-op * Add const guarantees to a few biom methods, to make it cleaner * Add const guarantees to a few tree methods, to make it cleaner * Add const guarantees in unifrac.cpp, to make it cleaner * Add biom::get_obs_data_range and su::set_proportions_range * Implemented chunked embedding. Added related _range methods, and helper classes * Add OpenMP directives * Add support for float intermediate results. * Make DEF_VEC_SIZE a function of TFloat * Add restricts to improve optimization * Fix CPU alignment parameters * Add checking fo zero overlap in UnifracUnweightedTask, also switched to 64-bit packed * Move norrmalization inside biom * Use explicit data type for bool to int conversion * Default to 0, not 1 * Fix typo * Rename variable to mirror the meaning * Add spares logic to UnnormalizedWeighted * Pre-compuite sums for partial-sparse use case in UnifracUnnormalizedWeightedTask * Fix ACC typo * Pre-compuite sums for partial-sparse use case in UnifracNnormalizedWeightedTask
- Loading branch information
Showing
9 changed files
with
757 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.