-
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
Merged
+140
−37
Merged
Changes from 6 commits
Commits
Show all changes
31 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 8b36bef
remove asan_options; remove auto-formatted double-quote change
ahuber21 4ee907d
Merge branch 'main' into dev/fix-unmasked-read
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,67 @@ | ||
| # Copyright (C) 2025 Intel Corporation | ||
| # | ||
| # This software and the related documents are Intel copyrighted materials, | ||
| # and your use of them is governed by the express license under which they | ||
| # were provided to you ("License"). Unless the License provides otherwise, | ||
| # you may not use, modify, copy, publish, distribute, disclose or transmit | ||
| # this software or the related documents without Intel's prior written | ||
| # permission. | ||
| # | ||
| # This software and the related documents are provided as is, with no | ||
| # express or implied warranties, other than those that are expressly stated | ||
| # in the License. | ||
|
|
||
| name: Linux Build and Test | ||
ahuber21 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 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.