Skip to content

Use barrier(CLK_LOCAL_MEM_FENCE) instead of barrier(0) (#270) #89

Use barrier(CLK_LOCAL_MEM_FENCE) instead of barrier(0) (#270)

Use barrier(CLK_LOCAL_MEM_FENCE) instead of barrier(0) (#270) #89

Workflow file for this run

name: CI
on:
push:
pull_request:
schedule:
- cron: '0 0 1 * *'
jobs:
Linux:
name: Linux
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.cxx == 'clang++' }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
cxx: [g++, clang++]
fail-fast: false
env:
CXX: ${{ matrix.cxx }}
steps:
- uses: actions/checkout@v3
- name: Install
run: |
sudo apt-get -yqq update
sudo apt-get -yqq install cppcheck ocl-icd-opencl-dev
$CXX --version
- name: Script
run: |
make -j "$(nproc)"
./build/gpuowl -h
- uses: actions/upload-artifact@v3
if: always()
with:
name: ${{ matrix.os }}_${{ matrix.cxx }}_gpuowl
path: ${{ github.workspace }}
- name: Cppcheck
run: cppcheck --enable=all --force .
- name: ShellCheck
run: bash -c 'shopt -s globstar; shellcheck -s bash **/*.sh || true'
Windows:
name: Windows
runs-on: windows-latest
continue-on-error: true
strategy:
matrix:
cxx: [g++, clang++]
fail-fast: false
env:
CXX: ${{ matrix.cxx }}
steps:
- uses: actions/checkout@v3
- name: Script
run: |
make gpuowl-win.exe
.\gpuowl-win.exe -h
- uses: actions/upload-artifact@v3
if: always()
with:
name: win_${{ matrix.cxx }}_gpuowl
path: ${{ github.workspace }}