[GpuOclRuntime] Avoid error when iterating over non-gpu devices #652
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 GPU with IMEX | |
| runs-on: [self-hosted, l0] | |
| 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 --imex | |
| - name: Test | |
| run: | | |
| cmake --build build --target gc-check |