Add cross-tab layout projection from Block Layout to Linear Layout #33
Workflow file for this run
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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - '**' # Run on PRs to any branch | |
| push: | |
| branches: | |
| - main # Run on direct commits to main only | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| fetch-depth: 0 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install calculator dependencies | |
| run: python -m pip install --requirement amd_matrix_instruction_calculator/requirements.txt | |
| - name: Verify WMMA layouts | |
| run: python verification/verify_wmma_layouts.py --max-diffs 5 | |
| - name: Verify MFMA layouts | |
| run: python verification/verify_mfma_layouts.py --arch all --max-diffs 5 | |
| - name: Run tests | |
| run: npm test -- --run | |
| - name: Build | |
| run: npm run build |