File tree Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Expand file tree Collapse file tree 3 files changed +16
-7
lines changed Original file line number Diff line number Diff line change 5
5
name : list_components
6
6
7
7
on :
8
+ push : {}
9
+ workflow_dispatch : {}
8
10
schedule :
9
11
- cron : ' 0 0 * * *'
10
12
@@ -185,8 +187,8 @@ jobs:
185
187
run : python -m pip install --quiet -r requirements.txt
186
188
- name : Build doc
187
189
run : |
188
- find source/${{ github.workflow }} -type f -maxdepth 1 ! -name "*apt*" ! -name "*yum*" -exec sed -i -e 1,5d {} \;
189
- find source/${{ github.workflow }} -type f -maxdepth 1 -name "*windows*" -exec sed -i -e 1,2d {} \;
190
+ find source/${{ github.workflow }} -maxdepth 1 -type f ! -name "*apt*" ! -name "*yum*" -exec sed -i -e 1,5d {} \;
191
+ find source/${{ github.workflow }} -maxdepth 1 -type f -name "*windows*" -exec sed -i -e 1,2d {} \; -exec sed -i s"/\r//g" {} \;
190
192
sed -i -e 1,7d source/${{ github.workflow }}/linux_yum_dnf.txt
191
193
make html
192
194
- name : Save built doc as artifact
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ source /opt/intel/oneapi/compiler/"$LATEST_VERSION"/env/vars.sh
16
16
case $LANGUAGE in
17
17
c++)
18
18
cd oneAPI-samples/DirectProgramming/C++/CompilerInfrastructure/Intrinsics
19
- make && make run
19
+ make && make run && make clean && make CC= ' icx -msse3 ' && make run
20
20
;;
21
21
fortran)
22
22
cd oneAPI-samples/DirectProgramming/Fortran/CombinationalLogic/openmp-primes
23
- make && make run
23
+ make && make run && make clean && make FC=ifx && make run
24
24
;;
25
25
dpc++)
26
26
# shellcheck disable=SC2010
Original file line number Diff line number Diff line change @@ -27,17 +27,24 @@ cd oneAPI-samples\DirectProgramming\C++\CompilerInfrastructure\Intrinsics
27
27
icl -O2 src\intrin_dot_sample.cpp
28
28
icl -O2 src\intrin_double_sample.cpp
29
29
icl -O2 src\intrin_ftz_sample.cpp
30
- intrin_dot_sample.exe
31
- intrin_double_sample.exe
32
- intrin_ftz_sample.exe
30
+ intrin_dot_sample.exe && intrin_double_sample.exe && intrin_ftz_sample.exe
33
31
set RESULT = %ERRORLEVEL%
32
+ del intrin_dot_sample.exe intrin_double_sample.exe intrin_ftz_sample.exe
33
+ icx -O2 -msse3 src\intrin_dot_sample.cpp
34
+ icx -O2 -msse3 src\intrin_double_sample.cpp
35
+ icx -O2 -msse3 src\intrin_ftz_sample.cpp
36
+ intrin_dot_sample.exe && intrin_double_sample.exe && intrin_ftz_sample.exe
37
+ set /a RESULT = %RESULT%+ %ERRORLEVEL%
34
38
goto exit
35
39
36
40
:fortran
37
41
cd oneAPI-samples\DirectProgramming\Fortran\CombinationalLogic\openmp-primes
38
42
ifort -O2 -fpp -qopenmp src\openmp_sample.f90
39
43
openmp_sample.exe
40
44
set RESULT = %ERRORLEVEL%
45
+ ifx -O2 -fpp -qopenmp src\openmp_sample.f90
46
+ openmp_sample.exe
47
+ set /a RESULT = %RESULT%+ %ERRORLEVEL%
41
48
goto exit
42
49
43
50
:dpcpp
You can’t perform that action at this time.
0 commit comments