|
83 | 83 | shell: bash -noprofile --norc -eo pipefail -c "source /opt/intel/oneapi/setvars.sh > /dev/null; source {0}" |
84 | 84 | outputs: |
85 | 85 | test-triton-command: ${{ steps.test-triton.outputs.command }} |
86 | | - pti_libs_dir: ${{ steps.build-proton.outputs.pti_libs_dir }} |
87 | 86 | steps: |
88 | 87 | - name: Print inputs |
89 | 88 | run: | |
@@ -121,21 +120,9 @@ jobs: |
121 | 120 |
|
122 | 121 | - name: Build Proton with XPU support |
123 | 122 | if: inputs.driver_version == 'rolling' && inputs.device == 'max1100' |
124 | | - id: build-proton |
125 | 123 | run: | |
126 | 124 | echo TRITON_BUILD_PROTON_XPU=1 | tee -a $GITHUB_ENV |
127 | 125 |
|
128 | | - git clone https://github.com/intel/pti-gpu.git |
129 | | - cd pti-gpu |
130 | | - git checkout 15a201d25e5659692613b98ee33513263b689101 |
131 | | - cd sdk |
132 | | - cmake --preset linux-icpx-release |
133 | | - BUILD_TESTING=1 PTI_BUILD_SAMPLES=1 cmake --build --preset linux-icpx-release |
134 | | -
|
135 | | - PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/" |
136 | | - ls $PTI_LIBS_DIR |
137 | | - echo "pti_libs_dir=$PTI_LIBS_DIR" >> $GITHUB_OUTPUT |
138 | | -
|
139 | 126 | - name: Build Triton |
140 | 127 | uses: ./.github/actions/setup-triton |
141 | 128 | with: |
@@ -298,10 +285,18 @@ jobs: |
298 | 285 | run: | |
299 | 286 | echo "TRITON_TEST_CMD=${{ needs.build.outputs.test-triton-command }}" | tee -a $GITHUB_ENV |
300 | 287 |
|
301 | | - - name: Run Proton tests |
| 288 | + - name: Build PTI && Run Proton tests |
302 | 289 | if: matrix.suite == 'rest' && inputs.driver_version == 'rolling' && inputs.device == 'max1100' |
303 | 290 | run: | |
304 | | - export "PTI_LIBS_DIR=${{ needs.build.outputs.pti_libs_dir }}" |
| 291 | + git clone https://github.com/intel/pti-gpu.git |
| 292 | + cd pti-gpu |
| 293 | + git checkout 15a201d25e5659692613b98ee33513263b689101 |
| 294 | + cd sdk |
| 295 | + cmake --preset linux-icpx-release |
| 296 | + BUILD_TESTING=1 PTI_BUILD_SAMPLES=1 cmake --build --preset linux-icpx-release |
| 297 | +
|
| 298 | + PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/" |
| 299 | +
|
305 | 300 | export LD_LIBRARY_PATH=$PTI_LIBS_DIR:$LD_LIBRARY_PATH |
306 | 301 | export TRITON_XPUPTI_LIB_PATH=$PTI_LIBS_DIR |
307 | 302 | cd third_party/proton/test |
|
0 commit comments