prefer faster and larger device local only memory on amd integrated graphics, heap budget value follows the same strategy as blob allocator #3350
Workflow file for this run
This file contains 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: linux-ppc64-cpu-gcc | |
on: | |
push: | |
branches: [master] | |
paths: | |
- '.github/workflows/linux-ppc64-cpu-gcc.yml' | |
- 'toolchains/powerpc64le-linux-gnu.toolchain.cmake' | |
- 'CMakeLists.txt' | |
- 'cmake/**' | |
- 'src/*' | |
- 'src/layer/*' | |
- 'tests/**' | |
pull_request: | |
branches: [master] | |
paths: | |
- '.github/workflows/linux-ppc64-cpu-gcc.yml' | |
- 'toolchains/powerpc64le-linux-gnu.toolchain.cmake' | |
- 'CMakeLists.txt' | |
- 'cmake/**' | |
- 'src/*' | |
- 'src/layer/*' | |
- 'tests/**' | |
concurrency: | |
group: linux-ppc64-cpu-gcc-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
linux-gcc-ppc64le: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cache-qemu | |
id: cache-qemu | |
uses: actions/cache@v3 | |
with: | |
path: qemu-install | |
key: qemu-ppc64le-install-20220502-2 | |
- name: install-qemu-build-deps | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
run: | | |
sudo apt-get update | |
sudo apt-get install autoconf automake autotools-dev ninja-build | |
- name: checkout-qemu | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
uses: actions/checkout@v3 | |
with: | |
repository: qemu/qemu | |
path: qemu | |
ref: f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 | |
- name: qemu | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
run: | | |
cd qemu | |
./configure --prefix=$GITHUB_WORKSPACE/qemu-install --target-list=ppc64le-linux-user --disable-system | |
make -j2 | |
make install | |
- name: powerpc64le-gnu-toolchain | |
run: | | |
sudo apt-get update | |
sudo apt-get install g++-powerpc64le-linux-gnu | |
- name: configure | |
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/powerpc64le-linux-gnu.toolchain.cmake -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF -DNCNN_BUILD_TESTS=ON .. | |
- name: build | |
run: cmake --build build -j 2 | |
- name: test | |
run: | | |
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH | |
cd build | |
TESTS_EXECUTABLE_LOADER=qemu-ppc64le TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/powerpc64le-linux-gnu" ctest --output-on-failure -j 2 | |
linux-gcc-power8le-vsx: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cache-qemu | |
id: cache-qemu | |
uses: actions/cache@v3 | |
with: | |
path: qemu-install | |
key: qemu-ppc64le-install-20220502-2 | |
- name: install-qemu-build-deps | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
run: | | |
sudo apt-get update | |
sudo apt-get install autoconf automake autotools-dev ninja-build | |
- name: checkout-qemu | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
uses: actions/checkout@v3 | |
with: | |
repository: qemu/qemu | |
path: qemu | |
ref: f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 | |
- name: qemu | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
run: | | |
cd qemu | |
./configure --prefix=$GITHUB_WORKSPACE/qemu-install --target-list=ppc64le-linux-user --disable-system | |
make -j2 | |
make install | |
- name: powerpc64le-gnu-toolchain | |
run: | | |
sudo apt-get update | |
sudo apt-get install g++-powerpc64le-linux-gnu | |
- name: configure | |
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/power8le-linux-gnu-vsx.toolchain.cmake -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF -DNCNN_BUILD_TESTS=ON .. | |
- name: build | |
run: cmake --build build -j 2 | |
- name: test | |
run: | | |
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH | |
cd build | |
TESTS_EXECUTABLE_LOADER=qemu-ppc64le TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/powerpc64le-linux-gnu;-cpu;power8_v2.0" ctest --output-on-failure -j 2 | |
linux-gcc-power9le-vsx: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: cache-qemu | |
id: cache-qemu | |
uses: actions/cache@v3 | |
with: | |
path: qemu-install | |
key: qemu-ppc64le-install-20220502-2 | |
- name: install-qemu-build-deps | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
run: | | |
sudo apt-get update | |
sudo apt-get install autoconf automake autotools-dev ninja-build | |
- name: checkout-qemu | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
uses: actions/checkout@v3 | |
with: | |
repository: qemu/qemu | |
path: qemu | |
ref: f5643914a9e8f79c606a76e6a9d7ea82a3fc3e65 | |
- name: qemu | |
if: steps.cache-qemu.outputs.cache-hit != 'true' | |
run: | | |
cd qemu | |
./configure --prefix=$GITHUB_WORKSPACE/qemu-install --target-list=ppc64le-linux-user --disable-system | |
make -j2 | |
make install | |
- name: powerpc64le-gnu-toolchain | |
run: | | |
sudo apt-get update | |
sudo apt-get install g++-powerpc64le-linux-gnu | |
- name: configure | |
run: mkdir build && cd build && cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/power9le-linux-gnu-vsx.toolchain.cmake -DNCNN_BUILD_TOOLS=OFF -DNCNN_BUILD_EXAMPLES=OFF -DNCNN_BUILD_TESTS=ON .. | |
- name: build | |
run: cmake --build build -j 2 | |
- name: test | |
run: | | |
export PATH=$GITHUB_WORKSPACE/qemu-install/bin:$PATH | |
cd build | |
TESTS_EXECUTABLE_LOADER=qemu-ppc64le TESTS_EXECUTABLE_LOADER_ARGUMENTS="-L;/usr/powerpc64le-linux-gnu;-cpu;power9_v2.0" ctest --output-on-failure -j 2 |