File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 36
36
cd $HOME_DIR
37
37
rm -rf *
38
38
39
- - uses : actions/checkout@v3
39
+ - uses : actions/checkout@v4
40
40
with :
41
41
repository : intel-innersource/frameworks.ai.mlir.mlir-extensions
42
42
token : ${{secrets.WORKFLOW_TOKEN}}
@@ -56,14 +56,14 @@ jobs:
56
56
57
57
- name : Setup IMEX and run tests
58
58
run : |
59
- cd $HOME_DIR/frameworks.ai.mlir.mlir-extensions || exit 1
60
- cmake -S $BUILD_ROOT/llvm-project/llvm -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_ZSTD=OFF -DLLVM_EXTERNAL_PROJECTS="Imex" -DLLVM_EXTERNAL_IMEX_SOURCE_DIR=. || exit 1
59
+ cd $HOME_DIR/frameworks.ai.mlir.mlir-extensions
60
+ cmake -S $BUILD_ROOT/llvm-project/llvm -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_ZSTD=OFF -DLLVM_EXTERNAL_PROJECTS="Imex" -DLLVM_EXTERNAL_IMEX_SOURCE_DIR=. -DLLVM_LIT_ARGS=-a
61
61
set -o pipefail
62
62
cmake --build build --target check-imex | tee build/tests.txt
63
63
64
64
- name : Upload tests.txt
65
65
if : ${{ always() }}
66
- uses : actions/upload-artifact@v3
66
+ uses : actions/upload-artifact@v4
67
67
with :
68
68
name : tests_cpu.txt
69
69
path : ${{env.HOME_DIR}}/frameworks.ai.mlir.mlir-extensions/build/tests.txt
Original file line number Diff line number Diff line change 70
70
source /opt/intel/oneapi/setvars.sh
71
71
set -x
72
72
cd $HOME_DIR/frameworks.ai.mlir.mlir-extensions
73
- cmake -S $BUILD_ROOT/llvm-project/llvm -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_ZSTD=OFF -DLLVM_EXTERNAL_PROJECTS="Imex" -DLLVM_EXTERNAL_IMEX_SOURCE_DIR=. -DIMEX_ENABLE_SYCL_RUNTIME=1 -DIMEX_ENABLE_L0_RUNTIME=1 -DLEVEL_ZERO_DIR=$HOME_DIR/level-zero-install/ -DLLVM_LIT_ARGS="-j 1 --debug --timeout=600 --filter=gemm_with_transposed_B_1kx1kx1k_f16_f16_f32.mlir" -DIMEX_ENABLE_FS_SIMULATOR=ON || exit
73
+ cmake -S $BUILD_ROOT/llvm-project/llvm -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_ZSTD=OFF -DLLVM_EXTERNAL_PROJECTS="Imex" -DLLVM_EXTERNAL_IMEX_SOURCE_DIR=. -DIMEX_ENABLE_SYCL_RUNTIME=1 -DIMEX_ENABLE_L0_RUNTIME=1 -DLEVEL_ZERO_DIR=$HOME_DIR/level-zero-install/ -DLLVM_LIT_ARGS="-a - j 1 --debug --timeout=600 --filter=gemm_with_transposed_B_1kx1kx1k_f16_f16_f32.mlir" -DIMEX_ENABLE_FS_SIMULATOR=ON || exit
74
74
sed -e 's,-printAllFeatures,,g' -i ${WORK_ROOT}/fs/scripts/run_in_a_loop_rasty.sh
75
75
(cd ${WORK_ROOT}/fs/scripts && source setup.sh && umd_driver_env_variables_export && ./run_in_a_loop_rasty.sh) &> fs-sim.log &
76
76
SIM_PID=$!
@@ -84,21 +84,21 @@ jobs:
84
84
85
85
- name : Upload tests.txt
86
86
if : ${{ always() }}
87
- uses : actions/upload-artifact@v3
87
+ uses : actions/upload-artifact@v4
88
88
with :
89
89
name : tests_gpu-fs-sim.txt
90
90
path : ${{ env.HOME_DIR }}/frameworks.ai.mlir.mlir-extensions/build/tests.txt
91
91
92
92
- name : Upload fs-sim.log
93
93
if : ${{ always() }}
94
- uses : actions/upload-artifact@v3
94
+ uses : actions/upload-artifact@v4
95
95
with :
96
96
name : fs-sim.log
97
97
path : ${{ env.HOME_DIR }}/frameworks.ai.mlir.mlir-extensions/fs-sim.log
98
98
99
99
- name : Upload fs-sim-tbx-logs.zip
100
100
if : ${{ always() }}
101
- uses : actions/upload-artifact@v3
101
+ uses : actions/upload-artifact@v4
102
102
with :
103
103
name : fs-sim-tbx-logs.zip
104
104
path : /tmp/fs-sim-tbx-logs.zip
Original file line number Diff line number Diff line change @@ -36,15 +36,15 @@ jobs:
36
36
cd $HOME_DIR
37
37
rm -rf *
38
38
39
- - uses : actions/checkout@v3
39
+ - uses : actions/checkout@v4
40
40
with :
41
41
repository : intel-innersource/frameworks.ai.mlir.mlir-extensions
42
42
token : ${{ secrets.WORKFLOW_TOKEN }}
43
43
fetch-depth : 0
44
44
path : ${{ env.HOME_DIR }}/frameworks.ai.mlir.mlir-extensions
45
45
46
46
- name : Setup Level Zero
47
- shell : bash -l {0}
47
+ shell : bash -le {0}
48
48
run : |
49
49
cd $HOME_DIR
50
50
git clone https://github.com/oneapi-src/level-zero.git
68
68
run : |
69
69
source /opt/intel/oneapi/setvars.sh
70
70
cd $HOME_DIR/frameworks.ai.mlir.mlir-extensions
71
+
71
72
pip install psutil
72
- cmake -S $BUILD_ROOT/llvm-project/llvm -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_ZSTD=OFF -DLLVM_EXTERNAL_PROJECTS="Imex" -DLLVM_EXTERNAL_IMEX_SOURCE_DIR=. -DIMEX_ENABLE_SYCL_RUNTIME=1 -DIMEX_ENABLE_L0_RUNTIME=1 -DLEVEL_ZERO_DIR=$HOME_DIR/level-zero-install/ -DLLVM_LIT_ARGS="-a -j 4 --debug --timeout=1800" || exit
73
+ cmake -S $BUILD_ROOT/llvm-project/llvm -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS=mlir -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_USE_LINKER=gold -DLLVM_ENABLE_ZSTD=OFF -DLLVM_EXTERNAL_PROJECTS="Imex" -DLLVM_EXTERNAL_IMEX_SOURCE_DIR=. -DIMEX_ENABLE_SYCL_RUNTIME=1 -DIMEX_ENABLE_L0_RUNTIME=1 -DLEVEL_ZERO_DIR=$HOME_DIR/level-zero-install/ -DLLVM_LIT_ARGS="-a -j 4 --debug --timeout=1800"
73
74
set -o pipefail
74
75
cmake --build build --target check-imex | tee build/tests.txt
75
76
81
82
82
83
- name : Upload tests.txt
83
84
if : ${{ always() }}
84
- uses : actions/upload-artifact@v3
85
+ uses : actions/upload-artifact@v4
85
86
with :
86
87
name : tests_gpu.txt
87
88
path : ${{ env.HOME_DIR }}/frameworks.ai.mlir.mlir-extensions/build/tests.txt
You can’t perform that action at this time.
0 commit comments