Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Werror flag #751

Closed
wants to merge 358 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
358 commits
Select commit Hold shift + click to select a range
8ec4ff4
Update SDL Credential
XinyueLunaFan Apr 5, 2023
31eebef
Add BF16 GEMM test case (#62)
mshahneo Apr 7, 2023
547c393
Merge remote-tracking branch 'upstream/main' into main
Apr 8, 2023
8211f38
Enable CI on dist-ndarray CPU build
XinyueLunaFan Apr 12, 2023
c3fa4ff
Enable CI on dist-ndarray GPU build
XinyueLunaFan Apr 12, 2023
9a68a1f
Exclude unwanted folders from SDL scan
XinyueLunaFan Apr 14, 2023
b172bb6
Merge remote-tracking branch 'upstream/main' into main
Apr 14, 2023
445f5b8
Add requirements.txt file
Apr 14, 2023
d930761
Update requirements.txt
XinyueLunaFan Apr 14, 2023
08cf84c
Fix pre-commit issues for innersource only files. (#68)
silee2 Apr 17, 2023
bda2a0a
Merge remote-tracking branch 'upstream/main' into main
Apr 17, 2023
1c75fd6
Clear requirements.txt
XinyueLunaFan Apr 17, 2023
52a37ae
Update sdl.yml
XinyueLunaFan Apr 17, 2023
256e333
Merge remote-tracking branch 'upstream/main' into main
Apr 18, 2023
33db568
Merge remote-tracking branch 'upstream/main' into main
Apr 20, 2023
6c1679b
Update sdl.yml
XinyueLunaFan Apr 21, 2023
c8d6a24
Add set -o pipefail before using pipe for capturing test output. (#77)
silee2 Apr 21, 2023
e046b11
SDL Process - Remove Snyk and coverity exclude files command-line
drprajap Apr 21, 2023
6659a04
Merge remote-tracking branch 'upstream/main' into main
Apr 26, 2023
65ddb96
Fix incorrect level zero install path.
silee2 Jun 12, 2023
86fba46
Merge remote-tracking branch 'upstream/main'
silee2 Jun 13, 2023
459fb65
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Jun 21, 2023
c1f30d1
Simplify CPU and GPU CI
silee2 Jul 18, 2023
4c94ae0
Merge remote-tracking branch 'upstream/main'
silee2 Jul 19, 2023
48c1c6c
Merge remote-tracking branch 'upstream/main' into multiauthor
silee2 Jul 20, 2023
faea7ba
Create test.yml
drprajap Aug 3, 2023
e51794c
Update test.yml - trying different token
drprajap Aug 3, 2023
2715b30
Update test.yml
drprajap Aug 3, 2023
73ecd8f
Update test.yml
drprajap Aug 3, 2023
5ca16fd
Update sync.yml
drprajap Aug 3, 2023
c48f42a
Update test.yml - change to external dispatch repo
drprajap Aug 3, 2023
627031d
Fix typo.
silee2 Aug 7, 2023
38ffc8b
Merge remote-tracking branch 'upstream/main'
silee2 Aug 7, 2023
6570e6d
CI: Remove LLVM patches before checking out new commit id
silee2 Aug 8, 2023
9b67709
Update sync.yml
silee2 Aug 8, 2023
32b0cb9
sync.yml: Fix working dir issues
silee2 Aug 8, 2023
1f70ecf
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 8, 2023
973105d
Add alternative build_cpu using composite action
silee2 Aug 8, 2023
cefcff0
Checkout before using local actions
silee2 Aug 8, 2023
50b7c5a
Use secret token for checkout.
silee2 Aug 8, 2023
0ec4449
Fix path issues.
silee2 Aug 8, 2023
a2a1834
Fix path issue.
silee2 Aug 8, 2023
d29f1eb
Fix path issue.
silee2 Aug 8, 2023
8acd988
Fix path issue.
silee2 Aug 8, 2023
105de47
Fix path issue.
silee2 Aug 8, 2023
88076f8
Use inputs for action.yml
silee2 Aug 8, 2023
e439a33
action.yml: use shell, add input token
silee2 Aug 8, 2023
0289323
Limit build_cpu_v2.yml to main branch PRs
silee2 Aug 8, 2023
ff24597
Refactor build cpu composite action
silee2 Aug 8, 2023
aef6006
Use upload-artifact@v3
silee2 Aug 8, 2023
8054ed8
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 9, 2023
28c475a
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 9, 2023
4d83590
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 11, 2023
2b30545
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 22, 2023
ec07742
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 22, 2023
02babc4
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 22, 2023
e84db88
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 22, 2023
5f8cf61
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 22, 2023
fd5be4e
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Aug 22, 2023
3e76a2d
Merge remote-tracking branch 'upstream/main'
silee2 Aug 24, 2023
5bebf0a
Merge remote-tracking branch 'upstream/main'
silee2 Aug 29, 2023
2a68518
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Sep 1, 2023
2f0be01
remove temp workflow file (#154)
drprajap Sep 5, 2023
565e918
Add a JointMatrix test case and necessary patch
mshahneo Sep 5, 2023
5f923c3
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Sep 6, 2023
7985540
Update email in nightly_report.yml
drprajap Sep 6, 2023
cc437f8
Merge remote-tracking branch 'upstream/main'
silee2 Sep 21, 2023
085d6ab
Merge remote-tracking branch 'upstream/main'
silee2 Sep 21, 2023
4fcc79e
Merge remote-tracking branch 'upstream/main'
silee2 Sep 28, 2023
1f27549
Merge remote-tracking branch 'upstream/main'
silee2 Sep 29, 2023
60e1fa6
Merge remote-tracking branch 'upstream/main'
silee2 Oct 3, 2023
e23f38b
Merge remote-tracking branch 'upstream/main' into main
XinyueLunaFan Oct 20, 2023
96053ba
Merge remote-tracking branch 'upstream/main'
silee2 Nov 1, 2023
1c21dfe
Merge remote-tracking branch 'upstream/main'
silee2 Nov 1, 2023
197e037
Merge remote-tracking branch 'upstream/main'
charithaintc Nov 3, 2023
236ffa1
Merge remote-tracking branch 'upstream/main'
silee2 Nov 6, 2023
7d54212
Merge remote-tracking branch 'upstream/main'
charithaintc Nov 7, 2023
434adc1
Fix incorrect instruction for pushing PR to upstream.
silee2 Nov 7, 2023
971b616
Merge remote-tracking branch 'upstream/main'
silee2 Nov 7, 2023
aab67e1
Merge branch 'upstream' into origin-main
chencha3 Nov 8, 2023
15a6179
Update sdl.yml
nbpatel Nov 8, 2023
71ff0ba
Update sdl.yml
nbpatel Nov 9, 2023
de70412
Update sdl.yml
nbpatel Nov 9, 2023
7afed4f
Update sdl.yml
nbpatel Nov 9, 2023
5ba2c07
Update sdl.yml
nbpatel Nov 10, 2023
6a6196f
Update sdl.yml
nbpatel Nov 10, 2023
3061376
Merge remote-tracking branch 'upstream/main'
silee2 Nov 13, 2023
70b1d3e
Update sdl.yml
nbpatel Nov 13, 2023
f38a799
Disable redundant CPU and GPU CI for now.
silee2 Nov 13, 2023
f171a10
Merge remote-tracking branch 'upstream/main'
silee2 Nov 13, 2023
5a2b115
Merge remote-tracking branch 'upstream/main'
silee2 Nov 14, 2023
64d9ef0
Merge remote-tracking branch 'upstream/main'
silee2 Nov 15, 2023
27c83b1
Merge remote-tracking branch 'upstream/main'
silee2 Nov 15, 2023
596ab16
Merge remote-tracking branch 'upstream/main'
silee2 Nov 15, 2023
f0076b3
Merge remote-tracking branch 'upstream/main'
silee2 Nov 15, 2023
f3df445
Merge remote-tracking branch 'upstream/main'
silee2 Nov 16, 2023
43a9a12
Merge remote-tracking branch 'upstream/main'
silee2 Nov 16, 2023
4d8bb4e
Merge remote-tracking branch 'upstream/main'
silee2 Nov 16, 2023
47f0292
Merge remote-tracking branch 'upstream/main'
silee2 Nov 16, 2023
1ea5b73
Merge remote-tracking branch 'upstream/main'
silee2 Nov 17, 2023
f246bfd
Merge remote-tracking branch 'upstream/main'
silee2 Nov 17, 2023
d892450
Merge remote-tracking branch 'upstream/main'
silee2 Nov 17, 2023
2a945f0
Merge remote-tracking branch 'upstream/main'
charithaintc Nov 18, 2023
6e6467a
Merge remote-tracking branch 'upstream/main'
silee2 Nov 20, 2023
f7d25d2
Merge remote-tracking branch 'upstream/main'
silee2 Nov 20, 2023
a0a7b49
Merge remote-tracking branch 'upstream/main'
silee2 Nov 20, 2023
29af00c
Merge remote-tracking branch 'upstream/main'
silee2 Nov 21, 2023
2482e1d
Merge remote-tracking branch 'upstream/main'
silee2 Nov 21, 2023
93e990d
Merge remote-tracking branch 'upstream/main'
silee2 Nov 21, 2023
e472efc
Merge remote-tracking branch 'upstream/main'
silee2 Nov 21, 2023
74f5865
Merge remote-tracking branch 'upstream/main'
silee2 Nov 21, 2023
dccc735
Merge remote-tracking branch 'upstream/main'
silee2 Nov 21, 2023
c2e2ae0
Merge remote-tracking branch 'upstream/main'
silee2 Nov 21, 2023
525f01a
Merge remote-tracking branch 'upstream/main'
silee2 Nov 21, 2023
9600c9f
Merge remote-tracking branch 'upstream/main'
silee2 Nov 22, 2023
8ec1eb7
Merge remote-tracking branch 'upstream/main'
silee2 Dec 2, 2023
aeba091
Merge remote-tracking branch 'upstream/main'
silee2 Dec 5, 2023
8997fa0
Merge remote-tracking branch 'upstream/main'
charithaintc Dec 6, 2023
fa41da1
Merge remote-tracking branch 'upstream/main'
silee2 Dec 6, 2023
c4c926d
Merge remote-tracking branch 'upstream/main'
silee2 Dec 6, 2023
33622d0
Merge remote-tracking branch 'upstream/main'
silee2 Dec 13, 2023
81143fe
Merge remote-tracking branch 'upstream/main'
silee2 Dec 13, 2023
73e6388
Merge remote-tracking branch 'upstream/main'
charithaintc Dec 13, 2023
e0b53a8
Merge remote-tracking branch 'upstream/main'
charithaintc Dec 13, 2023
41cfb6f
Update github token in sync.yml
drprajap Dec 14, 2023
1c7abc6
update to original github token in sync.yml
drprajap Dec 14, 2023
5e98767
Merge remote-tracking branch 'upstream/main'
silee2 Dec 15, 2023
371debb
Merge remote-tracking branch 'upstream/main'
silee2 Dec 15, 2023
59837b2
Merge remote-tracking branch 'upstream/main'
silee2 Dec 15, 2023
a99d025
Merge remote-tracking branch 'upstream/main'
silee2 Dec 18, 2023
2874099
Merge remote-tracking branch 'upstream/main'
silee2 Dec 18, 2023
ee6a40b
Merge remote-tracking branch 'upstream/main'
silee2 Dec 18, 2023
fab3207
Added Dockerfile and scenario to create base image for kubernetes bas…
gshimansky Dec 19, 2023
5036f00
Merge remote-tracking branch 'upstream/main'
silee2 Dec 20, 2023
28f8768
Merge remote-tracking branch 'upstream/main'
silee2 Dec 20, 2023
352fa5d
Merge remote-tracking branch 'upstream/main'
silee2 Dec 20, 2023
1914c07
Merge remote-tracking branch 'upstream/main'
drprajap Jan 4, 2024
110a5cf
Updated build_gpu workflow to run on glados runner (some tests fail) …
gshimansky Jan 4, 2024
7fc33a7
Merge remote-tracking branch 'upstream/main'
charithaintc Jan 4, 2024
fe4cbb3
[CI workflow] Do not use sudo in Dockerfile (#278)
pbchekin Jan 5, 2024
b883e4a
Update nightly_report.yml
drprajap Jan 5, 2024
e7f7c44
Update sync.yml
drprajap Jan 5, 2024
848d674
Merge remote-tracking branch 'upstream/main'
silee2 Jan 9, 2024
912926f
Merge remote-tracking branch 'upstream/main'
chencha3 Jan 9, 2024
1322414
Merge remote-tracking branch 'upstream/main'
silee2 Jan 10, 2024
0907ffe
Merge remote-tracking branch 'upstream/main'
silee2 Jan 16, 2024
c558411
Merge remote-tracking branch 'upstream/main'
charithaintc Jan 18, 2024
b8054cb
Merge remote-tracking branch 'upstream/main'
silee2 Jan 18, 2024
000f65c
Merge remote-tracking branch 'upstream/main'
charithaintc Jan 19, 2024
ee096b4
Merge remote-tracking branch 'upstream/main'
silee2 Jan 22, 2024
0dac7b2
Fixed nightly CI scenario and switched it to using github actions reu…
gshimansky Jan 22, 2024
210ca6f
Merge remote-tracking branch 'upstream/main'
silee2 Jan 25, 2024
207d79a
Merge remote-tracking branch 'upstream/main'
silee2 Jan 31, 2024
4cdd87f
Merge remote-tracking branch 'upstream/main'
silee2 Feb 1, 2024
2b4ddf1
Merge remote-tracking branch 'upstream/main'
charithaintc Feb 5, 2024
bf64adf
Merge remote-tracking branch 'upstream/main'
silee2 Feb 6, 2024
630ebe4
Merge remote-tracking branch 'upstream/main'
silee2 Feb 6, 2024
d50d0a6
Added Dockerfile for runner image with installed FS simulator and wor…
gshimansky Feb 12, 2024
4a03225
Added workflow to run GPU tests on FS simulator (#349)
gshimansky Feb 13, 2024
734023b
Merge remote-tracking branch 'upstream/main'
silee2 Feb 14, 2024
cc9d1ef
Merge remote-tracking branch 'upstream/main'
silee2 Feb 14, 2024
9a6ca65
Merge remote-tracking branch 'upstream/main'
silee2 Feb 14, 2024
cb5b198
Merge remote-tracking branch 'upstream/main'
silee2 Feb 14, 2024
28454e7
Merge remote-tracking branch 'upstream/main'
charithaintc Feb 15, 2024
5f4feea
Implemented CI workflow to run GPU tests on FS simulator (#352)
gshimansky Feb 15, 2024
cf80bbf
compilier warnings
fschlimb Feb 15, 2024
b8138e0
Revert "compilier warnings"
fschlimb Feb 15, 2024
68462ce
Merge remote-tracking branch 'upstream/main'
silee2 Feb 20, 2024
eb68f1d
Merge remote-tracking branch 'upstream/main'
silee2 Feb 20, 2024
a192dbd
Add uArch interface for supported HW configs
drprajap Feb 23, 2024
1941ede
Fix typo in build.yml (#683)
Garra1980 Feb 24, 2024
331d785
Merge remote-tracking branch 'origin/main'
Hardcode84 Mar 1, 2024
712eaf2
Merge remote-tracking branch 'origin/main'
chencha3 Mar 4, 2024
11facc5
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 5, 2024
f7f970d
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 5, 2024
da25229
Merge remote-tracking branch 'origin/main'
Hardcode84 Mar 7, 2024
96ef2b3
Merge remote-tracking branch 'upstream/main'
Garra1980 Mar 12, 2024
c97fe8b
Add git identity (#377)
leshikus Mar 12, 2024
294c6a8
Merge remote-tracking branch 'upstream/main'
leshikus Mar 13, 2024
1f721e6
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 15, 2024
325326d
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 18, 2024
023aa06
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 19, 2024
65bf801
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 21, 2024
1e922fd
Merge remote-tracking branch 'origin/main'
Hardcode84 Mar 25, 2024
217f62c
Enabling of PVC tests (#391)
leshikus Mar 25, 2024
2a019b3
Switch from /graphics to /gpu Intel repositories to install libraries…
gshimansky Mar 25, 2024
0a1fc47
Merge remote-tracking branch 'upstream/main'
Garra1980 Mar 25, 2024
8cb380a
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 25, 2024
0f5728c
Updated FS simulator 6.8.0-rc6-0.4.0 (#395)
gshimansky Mar 26, 2024
4a78ea9
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 27, 2024
036918c
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 27, 2024
88ceddf
Merge remote-tracking branch 'upstream/main'
charithaintc Mar 27, 2024
a182f08
Merge remote-tracking branch 'origin/main'
Hardcode84 Mar 28, 2024
293c3ee
Add FS simulator workflow to execute on every PR (#397)
gshimansky Mar 30, 2024
f9982e1
Merge remote-tracking branch 'upstream/main'
leshikus Apr 1, 2024
d51133c
Merge remote-tracking branch 'upstream/main'
leshikus Apr 2, 2024
ce1c66b
Merge remote-tracking branch 'upstream/main'
charithaintc Apr 4, 2024
7137dbb
Merge remote-tracking branch 'origin/main'
Hardcode84 Apr 10, 2024
c2baa0f
Added restrictions for parallel tests execution (#411)
gshimansky Apr 10, 2024
43bcbfc
Add test verbosity (#409)
leshikus Apr 11, 2024
3d9f15c
Adding pvc target to CI (#415)
Garra1980 Apr 12, 2024
57afc6a
Merge remote-tracking branch 'upstream/main'
leshikus Apr 12, 2024
88432f1
Update sdl.yml
nbpatel Apr 14, 2024
d111939
Merge branch 'upstream-main' into origin-main
chencha3 Apr 15, 2024
a320c6e
Merge remote-tracking branch 'upstream/main'
charithaintc Apr 15, 2024
7be3da8
Merge remote-tracking branch 'upstream/main'
leshikus Apr 16, 2024
255c28e
Merge remote-tracking branch 'upstream/main'
leshikus Apr 16, 2024
9774b1c
Update sdl.yml
nbpatel Apr 17, 2024
8491a77
Merge remote-tracking branch 'upstream/main'
drprajap Apr 17, 2024
e753c25
Merge remote-tracking branch 'upstream/main'.
akroviakov Apr 17, 2024
a4d6227
Merge remote-tracking branch 'upstream/main'.
chencha3 Apr 18, 2024
97e3c9f
Merge remote-tracking branch 'upstream/main'
nbpatel Apr 18, 2024
8126e3a
Merge remote-tracking branch 'upstream/main'
drprajap Apr 18, 2024
fbd4726
Change for Bandit scans (#424)
Garra1980 Apr 19, 2024
df98da6
Merge remote-tracking branch 'upstream/main'
akroviakov Apr 19, 2024
b819852
Merge remote-tracking branch 'upstream/main'
leshikus Apr 23, 2024
11d6cbc
Merge remote-tracking branch 'upstream/main'
chencha3 Apr 23, 2024
78a8dc9
restrict gemm_4k_simple_prefetch test for PVC only (#422)
Garra1980 Apr 24, 2024
db94d80
add lit restrictions to cpu builds also
Garra1980 Apr 24, 2024
21dafee
Remove timeout for lit tests
Garra1980 Apr 24, 2024
a7340be
Add launching sg-level xetile generated tests (#431)
Garra1980 Apr 25, 2024
48d6723
Move CPU CI launches on the runner without PVC (#432)
Garra1980 Apr 26, 2024
fef3160
Add check for order attribute in Xetile.init_tile verifier (#730)
nbpatel Apr 26, 2024
ba30be7
Merge remote-tracking branch 'upstream/main'
leshikus Apr 27, 2024
9539371
Merge remote-tracking branch 'upstream/main'
mshahneo May 1, 2024
0b3015c
Merge remote-tracking branch 'upstream/main'
chencha3 May 3, 2024
9ea13c2
Merge remote-tracking branch 'upstream/main'
chencha3 May 4, 2024
e7cf799
Merge remote-tracking branch 'upstream/main'
drprajap May 6, 2024
c8dde7a
Merge remote-tracking branch 'upstream/main'
chencha3 May 7, 2024
7ba1967
Merge remote-tracking branch 'upstream/main'
chencha3 May 8, 2024
0a60ab8
Merge remote-tracking branch 'upstream/main'
leshikus May 9, 2024
5143307
Merge remote-tracking branch 'upstream/main'
leshikus May 11, 2024
37bbb85
Merge remote-tracking branch 'upstream/main'
leshikus May 14, 2024
b5c54a7
Merge remote-tracking branch 'upstream/main'
leshikus May 14, 2024
340db8c
Merge remote-tracking branch 'origin/main'
Hardcode84 May 14, 2024
28ad415
Merge remote-tracking branch 'upstream/main'
leshikus May 14, 2024
67d03d5
Merge remote-tracking branch 'upstream/main'
chencha3 May 15, 2024
ca6b57e
Merge remote-tracking branch 'origin/main'
Hardcode84 May 17, 2024
7eb0074
Merge remote-tracking branch 'upstream/main'
leshikus May 18, 2024
2f27666
add werror flag
Garra1980 May 8, 2024
1d270b9
add some exceptions
Garra1980 May 8, 2024
7ba57e6
more cleanup
Garra1980 May 8, 2024
7bab651
Update CMakeLists.txt
Garra1980 May 8, 2024
acd52e1
Update CMakeLists.txt
Garra1980 May 8, 2024
f05cd1d
Update Utils.h
Garra1980 May 8, 2024
006eada
Update CMakeLists.txt
Garra1980 May 8, 2024
c58cca0
Update CMakeLists.txt
Garra1980 May 8, 2024
ccbff57
Virtual destructors and unused private vars
Garra1980 May 9, 2024
7513676
More werror cleanup
Garra1980 May 9, 2024
f5c71fc
More cleanup to satisfy clang werror rules
Garra1980 May 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# platform: linux-64
77 changes: 77 additions & 0 deletions .github/workflows/bisect.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: bisect

on:
workflow_dispatch:
inputs:
last_good_commit:
description: 'Last known good commit'
required: true
# ! CHANGE
default: 'a1c8eab588fb7c8c38175cbebdeff75334d70f5d'
first_bad_commit:
description: 'First known bad commit, default HEAD'
required: false
default: 'HEAD'

jobs:
build:
if: github.repository == 'intel-innersource/frameworks.ai.mlir.mlir-extensions'
runs-on: gpu
timeout-minutes: 450

env:
TBB_VER: 2021.6.0
LEVEL_ZERO_VER: v1.6.2
HOME_DIR: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/gpurefactorbuild
HOME: /github/home
TBB_URL_PREFIX: https://github.com/oneapi-src/oneTBB/releases/download/
LLVM_SHA_FILE: llvm_version.txt

steps:
- name: Source Vars
run: |
mkdir -p $HOME_DIR
cd $HOME_DIR
rm -rf *
source /opt/intel/oneapi/compiler/latest/env/vars.sh
- uses: actions/checkout@v3
with:
repository: intel-innersource/frameworks.ai.mlir.mlir-extensions
token: ${{secrets.WORKFLOW_TOKEN}}
fetch-depth: 0
path: ${{env.HOME_DIR}}/mlir-extensions

- name: Setup Latest Level Zero
shell: bash -l {0}
run: |
cd $HOME_DIR
git clone https://github.com/oneapi-src/level-zero.git
cd level-zero
git checkout $LEVEL_ZERO_VER
cd ..
mkdir level-zero-build
cd level-zero-build
cmake ../level-zero -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../level-zero-install
ninja install

- name: Build LLVM MLIR
run: |
mkdir -p $HOME_DIR/llvm-mlir
# omitted for bisect

- name: Setup IMEX
run: |
cd $HOME_DIR
cp /home/gta/actions-runner/refactor_gpu_bisect_script.sh .
cd mlir-extensions
git bisect start
git bisect bad
git bisect good ${{ github.event.inputs.last_good_commit }}
git bisect run ../refactor_gpu_bisect_script.sh 2>&1 | tee output.out
cat output.out | grep -A 10 "first bad commit" > badcommit.log

- name: Upload the bad commit
uses: actions/[email protected]
with:
name: bisect-results
path: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/gpurefactorbuild/mlir-extensions/badcommit.log
40 changes: 40 additions & 0 deletions .github/workflows/build-cpu-composite-action/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: "CPU Build composite action"
description: "Checks out repo, build and run cpu tests"
inputs:
build_root: # id of input
description: 'build_root'
required: false
default: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/build_cpu
home_dir: # id of input
description: 'home_dir'
required: false
default: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/build_cpu/home
runs:
using: "composite"
steps:
- name: Checkout MLIR
shell: bash
run: |
cd ${{ inputs.build_root }}
if [ ! -d "llvm-project" ]; then git clone https://github.com/llvm/llvm-project; fi
cd ${{ inputs.build_root }}/llvm-project
git reset --hard HEAD
export LLVM_SHA=`cat ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/build_tools/llvm_version.txt`
git fetch --prune
git checkout $LLVM_SHA || exit 1
if [ -d "${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/build_tools/patches" ]; then git apply ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/build_tools/patches/*.patch; fi

- name: Setup IMEX and run tests
shell: bash
run: |
cd ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions || exit 1
cmake -S ${{ inputs.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
set -o pipefail
cmake --build build --target check-imex | tee build/tests.txt

- name: Upload tests.txt
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: tests.txt
path: ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/build/tests.txt
67 changes: 67 additions & 0 deletions .github/workflows/build-gpu-composite-action/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: "GPU Build composite action"
description: "Checks out repo, build and run gpu tests"
inputs:
build_root: # id of input
description: 'build_root'
required: false
default: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/build_gpu
home_dir: # id of input
description: 'home_dir'
required: false
default: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/build_gpu/home
level_zero_ver: # id of input
description: 'level_zero_ver'
required: false
default: 'v1.8.1'
runs:
using: "composite"
steps:
- name: Setup Level Zero
shell: bash -l {0}
run: |
cd ${{ inputs.home_dir }}
git clone https://github.com/oneapi-src/level-zero.git
cd level-zero
git checkout ${{ inputs.level_zero_ver }}
cmake -S . -B build -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../level-zero-install
cmake --build build --target install

- name: Checkout MLIR
shell: bash
run: |
cd ${{ inputs.build_root }}
if [ ! -d "llvm-project" ]; then git clone https://github.com/llvm/llvm-project; fi
cd ${{ inputs.build_root }}/llvm-project
git reset --hard HEAD
export LLVM_SHA=`cat ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/build_tools/llvm_version.txt`
git fetch --prune
git checkout $LLVM_SHA || exit 1
if [ -d "${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/build_tools/patches" ]; then git apply ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/build_tools/patches/*.patch; fi

- name: Setup IMEX and run tests
shell: bash
run: |
source /opt/intel/oneapi/setvars.sh
cd ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions
cmake -S ${{ inputs.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=${{ inputs.home_dir }}/level-zero-install/ || exit
set -o pipefail
cmake --build build --target check-imex | tee build/tests.txt

#- name: Run perf script
# shell: bash
# run: |
# cd ${{ inputs.home_dir }}/mlir-extensions/scripts
# ./run_perf_test.sh

- name: Upload tests.txt
if: ${{ always() }}
uses: actions/upload-artifact@v3
with:
name: tests.txt
path: ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/build/tests.txt

#- name: Upload report.txt
# uses: actions/upload-artifact@v3
#with:
#name: report.txt
#path: ${{ inputs.home_dir }}/frameworks.ai.mlir.mlir-extensions/scripts/report.txt
69 changes: 69 additions & 0 deletions .github/workflows/build_cpu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: CPU Build

on:
pull_request:
branches:
- main
- upstream
- 'dist-ndarray'
workflow_dispatch:
workflow_call:

jobs:
build:
if: github.repository == 'intel-innersource/frameworks.ai.mlir.mlir-extensions'
runs-on: [self-hosted, icx, glados]
timeout-minutes: 450

env:
BUILD_ROOT: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/build_cpu
HOME_DIR: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/build_cpu/home
HOME: /github/home
LLVM_SHA_FILE: llvm_version.txt

steps:
- name: Check build root
run: |
export BUILD_ROOT=$(pwd)/build_cpu
echo BUILD_ROOT=${BUILD_ROOT} >> $GITHUB_ENV
export HOME_DIR=${BUILD_ROOT}/home
echo HOME_DIR=${HOME_DIR} >> $GITHUB_ENV
if [ ! -d "$BUILD_ROOT" ]; then mkdir -p $BUILD_ROOT; fi

- name: Clear home dir
run: |
mkdir -p $HOME_DIR
cd $HOME_DIR
rm -rf *

- uses: actions/checkout@v4
with:
repository: intel-innersource/frameworks.ai.mlir.mlir-extensions
token: ${{secrets.WORKFLOW_TOKEN}}
fetch-depth: 0
path: ${{env.HOME_DIR}}/frameworks.ai.mlir.mlir-extensions

- name: Checkout MLIR
run: |
cd $BUILD_ROOT
if [ ! -d "llvm-project" ]; then git clone https://github.com/llvm/llvm-project; fi
cd $BUILD_ROOT/llvm-project
git reset --hard HEAD
export LLVM_SHA=`cat $HOME_DIR/frameworks.ai.mlir.mlir-extensions/build_tools/llvm_version.txt`
git fetch --prune
git checkout $LLVM_SHA || exit 1
if [ -d "$HOME_DIR/frameworks.ai.mlir.mlir-extensions/build_tools/patches" ]; then git apply $HOME_DIR/frameworks.ai.mlir.mlir-extensions/build_tools/patches/*.patch; fi

- name: Setup IMEX and run tests
run: |
cd $HOME_DIR/frameworks.ai.mlir.mlir-extensions
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 -j 4"
set -o pipefail
cmake --build build --target check-imex | tee build/tests.txt

- name: Upload tests.txt
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: tests_cpu.txt
path: ${{env.HOME_DIR}}/frameworks.ai.mlir.mlir-extensions/build/tests.txt
38 changes: 38 additions & 0 deletions .github/workflows/build_cpu_v2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "CPU Build with composite action"

on:
pull_request:
branches:
- dummy
workflow_dispatch:

jobs:
build:
if: github.repository == 'intel-innersource/frameworks.ai.mlir.mlir-extensions'
runs-on: cpu1
timeout-minutes: 450

env:
BUILD_ROOT: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/build_cpu
HOME: /home/gta/actions-runner/_work/frameworks.ai.mlir.mlir-extensions/frameworks.ai.mlir.mlir-extensions/build_cpu/home

steps:
- name: Check build root
run: |
if [ ! -d "$BUILD_ROOT" ]; then mkdir -p $BUILD_ROOT; fi

- name: Clear home dir
run: |
mkdir -p $HOME
cd $HOME
rm -rf *

- uses: actions/checkout@v3
with:
token: ${{secrets.WORKFLOW_TOKEN}}
fetch-depth: 0
path: ${{env.HOME}}/frameworks.ai.mlir.mlir-extensions
- uses: ./build_cpu/home/frameworks.ai.mlir.mlir-extensions/.github/workflows/build-cpu-composite-action
with:
build_root: ${{env.BUILD_ROOT}}
home_dir: ${{env.HOME}}
Loading
Loading