-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implement vectorized min_ / max_element for ints #2447
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
Stephan T. Lavavej (StephanTLavavej)
merged 66 commits into
microsoft:main
from
AlexGuteniev:vector_max
Jun 19, 2022
Merged
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
2951f9e
Implement vectorized min_ / max_element for ints
AlexGuteniev 19ba1d0
fix copypasta
AlexGuteniev 44b19c9
Guard C++ features
AlexGuteniev 7c233f4
typo
AlexGuteniev e245018
@miscco review
AlexGuteniev 3bf81a7
contexpr in C++14 / C++17 :-(
AlexGuteniev f781a70
Fix algorithm
AlexGuteniev 34b935d
x86 build
AlexGuteniev de0397a
minmax_element
AlexGuteniev f118d4c
fix corner case; +comments
AlexGuteniev bc6a055
misleading comments
AlexGuteniev 6a7708e
enable x86 function fusion optimziation
AlexGuteniev 64b9e80
Comment on __stdcall
AlexGuteniev 8e2bf94
-stray def param
AlexGuteniev 300b3b4
literate
AlexGuteniev 7597d6f
Simplify _Base
AlexGuteniev 0519a3e
strange, tests locally pass for me
AlexGuteniev 4246874
try to undo __std_minmax_element
AlexGuteniev 121ea2a
ptrptr
AlexGuteniev 2a7b50b
minmax element wrapper
AlexGuteniev 6664519
minmax
AlexGuteniev d0ccf20
fix minmax_element for larger value type
AlexGuteniev 24dbd57
some test coverage
AlexGuteniev 3ed6d99
Fix x86 64-bit handling
AlexGuteniev 2b43c89
minor cleanup
AlexGuteniev 137f413
more text cleanup
AlexGuteniev f01c3c6
-stdlib dependency
AlexGuteniev d5ab6ac
superfluous
AlexGuteniev 7564248
LT is superfluous
AlexGuteniev 04b72fa
optimize 16-bit case
AlexGuteniev f4220f3
Fix for optimization of 16-bit
AlexGuteniev 28389bb
enable for any standard mode
AlexGuteniev 92fbbda
guard __CUDACC__
AlexGuteniev 53c6796
reduce repeated code
AlexGuteniev fb7679d
Element in name
AlexGuteniev 8f91c0d
optimization tuning for release only
AlexGuteniev 4f289c0
Merge remote-tracking branch 'upstream/main' into vector_max
AlexGuteniev fe29701
Merge remote-tracking branch 'upstream/main' into vector_max
AlexGuteniev 661fd86
Missing typename
AlexGuteniev c451f69
pointer cast properly
AlexGuteniev 87992c1
narrative
AlexGuteniev 66943a8
unnamed namespace
AlexGuteniev 962b91d
Merge remote-tracking branch 'upstream/main' into vector_max
AlexGuteniev d077514
extern C
AlexGuteniev 5913478
Merge remote-tracking branch 'upstream/main' into vector_max
AlexGuteniev d5953f5
more obvious all FFs
AlexGuteniev 881f1e2
bitwise flags, aligned loads
AlexGuteniev 8912c70
format
AlexGuteniev c02cb63
brace
AlexGuteniev ef213be
unternary
AlexGuteniev 40c323f
Update vector_algorithms.cpp
AlexGuteniev 856da66
_Ugly
AlexGuteniev 7e7683f
review comments
AlexGuteniev 4f332e3
+coverage
AlexGuteniev bdf7d82
+coverage
AlexGuteniev b79b194
format
AlexGuteniev a6ffe63
enhance special cases
AlexGuteniev 9c6ba04
format
AlexGuteniev 17e3b25
bring back a needed include
AlexGuteniev 679e65d
Merge remote-tracking branch 'upstream/main' into vector_max
AlexGuteniev 5c42c76
Merge branch 'main' into vector_max
StephanTLavavej 56799e8
Code review feedback.
StephanTLavavej f538bbc
Remove workarounds now that we have 17.3 Preview 2.
StephanTLavavej 1172483
Rename "cor" to "correction".
StephanTLavavej f566426
Remove CUDA guards.
StephanTLavavej d178303
Restore perma-workarounds.
StephanTLavavej 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
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.