Skip to content

Commit e07b931

Browse files
Merge remote-tracking branch 'intel_llvm/sycl' into fill
2 parents 35e59fb + cbcb756 commit e07b931

File tree

12,839 files changed

+825168
-431874
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,839 files changed

+825168
-431874
lines changed

.github/CODEOWNERS

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ sycl/ReleaseNotes.md @pvchupin @tfzhu
2626
sycl/doc/ @pvchupin @bader
2727
sycl/doc/extensions/ @intel/dpcpp-specification-reviewers
2828
sycl/doc/extensions/SPIRV/ @AlexeySotkin @bashbaug @mbelicki
29+
sycl/doc/dev @bader @vladimirlaz
2930

3031
# Sub-groups
3132
sycl/include/CL/sycl/detail/spirv.hpp @Pennycook @AlexeySachkov
@@ -34,15 +35,15 @@ sycl/include/sycl/ext/intel/sub_group.hpp @Pennycook @AlexeySachkov
3435
sycl/include/sycl/ext/intel/sub_group_host.hpp @Pennycook @AlexeySachkov
3536

3637
# PI API
37-
sycl/include/CL/sycl/detail/pi.def @smaslov-intel @againull
38-
sycl/include/CL/sycl/detail/pi.h @smaslov-intel @againull
39-
sycl/include/CL/sycl/detail/pi.hpp @smaslov-intel @againull
40-
sycl/include/CL/sycl/detail/pi* @smaslov-intel @againull
41-
sycl/plugins/ @smaslov-intel @againull
42-
sycl/source/detail/pi.cpp @smaslov-intel @againull
43-
sycl/source/detail/plugin.hpp @smaslov-intel @againull
44-
sycl/source/detail/posix_pi.cpp @smaslov-intel @againull
45-
sycl/source/detail/windows_pi.cpp @smaslov-intel @againull
38+
sycl/include/CL/sycl/detail/pi.def @smaslov-intel
39+
sycl/include/CL/sycl/detail/pi.h @smaslov-intel
40+
sycl/include/CL/sycl/detail/pi.hpp @smaslov-intel
41+
sycl/include/CL/sycl/detail/pi* @smaslov-intel
42+
sycl/plugins/ @smaslov-intel
43+
sycl/source/detail/pi.cpp @smaslov-intel
44+
sycl/source/detail/plugin.hpp @smaslov-intel
45+
sycl/source/detail/posix_pi.cpp @smaslov-intel
46+
sycl/source/detail/windows_pi.cpp @smaslov-intel
4647

4748
# ESIMD CPU emulator plug-in
4849
sycl/plugins/esimd_cpu/ @kbobrovs @smaslov-intel
@@ -108,3 +109,8 @@ sycl/doc/extensions/ExplicitSIMD/ @kbobrovs @v-klochkov @kychendev
108109
llvm/lib/Transforms/Instrumentation/SPIRITTAnnotations.cpp @MrSidims @vzakhari
109110
llvm/include/llvm/Transforms/Instrumentation/SPIRITTAnnotations.h @MrSidims @vzakhari
110111
llvm/test/Transforms/SPIRITTAnnotations/* @MrSidims @vzakhari
112+
113+
# Generic address space support for printf
114+
llvm/lib/SYCLLowerIR/MutatePrintfAddrspace.cpp @intel/dpcpp-tools-reviewers
115+
llvm/include/llvm/SYCLLowerIR/MutatePrintfAddrspace.h @intel/dpcpp-tools-reviewers
116+
llvm/test/SYCLLowerIR/printf_addrspace/* @intel/dpcpp-tools-reviewers

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.github/workflows/gh_pages.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ name: Generate Doxygen documentation
33
on:
44
schedule:
55
- cron: 0 1 * * *
6+
pull_request:
7+
branches:
8+
- sycl
9+
paths:
10+
- '.github/workflows/gh_pages.yml'
11+
- 'clang/docs/**'
12+
- 'sycl/doc/**'
613

714
jobs:
815
build:
@@ -11,12 +18,11 @@ jobs:
1118
steps:
1219
- uses: actions/checkout@v2
1320
with:
14-
ref: sycl
1521
path: repo
1622
- name: Install deps
1723
run: |
1824
sudo apt-get install -y doxygen graphviz ssh ninja-build
19-
sudo pip3 install 'sphinx==4.1.2' 'myst-parser==0.15.1'
25+
sudo pip3 install 'sphinx==4.1.2' 'myst-parser==0.15.1' 'recommonmark==0.7.1'
2026
- name: Build Docs
2127
run: |
2228
mkdir -p $GITHUB_WORKSPACE/build
@@ -28,6 +34,7 @@ jobs:
2834
cmake --build . --target docs-sycl-html
2935
cmake --build . --target docs-clang-html
3036
- name: Deploy
37+
if: ${{ github.event_name == 'schedule' }}
3138
env:
3239
SSH_KEY: ${{secrets.ACTIONS_DEPLOY_KEY}}
3340
run: |

.github/workflows/linux_post_commit.yml

Lines changed: 0 additions & 92 deletions
This file was deleted.

.github/workflows/llvm-bugs.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: LLVM Bugs notifier
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
8+
jobs:
9+
auto-subscribe:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: 14
15+
- run: npm install mailgun.js form-data
16+
- name: Send notification
17+
uses: actions/github-script@v5
18+
env:
19+
MAILGUN_API_KEY: ${{ secrets.LLVM_BUGS_KEY }}
20+
with:
21+
script: |
22+
const Mailgun = require("mailgun.js");
23+
const formData = require('form-data');
24+
const mailgun = new Mailgun(formData);
25+
26+
const DOMAIN = "email.llvm.org";
27+
28+
const mg = mailgun.client({username: 'api', key: process.env.MAILGUN_API_KEY});
29+
30+
github.rest.issues.get({
31+
issue_number: context.issue.number,
32+
owner: context.repo.owner,
33+
repo: context.repo.repo,
34+
})
35+
.then(function(issue) {
36+
const payload = {
37+
author : issue.data.user.login,
38+
issue : issue.data.number,
39+
title : issue.data.title,
40+
url : issue.data.html_url,
41+
labels : issue.data.labels.map(label => { return label.name }),
42+
assignee : issue.data.assignees.map(assignee => { return assignee.login }),
43+
body : issue.data.body
44+
};
45+
46+
const data = {
47+
from: "LLVM Bugs <llvm-bugs@email.llvm.org>",
48+
to: "llvm-bugs@lists.llvm.org",
49+
subject: `[Bug ${issue.data.number}] ${issue.data.title}`,
50+
template: "new-github-issue",
51+
'h:X-Mailgun-Variables': JSON.stringify(payload)
52+
};
53+
54+
return mg.messages.create(DOMAIN, data)
55+
})
56+
.then(msg => console.log(msg));

.github/workflows/new-issues.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Labeling new issues
2+
on:
3+
issues:
4+
types: ['opened']
5+
6+
jobs:
7+
automate-issues-labels:
8+
runs-on: ubuntu-latest
9+
if: github.repository == 'llvm/llvm-project'
10+
steps:
11+
- uses: andymckay/labeler@1.0.4
12+
with:
13+
add-labels: "new issue"
14+
ignore-if-labeled: true

.github/workflows/sycl_containers.yaml

Lines changed: 55 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ on:
44
schedule:
55
# Every 1st and 15th day of month
66
- cron: '0 0 1,15 * *'
7+
push:
8+
branches:
9+
- sycl
10+
paths:
11+
- 'devops/containers/**'
12+
pull_request:
13+
paths:
14+
- 'devops/containers/**'
715

816
jobs:
917
base_image_ubuntu2004:
@@ -14,19 +22,56 @@ jobs:
1422
- name: Checkout
1523
uses: actions/checkout@v2
1624
with:
17-
fetch-depth: 1
18-
- name: Login to GitHub Container Registry
19-
uses: docker/login-action@v1
25+
fetch-depth: 2
26+
- name: Build and Push Container
27+
uses: ./devops/actions/build_container
2028
with:
21-
registry: ghcr.io
29+
push: ${{ github.event_name != 'pull_request' }}
30+
file: ubuntu2004_base
2231
username: ${{ github.repository_owner }}
2332
password: ${{ secrets.GITHUB_TOKEN }}
24-
- name: Build and Push Container
25-
uses: docker/build-push-action@v2
26-
with:
27-
push: true
2833
tags: |
2934
ghcr.io/${{ github.repository }}/ubuntu2004_base:${{ github.sha }}
3035
ghcr.io/${{ github.repository }}/ubuntu2004_base:latest
31-
context: ${{ github.workspace }}/devops
32-
file: ${{ github.workspace }}/devops/containers/ubuntu2004_base.Dockerfile
36+
build_image_ubuntu2004:
37+
if: github.repository == 'intel/llvm'
38+
name: Build Ubuntu Docker image
39+
runs-on: ubuntu-latest
40+
steps:
41+
- name: Checkout
42+
uses: actions/checkout@v2
43+
with:
44+
fetch-depth: 2
45+
- name: Build and Push Container
46+
uses: ./devops/actions/build_container
47+
with:
48+
push: ${{ github.event_name != 'pull_request' }}
49+
file: ubuntu2004_build
50+
username: ${{ github.repository_owner }}
51+
password: ${{ secrets.GITHUB_TOKEN }}
52+
tags: |
53+
ghcr.io/${{ github.repository }}/ubuntu2004_build:${{ github.sha }}
54+
ghcr.io/${{ github.repository }}/ubuntu2004_build:latest
55+
# This job produces a Docker container with the latest versions of Intel
56+
# drivers, that can be found on GitHub.
57+
drivers_image_ubuntu2004:
58+
if: github.repository == 'intel/llvm'
59+
name: Intel Drivers Ubuntu 20.04 Docker image
60+
runs-on: ubuntu-latest
61+
needs: base_image_ubuntu2004
62+
steps:
63+
- name: Checkout
64+
uses: actions/checkout@v2
65+
with:
66+
fetch-depth: 2
67+
- name: Build and Push Container
68+
uses: ./devops/actions/build_container
69+
with:
70+
push: ${{ github.event_name != 'pull_request' }}
71+
file: ubuntu2004_intel_drivers
72+
username: ${{ github.repository_owner }}
73+
password: ${{ secrets.GITHUB_TOKEN }}
74+
tags: |
75+
ghcr.io/${{ github.repository }}/ubuntu2004_intel_drivers:latest-${{ github.sha }}
76+
ghcr.io/${{ github.repository }}/ubuntu2004_intel_drivers:latest
77+

0 commit comments

Comments
 (0)