-
-
Notifications
You must be signed in to change notification settings - Fork 11.1k
ENH, TST: Bring the NumPy C SIMD vectorization interface "NPYV" to Python #16782
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
cb3efe8
ENH: Expose the NumPy C SIMD vectorization interface "NPYV" to Python
seiko2plus c65a559
ENH, TST: Add testing unit that covers the current implemented intrin…
seiko2plus 1779c2a
TST: Add testing unit for checking the sainty of SIMD module
seiko2plus 92a4693
TST: Add testing unit for fused NPYV intrinsics
seiko2plus e19f7a8
MAINT, TST: use PyArg_ParseTuple() instead of iterate Python tuple di…
seiko2plus 7d125fb
MAINT, TST: Serveral imporvments to _SIMD module
seiko2plus 018e0ca
MAINT: Syntax highlighting for *.inc.src on github
seiko2plus d54a45b
BUG, BLD: fix multi-target name in `CCompilerOpt`'s report
seiko2plus 8cc5009
MAINT, TST: Add _SIMD attribute for each enabled SIMD extension
seiko2plus 5d8c3be
MAINT, TST: Add testing ca
8000
ses for partial/non-contig load and store
seiko2plus ac4ffe1
MAINT, TST: update name of _SIMD submodule to match import path
seiko2plus 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
MAINT, TST: Serveral imporvments to _SIMD module
- use plain variables - clean up aligned allocate - use `PyArg_ParseTuple` for empty args - use `Py_ssize_t` instead of `unsigned` and `size_t` - improve coding style - no need for a custom raises assertions - use parametrize instead of inner loops - leave a comment about nature of mode testing unit - shift to get max/min of int72 - add more info to repr of vector object - get ride of exec() and use type() instead - use `.inc` as extension for sub-headers instead of `.h` - add `FMA4` and drop `SSE41` from _SIMD targets Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
- Loading branch information
commit 7d125fb70cb149207171b7181312f9679dd4d451
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
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
10 changes: 6 additions & 4 deletions
10
numpy/core/src/_simd/_simd_inc_data.h.src → numpy/core/src/_simd/_simd_data.inc.src
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.
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.