From 6c83d2be03a5acee57ef8026c10aefcac9e0f61f Mon Sep 17 00:00:00 2001 From: "Li, Ian" Date: Thu, 12 Sep 2024 13:57:16 -0700 Subject: [PATCH] disable post commit temporarily for testing purposes, turn down parallelism level --- .github/workflows/sycl-post-commit.yml | 257 +++++++++--------- devops/scripts/benchmarking/benchmark-ci.conf | 2 +- 2 files changed, 130 insertions(+), 129 deletions(-) diff --git a/.github/workflows/sycl-post-commit.yml b/.github/workflows/sycl-post-commit.yml index d67edc83a050c..24b0635474c29 100644 --- a/.github/workflows/sycl-post-commit.yml +++ b/.github/workflows/sycl-post-commit.yml @@ -1,128 +1,129 @@ -name: SYCL Post Commit - -on: - push: - branches: - - sycl - - sycl-devops-pr/** - - sycl-rel-** - - pull_request: - branches: - - sycl - - sycl-devops-pr/** - paths: - - .github/workflows/sycl-post-commit.yml - - .github/workflows/sycl-linux-build.yml - - .github/workflows/sycl-linux-run-tests.yml - - .github/workflows/sycl-macos-build-and-test.yml - - ./devops/actions/cleanup - - ./devops/actions/cached_checkout - -concurrency: - # Cancel a currently running workflow from the same PR or commit hash. - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} - cancel-in-progress: true - -permissions: read-all - -jobs: - build-lin: - name: Linux (Self build + no-assertions) - if: github.repository == 'intel/llvm' - uses: ./.github/workflows/sycl-linux-build.yml - with: - build_cache_root: "/__w/llvm" - build_cache_suffix: default - build_artifact_suffix: default - build_configure_extra_args: --no-assertions --hip --cuda --native_cpu --cmake-opt="-DSYCL_ENABLE_STACK_PRINTING=ON" --cmake-opt="-DSYCL_LIB_WITH_DEBUG_SYMBOL=ON" - # Docker image has last nightly pre-installed and added to the PATH - build_image: "ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build" - cc: clang - cxx: clang++ - merge_ref: '' - - e2e-lin: - needs: [build-lin] - if: ${{ always() && !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }} - strategy: - fail-fast: false - matrix: - include: - - name: Intel GEN12 Graphics with Level Zero - runner: '["Linux", "gen12"]' - extra_lit_opts: --param gpu-intel-gen12=True - target_devices: level_zero:gpu;opencl:fpga - reset_intel_gpu: true - - name: Intel Arc A-Series Graphics with Level Zero - runner: '["Linux", "arc"]' - extra_lit_opts: --param matrix-xmx8=True --param gpu-intel-dg2=True - reset_intel_gpu: true - - name: AMD/HIP - runner: '["Linux", "amdgpu"]' - image: ghcr.io/intel/llvm/ubuntu2204_build:latest - image_options: -u 1001 --device=/dev/dri --device=/dev/kfd - target_devices: ext_oneapi_hip:gpu - reset_intel_gpu: false - # Performance tests below. Specifics: - # - only run performance tests (use LIT_FILTER env) - # - ask llvm-lit to show all the output, even for PASS (-a) - # - run in single thread (-j 1) - # - enable the tests in LIT (--param enable-perf-tests=True) - # - run on all available devices. - - name: Perf tests on Intel GEN12 Graphics system - runner: '["Linux", "gen12"]' - env: '{"LIT_FILTER":"PerformanceTests/"}' - extra_lit_opts: -a -j 1 --param enable-perf-tests=True --param gpu-intel-gen12=True - target_devices: all - reset_intel_gpu: true - - name: Perf tests on Intel Arc A-Series Graphics system - runner: '["Linux", "arc"]' - env: '{"LIT_FILTER":"PerformanceTests/"}' - extra_lit_opts: -a -j 1 --param enable-perf-tests=True - target_devices: all - reset_intel_gpu: true - uses: ./.github/workflows/sycl-linux-run-tests.yml - with: - name: ${{ matrix.name }} - runner: ${{ matrix. runner }} - image: ${{ matrix.image || 'ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest' }} - image_options: ${{ matrix.image_options || '-u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN' }} - target_devices: ${{ matrix.target_devices || 'level_zero:gpu' }} - reset_intel_gpu: ${{ matrix.reset_intel_gpu }} - - extra_lit_opts: ${{ matrix.extra_lit_opts }} - env: ${{ matrix.env || '{}' }} - - ref: ${{ github.sha }} - merge_ref: '' - - sycl_toolchain_artifact: sycl_linux_default - sycl_toolchain_archive: ${{ needs.build-lin.outputs.artifact_archive_name }} - sycl_toolchain_decompress_command: ${{ needs.build-lin.outputs.artifact_decompress_command }} - - build-win: - if: | - always() - && success() - && github.repository == 'intel/llvm' - uses: ./.github/workflows/sycl-windows-build.yml - - e2e-win: - needs: build-win - # Continue if build was successful. - if: | - always() - && !cancelled() - && needs.build-win.outputs.build_conclusion == 'success' - uses: ./.github/workflows/sycl-windows-run-tests.yml - with: - name: Intel GEN12 Graphics with Level Zero - runner: '["Windows","gen12"]' - sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }} - extra_lit_opts: --param gpu-intel-gen12=True - - macos_default: - name: macOS - if: github.repository == 'intel/llvm' - uses: ./.github/workflows/sycl-macos-build-and-test.yml +# name: SYCL Post Commit +# +# on: +# push: +# branches: +# - sycl +# - sycl-devops-pr/** +# - sycl-rel-** +# +# pull_request: +# branches: +# - sycl +# - sycl-devops-pr/** +# paths: +# - .github/workflows/sycl-post-commit.yml +# - .github/workflows/sycl-linux-build.yml +# - .github/workflows/sycl-linux-run-tests.yml +# - .github/workflows/sycl-macos-build-and-test.yml +# - ./devops/actions/cleanup +# - ./devops/actions/cached_checkout +# +# concurrency: +# # Cancel a currently running workflow from the same PR or commit hash. +# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} +# cancel-in-progress: true +# +# permissions: read-all +# +# jobs: +# build-lin: +# name: Linux (Self build + no-assertions) +# if: github.repository == 'intel/llvm' +# uses: ./.github/workflows/sycl-linux-build.yml +# with: +# build_cache_root: "/__w/llvm" +# build_cache_suffix: default +# build_artifact_suffix: default +# build_configure_extra_args: --no-assertions --hip --cuda --native_cpu --cmake-opt="-DSYCL_ENABLE_STACK_PRINTING=ON" --cmake-opt="-DSYCL_LIB_WITH_DEBUG_SYMBOL=ON" +# # Docker image has last nightly pre-installed and added to the PATH +# build_image: "ghcr.io/intel/llvm/sycl_ubuntu2204_nightly:build" +# cc: clang +# cxx: clang++ +# merge_ref: '' +# +# e2e-lin: +# needs: [build-lin] +# if: ${{ always() && !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }} +# strategy: +# fail-fast: false +# matrix: +# include: +# - name: Intel GEN12 Graphics with Level Zero +# runner: '["Linux", "gen12"]' +# extra_lit_opts: --param gpu-intel-gen12=True +# target_devices: level_zero:gpu;opencl:fpga +# reset_intel_gpu: true +# - name: Intel Arc A-Series Graphics with Level Zero +# runner: '["Linux", "arc"]' +# extra_lit_opts: --param matrix-xmx8=True --param gpu-intel-dg2=True +# reset_intel_gpu: true +# - name: AMD/HIP +# runner: '["Linux", "amdgpu"]' +# image: ghcr.io/intel/llvm/ubuntu2204_build:latest +# image_options: -u 1001 --device=/dev/dri --device=/dev/kfd +# target_devices: ext_oneapi_hip:gpu +# reset_intel_gpu: false +# # Performance tests below. Specifics: +# # - only run performance tests (use LIT_FILTER env) +# # - ask llvm-lit to show all the output, even for PASS (-a) +# # - run in single thread (-j 1) +# # - enable the tests in LIT (--param enable-perf-tests=True) +# # - run on all available devices. +# - name: Perf tests on Intel GEN12 Graphics system +# runner: '["Linux", "gen12"]' +# env: '{"LIT_FILTER":"PerformanceTests/"}' +# extra_lit_opts: -a -j 1 --param enable-perf-tests=True --param gpu-intel-gen12=True +# target_devices: all +# reset_intel_gpu: true +# - name: Perf tests on Intel Arc A-Series Graphics system +# runner: '["Linux", "arc"]' +# env: '{"LIT_FILTER":"PerformanceTests/"}' +# extra_lit_opts: -a -j 1 --param enable-perf-tests=True +# target_devices: all +# reset_intel_gpu: true +# uses: ./.github/workflows/sycl-linux-run-tests.yml +# with: +# name: ${{ matrix.name }} +# runner: ${{ matrix. runner }} +# image: ${{ matrix.image || 'ghcr.io/intel/llvm/ubuntu2204_intel_drivers:latest' }} +# image_options: ${{ matrix.image_options || '-u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN' }} +# target_devices: ${{ matrix.target_devices || 'level_zero:gpu' }} +# reset_intel_gpu: ${{ matrix.reset_intel_gpu }} +# +# extra_lit_opts: ${{ matrix.extra_lit_opts }} +# env: ${{ matrix.env || '{}' }} +# +# ref: ${{ github.sha }} +# merge_ref: '' +# +# sycl_toolchain_artifact: sycl_linux_default +# sycl_toolchain_archive: ${{ needs.build-lin.outputs.artifact_archive_name }} +# sycl_toolchain_decompress_command: ${{ needs.build-lin.outputs.artifact_decompress_command }} +# +# build-win: +# if: | +# always() +# && success() +# && github.repository == 'intel/llvm' +# uses: ./.github/workflows/sycl-windows-build.yml +# +# e2e-win: +# needs: build-win +# # Continue if build was successful. +# if: | +# always() +# && !cancelled() +# && needs.build-win.outputs.build_conclusion == 'success' +# uses: ./.github/workflows/sycl-windows-run-tests.yml +# with: +# name: Intel GEN12 Graphics with Level Zero +# runner: '["Windows","gen12"]' +# sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }} +# extra_lit_opts: --param gpu-intel-gen12=True +# +# macos_default: +# name: macOS +# if: github.repository == 'intel/llvm' +# uses: ./.github/workflows/sycl-macos-build-and-test.yml +# \ No newline at end of file diff --git a/devops/scripts/benchmarking/benchmark-ci.conf b/devops/scripts/benchmarking/benchmark-ci.conf index 810a6f29f1787..36dc6b1b6dbcb 100644 --- a/devops/scripts/benchmarking/benchmark-ci.conf +++ b/devops/scripts/benchmarking/benchmark-ci.conf @@ -11,7 +11,7 @@ COMPUTE_BENCH_BRANCH="update-sycl" # Path to compile and build compute-benchmarks COMPUTE_BENCH_PATH="./compute-benchmarks" # Compile flags used to build compute-benchmarks -COMPUTE_BENCH_COMPILE_FLAGS="-j8" +COMPUTE_BENCH_COMPILE_FLAGS="-j2" # Path to temporarily store compute-benchmark results OUTPUT_PATH="."