-
Notifications
You must be signed in to change notification settings - Fork 34
fix(simd): umasked AVX2 load #239
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
ahuber21
wants to merge
29
commits into
main
Choose a base branch
from
dev/fix-unmasked-read
base: main
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
Changes from 7 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
ef180f7
fix(simd): umasked AVX2 load
ahuber21 c1705f5
remove L2Impl specific test
ahuber21 05dce8f
add asan yml
ahuber21 ecf5b28
fix naming and clang version
ahuber21 e5d46aa
copyright
ahuber21 f271dc9
typo
ahuber21 2f8dd96
comments on workflow file
ahuber21 4046e99
chore(ci): streamline asan & linux workflows
ahuber21 9bc5313
fixup: undo format
ahuber21 2a43709
refactor: use CATCH_TEMPLATE_TEST_CASE
ahuber21 1e74a55
fix(ci): remove unused cmake option
ahuber21 dbe4ae8
fix(ci): skip integration testsin debug asan build
ahuber21 2b00b78
feat(ci): add new tag 'long' that's skipped for asan
ahuber21 6cf9ecd
update catch2 and use ADD_TAGS_AS_LABELS ADD_TAGS_AS_LABELS
ahuber21 d94e2a7
add more [long] labels
ahuber21 3ba1fd8
revert simd_utils.h to trip new asan check in CI
ahuber21 528ff19
add AVX2 L2 calculation back to trigger asan
ahuber21 99dbac3
Revert "add AVX2 L2 calculation back to trigger asan"
ahuber21 055214f
Revert "revert simd_utils.h to trip new asan check in CI"
ahuber21 478c0dc
run all ISA paths in test
ahuber21 c205443
keep avx_runtime_flags const by using const_cast in tests
ahuber21 de0bfac
fix false positive failure for skipped tests
ahuber21 be64f34
fix: only modify isa dispatching on x86
ahuber21 f856a96
fixup
ahuber21 80d1d84
simplify test
ahuber21 966d58c
Revert "fixup"
ahuber21 6fcc214
fixup
ahuber21 7d5b6ed
Include asan in C flags
ahuber21 63e58cd
fixup
ahuber21 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
Some comments aren't visible on the classic Files Changed page.
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 |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| # Copyright 2025 Intel Corporation | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| name: ASan Build and Test | ||
| run-name: ${{ github.event.inputs.run_name || github.event.pull_request.title }} | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
|
|
||
| concurrency: | ||
| group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| asan-test: | ||
| name: clang++-18 -fsanitize=address | ||
| runs-on: [self-hosted, Linux, ubuntu-22.04] | ||
| env: | ||
| CXX: clang++-18 | ||
| CC: clang-18 | ||
|
|
||
| steps: | ||
| - name: "Cleanup build folder" | ||
| run: | | ||
| ls -la ./ | ||
| sudo rm -rf ./* || true | ||
| sudo rm -rf ./.??* || true | ||
| ls -la ./ | ||
|
|
||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: true | ||
|
|
||
| - name: Configure build | ||
| working-directory: ${{ runner.temp }} | ||
| env: | ||
| TEMP_WORKSPACE: ${{ runner.temp }} | ||
| run: | | ||
| cmake -B${TEMP_WORKSPACE}/build -S${GITHUB_WORKSPACE} \ | ||
| -DCMAKE_BUILD_TYPE=Debug \ | ||
| -DCMAKE_CXX_FLAGS="-fsanitize=address -fno-omit-frame-pointer -g" \ | ||
| -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address" \ | ||
| -DSVS_BUILD_TESTS=YES \ | ||
| -DSVS_BUILD_BINARIES=NO \ | ||
| -DSVS_BUILD_EXAMPLES=NO | ||
|
|
||
| - name: Build tests | ||
| working-directory: ${{ runner.temp }}/build | ||
| run: make tests -j | ||
|
|
||
| - name: Run tests | ||
| env: | ||
| CTEST_OUTPUT_ON_FAILURE: 1 | ||
| ASAN_OPTIONS: detect_leaks=0 | ||
| working-directory: ${{ runner.temp }}/build/tests | ||
| run: ./tests | ||
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.