FFT::PoissonHybrid: Fix cases with nx or ny being 1 (#4829) #8034
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
| name: intel | |
| on: [push, pull_request] | |
| concurrency: | |
| group: ${{ github.ref }}-${{ github.head_ref }}-intel | |
| cancel-in-progress: true | |
| jobs: | |
| check_changes: | |
| uses: ./.github/workflows/check_changes.yml | |
| tests-oneapi-sycl: | |
| name: oneAPI SYCL [tests] | |
| runs-on: ubuntu-latest | |
| needs: check_changes | |
| if: needs.check_changes.outputs.has_non_docs_changes == 'true' | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Dependencies | |
| run: | | |
| .github/workflows/dependencies/dependencies_dpcpp.sh | |
| .github/workflows/dependencies/dependencies_ccache.sh | |
| - name: Set Up Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/ccache | |
| key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} | |
| restore-keys: | | |
| ccache-${{ github.workflow }}-${{ github.job }}-git- | |
| - name: Build & Install | |
| # Since oneAPI 2025.3 | |
| # /tmp/icpx-ce94418843/global_vars-header-65acf6.h:42:49: error: zero size arrays are an extension [-Werror,-Wzero-length-array] | |
| # 42 | static constexpr unsigned kernel_args_sizes[] = {}; | |
| env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-zero-length-array"} | |
| run: | | |
| export CCACHE_COMPRESS=1 | |
| export CCACHE_COMPRESSLEVEL=10 | |
| export CCACHE_MAXSIZE=100M | |
| export CCACHE_DEPEND=1 | |
| ccache -z | |
| set +e | |
| source /opt/intel/oneapi/setvars.sh | |
| set -e | |
| cmake -S . -B build \ | |
| -DCMAKE_VERBOSE_MAKEFILE=ON \ | |
| -DAMReX_FFT=ON \ | |
| -DAMReX_EB=OFF \ | |
| -DAMReX_ENABLE_TESTS=ON \ | |
| -DAMReX_FORTRAN=ON \ | |
| -DAMReX_GPU_BACKEND=SYCL \ | |
| -DAMReX_SYCL_AOT=ON \ | |
| -DAMReX_INTEL_ARCH=pvc \ | |
| -DCMAKE_C_COMPILER=$(which icx) \ | |
| -DCMAKE_CXX_COMPILER=$(which icpx) \ | |
| -DCMAKE_Fortran_COMPILER=$(which ifx) \ | |
| -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | |
| -DAMReX_PARALLEL_LINK_JOBS=4 | |
| cmake --build build --parallel 4 | |
| ccache -s | |
| du -hs ~/.cache/ccache | |
| tests-oneapi-sycl-eb: | |
| name: oneAPI SYCL [tests w/ EB] | |
| runs-on: ubuntu-latest | |
| needs: check_changes | |
| if: needs.check_changes.outputs.has_non_docs_changes == 'true' | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Dependencies | |
| run: | | |
| .github/workflows/dependencies/dependencies_dpcpp.sh | |
| .github/workflows/dependencies/dependencies_ccache.sh | |
| - name: Set Up Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/ccache | |
| key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} | |
| restore-keys: | | |
| ccache-${{ github.workflow }}-${{ github.job }}-git- | |
| - name: Build & Install | |
| # Since oneAPI 2025.3 | |
| # /tmp/icpx-ce94418843/global_vars-header-65acf6.h:42:49: error: zero size arrays are an extension [-Werror,-Wzero-length-array] | |
| # 42 | static constexpr unsigned kernel_args_sizes[] = {}; | |
| env: {CXXFLAGS: "-fno-operator-names -Werror -Wall -Wextra -Wpedantic -Wnull-dereference -Wfloat-conversion -Wshadow -Woverloaded-virtual -Wextra-semi -Wunreachable-code -Wnon-virtual-dtor -Wno-zero-length-array"} | |
| run: | | |
| export CCACHE_COMPRESS=1 | |
| export CCACHE_COMPRESSLEVEL=10 | |
| export CCACHE_MAXSIZE=150M | |
| export CCACHE_DEPEND=1 | |
| ccache -z | |
| set +e | |
| source /opt/intel/oneapi/setvars.sh | |
| set -e | |
| cmake -S . -B build \ | |
| -DCMAKE_VERBOSE_MAKEFILE=ON \ | |
| -DAMReX_FFT=ON \ | |
| -DAMReX_EB=ON \ | |
| -DAMReX_ENABLE_TESTS=ON \ | |
| -DAMReX_FORTRAN=OFF \ | |
| -DAMReX_GPU_BACKEND=SYCL \ | |
| -DAMReX_SYCL_AOT=ON \ | |
| -DAMReX_INTEL_ARCH=pvc \ | |
| -DCMAKE_C_COMPILER=$(which icx) \ | |
| -DCMAKE_CXX_COMPILER=$(which icpx) \ | |
| -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | |
| -DAMReX_PARALLEL_LINK_JOBS=4 | |
| cmake --build build --parallel 4 | |
| ccache -s | |
| du -hs ~/.cache/ccache |