Skip to content
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

i#5365: Build core unit tests with SVE enabled #6371

Merged
merged 15 commits into from
Nov 10, 2023

Conversation

philramsey-arm
Copy link
Collaborator

@philramsey-arm philramsey-arm commented Oct 16, 2023

Build most core tests with SVE flags and high optimisation (-O3), if building on a AARCH64 SVE machine.

Tests which fail when built with -O3 are not included.

Add some error checking to a few tests to allow the -O3 build and update template (expected output) files as necessary.

Issue #6429 raised to cover making the removal of optimization flags more granular.

Issue: #5365

Add BUILD_TESTS_SVE build option to compile with SVE flags and high
optimisation (-O3).

Add some error checking to allow the -O3 build and consequently
update a template (expected output) file.

Issue: #5365
@AssadHashmi
Copy link
Contributor

@derekbruening I'm happy to approve this change. Is there anything you would like to call out?

CMakeLists.txt Outdated Show resolved Hide resolved
CMakeLists.txt Outdated Show resolved Hide resolved
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
Add BUILD_TESTS_SVE build option to compile with SVE flags and high
optimisation (-O3).

Add some error checking to allow the -O3 build and consequently
update a template (expected output) file.

Issue: #5365
Build most core tests with SVE flags and high
optimisation (-O3), if building on a AARCH64 SVE machine.

Tests which fail when built with -O3 are not included.

Add some error checking to a few tests to allow the -O3 build
and update template (expected output) files as necessary.
@philramsey-arm philramsey-arm changed the title i#5365: Build AArch64 unit tests with SVE enabled i#5365: Build core unit tests with SVE enabled Nov 7, 2023
Copy link
Contributor

@derekbruening derekbruening left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly requesting adding a bunch of comments so future readers (probably ourselves after we forget the details) can more easily understand the combination of removing -O* and re-instating it in two different places (optimize() and now add_sve_flags()) that we have now.

suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
suite/tests/CMakeLists.txt Show resolved Hide resolved
suite/tests/CMakeLists.txt Show resolved Hide resolved
suite/tests/CMakeLists.txt Show resolved Hide resolved
suite/tests/CMakeLists.txt Show resolved Hide resolved
suite/tests/CMakeLists.txt Show resolved Hide resolved
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
Build most core tests with SVE flags and high
optimisation (-O3), if building on a AARCH64 SVE machine.

Tests which fail when built with -O3 are not included.

Add some error checking to a few tests to allow the -O3 build
and update template (expected output) files as necessary.

Issue: #5365
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
Build most core tests with SVE flags and high optimisation (-O3), if building
on an AARCH64 SVE machine.

Tests which fail when built with -O3 are not included.

Add some error checking to a few tests to allow the -O3 build and update
template (expected output) files as necessary.

Issue #6429 raised to cover making the removal of optimization flags more
granular.

Issue: #5365
Build most core tests with SVE flags and high optimisation (-O3), if building
on an AARCH64 SVE machine.

Tests which fail when built with -O3 are not included.

Add some error checking to a few tests to allow the -O3 build and update
template (expected output) files as necessary.

Issue #6429 raised to cover making the removal of optimization flags more
granular.

Issue: #5365
Build most core tests with SVE flags and high optimisation (-O3), if building
on an AARCH64 SVE machine.

Tests which fail when built with -O3 are not included.

Add some error checking to a few tests to allow the -O3 build and update
template (expected output) files as necessary.

Issue #6429 raised to cover making the removal of optimization flags more
granular.

Issue: #5365
suite/tests/CMakeLists.txt Outdated Show resolved Hide resolved
Build most core tests with SVE flags and high optimisation (-O3), if building
on an AARCH64 SVE machine.

Tests which fail when built with -O3 are not included.

Add some error checking to a few tests to allow the -O3 build and update
template (expected output) files as necessary.

Issue #6429 raised to cover making the removal of optimization flags more
granular.

Issue: #5365
@philramsey-arm philramsey-arm merged commit db54259 into master Nov 10, 2023
15 checks passed
@philramsey-arm philramsey-arm deleted the i5365-SVE-enabled-AArch64-tests branch November 10, 2023 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants