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

Add AArch64 SVE2 Vector Length Agnostic builders #317

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions buildbot/osuosl/master/config/builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,53 @@
"-DMLIR_RUN_ARM_SVE_TESTS=True",
"-DLLVM_LIT_ARGS='-v'"])},

# Note that this is SVE2 as opposed to SVE.
{'name' : "clang-aarch64-sve2-vla",
'tags' : ["clang"],
'workernames' : ["linaro-g4-01", "linaro-g4-02"],
'builddir': "clang-aarch64-sve2-vla",
'factory' : ClangBuilder.getClangCMakeBuildFactory(
clean=False,
checkout_flang=True,
runTestSuite=True,
env={
'NO_STOP_MESSAGE':'1', # For Fortran test-suite
},
testsuite_flags=[
'--cppflags', '-mcpu=neoverse-v2 -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false -O3',
'--threads=32', '--build-threads=32'],
Copy link
Contributor

Choose a reason for hiding this comment

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

The current instances have 48 cores and 4GB RAM per core, so we should be OK with max parallelism of 48. Same comment below for 2stage builder.

extra_cmake_args=[
"-DCMAKE_C_FLAGS='-mcpu=neoverse-v2'",
"-DCMAKE_CXX_FLAGS='-mcpu=neoverse-v2'",
"-DLLVM_ENABLE_LLD=True",
"-DMLIR_INCLUDE_INTEGRATION_TESTS=True",
"-DMLIR_RUN_ARM_SVE_TESTS=True"])},

# AArch64 Clang+LLVM+RT+LLD check-all + flang + test-suite 2-stage with SVE2
# (not just SVE) Vector Length Agnostic codegen.
{'name' : "clang-aarch64-sve2-vla-2stage",
'tags' : ["clang"],
'workernames' : ["linaro-g4-01", "linaro-g4-02"],
'builddir': "clang-aarch64-sve2-vla-2stage",
'factory' : ClangBuilder.getClangCMakeBuildFactory(
clean=True,
checkout_flang=True,
useTwoStage=True,
testStage1=False,
runTestSuite=True,
env={
'NO_STOP_MESSAGE':'1', # For Fortran test-suite
},
testsuite_flags=[
'--cppflags', '-mcpu=neoverse-v2 -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false -O3',
'--threads=32', '--build-threads=32'],
extra_cmake_args=[
"-DCMAKE_C_FLAGS='-mcpu=neoverse-v2 -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false'",
"-DCMAKE_CXX_FLAGS='-mcpu=neoverse-v2 -mllvm -scalable-vectorization=preferred -mllvm -treat-scalable-fixed-error-as-warning=false'",
"-DLLVM_ENABLE_LLD=True",
"-DMLIR_INCLUDE_INTEGRATION_TESTS=True",
"-DMLIR_RUN_ARM_SVE_TESTS=True"])},

{'name' : "clang-arm64-windows-msvc-2stage",
'tags' : ["clang"],
'workernames' : ["linaro-armv8-windows-msvc-02"],
Expand Down
4 changes: 4 additions & 0 deletions buildbot/osuosl/master/config/workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@ def get_all():
create_worker("linaro-flang-aarch64-release", max_builds=1),
create_worker("linaro-flang-aarch64-rel-assert", max_builds=1),
create_worker("linaro-flang-aarch64-latest-gcc", max_builds=1),
# Graviton 3
create_worker("linaro-g3-01", max_builds=1),
create_worker("linaro-g3-02", max_builds=1),
create_worker("linaro-g3-03", max_builds=1),
create_worker("linaro-g3-04", max_builds=1),
# Graviton 4
create_worker("linaro-g4-01", max_builds=1),
create_worker("linaro-g4-02", max_builds=1),

# AArch64 Windows Microsoft Surface X Pro
create_worker("linaro-armv8-windows-msvc-02", max_builds=1),
Expand Down