-
Notifications
You must be signed in to change notification settings - Fork 18
Xsimd support #113
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
Open
emrys53
wants to merge
37
commits into
unstable
Choose a base branch
from
xsimd
base: unstable
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Xsimd support #113
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
02767e8
add xsimd dependency
e9c12f3
load and store functions added to all array like data types
d4fc2d3
implementation of type traits and concepts to check whether an expres…
c588306
implemented for_each with SIMD chunks and assign arrays in SIMD chunk…
8a90043
vectorized the existing algorithms
7175c24
added march=native flag when compiling tests
ef1969a
added mock_simd class and updated Load concept to include mock_simd
c3784f8
added tests for load and store functions for every data types and upd…
2583a37
added tests for is_simd_enabled trait for different expressions and a…
3bff50e
vectorize the existing math functions using xsimd
7b3c944
correctly enable -march=native on test runs
201745f
add simd cost model and basic expression tree cost calculator for sta…
8724b3a
add dispatch policy and divide is_simd_enabled trait into 4 smaller i…
54b3954
Refactor load function to use tagged dispatch and cost-based emulatio…
2bf0588
add some tests to newly added traits for is_simd_enabled and correct …
a8dcb34
add tests for expression cost model and dispatch policy
ff56a0a
use FORCEINLINE instead of [[gnu::always_inline]]
b6de1ce
merge load function inside expr with auto simd_tag to avoid duplicate…
849547a
simplify mapped functions to use single lambda function and make them…
5124560
Convert trait structs (expression_cost, has_same_layout, has_vectoriz…
47e936f
move forward declaration to simd_fwd.hpp file
4c4bc70
make simd_cost_model more clear and understandable with two different…
d34c353
remove if constexpr by replacing it with xsimd::fma and fix a typo fr…
537f9f5
add more comments on diagonal_simd lambda inside expr class to make i…
3d9c14a
comment out the fold function
cf8d83f
make the template naming in simd_cost consistent
2641d1e
update the apply_function inside mock_simd class to force loop unrolling
6a92fe9
replace else if constexpr with if constexpr in simd_cost file
2bfbabb
add FORCEINLINE to some of the functions
d038a6e
fix static_assert message
0ee0309
add bound checks to load and store functions in basic_array/basic_arr…
8377d0a
remove duplication in for_each_static_impl
ab7339e
remove reduntant using std::xxx in mapped_functions as xsimd has alre…
5aa1931
replace assert with throw for out ouf bounds check for load function
2d1df02
remove duplicated load functions with auto in arrays and expr_unary
b139894
update cmake files
1065880
add licenses to newly created files
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,3 +7,4 @@ doc/html | |
| .*.swo | ||
| .*.swn | ||
| .claude | ||
| .idea | ||
This file contains hidden or 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 hidden or 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 hidden or 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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.