Refine SVE2 Gemm32fNT zero init and Kernel6x4nt A/B order (#828) #1300
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: Test | |
| on: | |
| push: | |
| branches: [ "dev" ] | |
| pull_request: | |
| branches: [ "dev" ] | |
| jobs: | |
| build_and_test_arm64: | |
| runs-on: ubuntu-24.04-arm | |
| strategy: | |
| matrix: | |
| gcc_version: [13] | |
| build_type: [Release] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Host properties | |
| run: lscpu | |
| - name: Install toolchain | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get -y install g++-${{matrix.gcc_version}} | |
| sudo apt-get install python3-numpy | |
| - name: Configure CMake | |
| run: cmake ./prj/cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DSIMD_TOOLCHAIN="g++-${{matrix.gcc_version}}" -DSIMD_TARGET="" -DSIMD_TEST_FLAGS="-march=native -march=armv9-a+sve+sve2+i8mm+bf16" -DSIMD_SVE=ON -DSIMD_SVE2=ON -DSIMD_SHARED=ON | |
| - name: Build | |
| run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}} --parallel$(nproc) | |
| - name: Test C++ All | |
| working-directory: ${{github.workspace}}/build | |
| run: | | |
| export LD_LIBRARY_PATH="${{github.workspace}}/build":$LD_LIBRARY_PATH | |
| ./Test "-r=.." -m=a -tt=4 -ts=5 -mt=10 -w=640 -h=480 -c=256 | |
| - name: Test C++ Custom | |
| working-directory: ${{github.workspace}}/build | |
| run: | | |
| export LD_LIBRARY_PATH="${{github.workspace}}/build":$LD_LIBRARY_PATH | |
| ./Test "-r=.." -m=a -tt=1 -ts=5 -fi=InnerProduct -fi=Gemm32fN | |
| - name: Test Python | |
| if: ${{ matrix.build_type == 'Release' }} | |
| working-directory: ${{github.workspace}}/build | |
| run: python3 ./Test.py "-r=.." | |