[GpuOclRuntime] Retain input and release created cl_events (#367) #1596
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: Graph Compiler build | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: read-all | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: [self-hosted] | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup MLIR Python bindings | |
| id: setup-mlir-python-bindings | |
| uses: ./.github/actions/setup-mlir-python-bindings | |
| - name: Build | |
| run: | | |
| scripts/compile.sh | |
| - name: Test | |
| run: | | |
| cmake --build build --target gc-check | |
| - name: Build and install benchgc | |
| working-directory: build | |
| run: | | |
| ninja benchgc | |
| pip uninstall -y benchgc || true | |
| pip install test/benchgc/dist/benchgc-*.whl | |
| - name: Correctness Test | |
| env: | |
| LD_PRELOAD: /lib/x86_64-linux-gnu/libomp5.so | |
| run: | | |
| scripts/correctness.sh |