Skip to content

Commit ddde72a

Browse files
Merge branch 'sycl' into kernel-arg-runtime-aligned
2 parents a67543b + 7ae7ca8 commit ddde72a

File tree

5,773 files changed

+368593
-274796
lines changed

Some content is hidden

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

5,773 files changed

+368593
-274796
lines changed

.github/CODEOWNERS

Lines changed: 22 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,110 +1,54 @@
11
* @bader
22

33
# Front-end compiler
4-
clang/ @premanandrao @elizabethandrews @smanna12
4+
clang/ @intel/dpcpp-cfe-reviewers
55

6-
# Driver
7-
clang/**/Driver @mdtoguchi @AGindinson @hchilama
6+
# Clang driver
7+
clang/**/Driver/ @intel/dpcpp-clang-driver-reviewers
88

99
# LLVM-SPIRV translator
10-
llvm-spirv/ @AlexeySotkin @AlexeySachkov
10+
llvm-spirv/ @intel/dpcpp-spirv-reviewers
1111

1212
# OpenCL deps
13-
opencl/ @pvchupin @vladimirlaz
13+
opencl/ @intel/llvm-reviewers-runtime
1414

1515
# OpenCL "offline" compiler
16-
opencl/opencl-aot/ @dm-vodopyanov @AlexeySachkov @romanovvlad
16+
opencl/opencl-aot/ @intel/dpcpp-tools-reviewers
1717

1818
# Device library
19-
libdevice/ @vzakhari @jinge90
19+
libdevice/ @intel/llvm-reviewers-runtime
2020

2121
# DPC++ runtime library
2222
sycl/ @intel/llvm-reviewers-runtime
2323

2424
# Documentation
25-
sycl/ReleaseNotes.md @pvchupin @tfzhu
26-
sycl/doc/ @pvchupin @bader
25+
sycl/ReleaseNotes.md @intel/dpcpp-doc-reviewers
26+
sycl/doc/ @intel/dpcpp-doc-reviewers
27+
sycl/doc/design/ @intel/dpcpp-specification-reviewers
2728
sycl/doc/extensions/ @intel/dpcpp-specification-reviewers
28-
sycl/doc/extensions/SPIRV/ @AlexeySotkin @bashbaug @mbelicki
29+
sycl/doc/extensions/SPIRV/ @intel/dpcpp-spirv-doc-reviewers
2930

30-
# Sub-groups
31-
sycl/include/CL/sycl/detail/spirv.hpp @Pennycook @AlexeySachkov
32-
sycl/include/sycl/ext/intel/group_algorithm.hpp @Pennycook @AlexeySachkov
33-
sycl/include/sycl/ext/intel/sub_group.hpp @Pennycook @AlexeySachkov
34-
sycl/include/sycl/ext/intel/sub_group_host.hpp @Pennycook @AlexeySachkov
35-
36-
# PI API
37-
sycl/include/CL/sycl/detail/pi.def @smaslov-intel
38-
sycl/include/CL/sycl/detail/pi.h @smaslov-intel
39-
sycl/include/CL/sycl/detail/pi.hpp @smaslov-intel
40-
sycl/include/CL/sycl/detail/pi* @smaslov-intel
41-
sycl/plugins/ @smaslov-intel
42-
sycl/source/detail/pi.cpp @smaslov-intel
43-
sycl/source/detail/plugin.hpp @smaslov-intel
44-
sycl/source/detail/posix_pi.cpp @smaslov-intel
45-
sycl/source/detail/windows_pi.cpp @smaslov-intel
31+
# Level Zero plugin
32+
sycl/plugins/level_zero/ @intel/dpcpp-l0-pi-reviewers
4633

4734
# ESIMD CPU emulator plug-in
48-
sycl/plugins/esimd_cpu/ @kbobrovs @smaslov-intel
35+
sycl/plugins/esimd_cpu/ @intel/dpcpp-esimd-reviewers
4936

5037
# CUDA plugin
5138
sycl/plugins/cuda/ @intel/llvm-reviewers-cuda
5239

53-
# Stream
54-
sycl/include/CL/sycl/detail/stream_impl.hpp @againull
55-
sycl/include/CL/sycl/stream.hpp @againull
56-
sycl/source/detail/stream_impl.cpp @againull
57-
sycl/source/stream.cpp @againull
58-
59-
# FPGA extensions
60-
sycl/include/sycl/ext/intel/fpga_device_selector.hpp @MrSidims
61-
sycl/include/sycl/ext/intel/fpga_extensions.hpp @MrSidims
62-
sycl/include/sycl/ext/intel/fpga_reg.hpp @MrSidims
63-
sycl/include/sycl/ext/intel/pipes.hpp @MrSidims
64-
sycl/include/CL/sycl/pipes.hpp @MrSidims
65-
66-
# Reduction extension
67-
sycl/include/sycl/ext/intel/reduction.hpp @v-klochkov
68-
69-
# Function pointers
70-
sycl/include/sycl/ext/intel/function_pointer.hpp @AlexeySachkov
71-
sycl/source/function_pointer.cpp @AlexeySachkov
72-
73-
# Half Type
74-
sycl/include/CL/sycl/half_type.hpp @AlexeySachkov
75-
sycl/source/half_type.cpp @AlexeySachkov
76-
7740
# XPTI instrumentation utilities
78-
xpti/ @tovinkere @andykaylor @alexbatashev
79-
xptifw/ @tovinkere @andykaylor @alexbatashev
41+
xpti/ @intel/llvm-reviewers-runtime
42+
xptifw/ @intel/llvm-reviewers-runtime
8043

8144
# DPC++ tools
82-
llvm/**/append-file/ @mdtoguchi @AGindinson
83-
llvm/**/file-table-tform/ @mlychkov @AlexeySachkov @kbobrovs
84-
llvm/**/llvm-foreach/ @AlexeySachkov @Fznamznon
85-
llvm/**/llvm-no-spir-kernel/ @AGindinson @AlexeySachkov
86-
llvm/**/sycl-post-link/ @mlychkov @AlexeySachkov @kbobrovs
87-
llvm/include/llvm/Support/PropertySetIO.h @mlychkov @AlexeySachkov @kbobrovs
88-
llvm/lib/Support/PropertySetIO.cpp @mlychkov @AlexeySachkov @kbobrovs
89-
llvm/unittests/Support/PropertySetIOTest.cpp @mlychkov @AlexeySachkov @kbobrovs
90-
llvm/include/llvm/Support/SimpleTable.h @mlychkov @AlexeySachkov @kbobrovs
91-
llvm/lib/Support/SimpleTable.cpp @mlychkov @AlexeySachkov @kbobrovs
92-
llvm/unittests/Support/SimpleTableTest.cpp @mlychkov @AlexeySachkov @kbobrovs
93-
llvm/lib/Support/Base64.cpp @mlychkov @AlexeySachkov @kbobrovs
45+
llvm/ @intel/dpcpp-tools-reviewers
9446

9547
# Clang offload tools
96-
clang/tools/clang-offload-bundler/ @mlychkov @sndmitriev @AlexeySachkov
97-
clang/tools/clang-offload-wrapper/ @mlychkov @sndmitriev @AlexeySachkov @kbobrovs
98-
clang/tools/clang-offload-deps/ @sndmitriev @mlychkov @AlexeySachkov
99-
clang/tools/clang-offload-extract/ @sndmitriev @mlychkov @AlexeySachkov
48+
clang/tools/clang-offload-*/ @intel/dpcpp-tools-reviewers
10049

10150
# Explicit SIMD
102-
SYCLLowerIR/ @kbobrovs @sndmitriev @kychendev @v-klochkov
103-
esimd/ @kbobrovs @v-klochkov @kychendev
104-
sycl/include/sycl/ext/intel/experimental/esimd.hpp @kbobrovs @v-klochkov @kychendev
105-
sycl/doc/extensions/ExplicitSIMD/ @kbobrovs @v-klochkov @kychendev
106-
107-
# ITT annotations
108-
llvm/lib/Transforms/Instrumentation/SPIRITTAnnotations.cpp @MrSidims @vzakhari
109-
llvm/include/llvm/Transforms/Instrumentation/SPIRITTAnnotations.h @MrSidims @vzakhari
110-
llvm/test/Transforms/SPIRITTAnnotations/* @MrSidims @vzakhari
51+
SYCLLowerIR/ @intel/dpcpp-esimd-reviewers
52+
esimd/ @intel/dpcpp-esimd-reviewers
53+
sycl/include/sycl/ext/intel/experimental/esimd.hpp @intel/dpcpp-esimd-reviewers
54+
sycl/doc/extensions/ExplicitSIMD/ @intel/dpcpp-esimd-reviewers

.github/ISSUE_TEMPLATE.md

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

.github/ISSUE_TEMPLATE/config.yml

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

.github/ISSUE_TEMPLATE/do-not-file-an-issue.md

Lines changed: 0 additions & 14 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/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 <[email protected]>",
48+
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/[email protected]
12+
with:
13+
add-labels: "new issue"
14+
ignore-if-labeled: true

.github/workflows/sycl_containers.yaml

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- sycl
1010
paths:
1111
- 'devops/containers/**'
12+
pull_request:
13+
paths:
14+
- 'devops/containers/**'
1215

1316
jobs:
1417
base_image_ubuntu2004:
@@ -20,21 +23,16 @@ jobs:
2023
uses: actions/checkout@v2
2124
with:
2225
fetch-depth: 2
23-
- name: Login to GitHub Container Registry
24-
uses: docker/login-action@v1
26+
- name: Build and Push Container
27+
uses: ./devops/actions/build_container
2528
with:
26-
registry: ghcr.io
29+
push: ${{ github.event_name != 'pull_request' }}
30+
file: ubuntu2004_base
2731
username: ${{ github.repository_owner }}
2832
password: ${{ secrets.GITHUB_TOKEN }}
29-
- name: Build and Push Container
30-
uses: docker/build-push-action@v2
31-
with:
32-
push: true
3333
tags: |
3434
ghcr.io/${{ github.repository }}/ubuntu2004_base:${{ github.sha }}
3535
ghcr.io/${{ github.repository }}/ubuntu2004_base:latest
36-
context: ${{ github.workspace }}/devops
37-
file: ${{ github.workspace }}/devops/containers/ubuntu2004_base.Dockerfile
3836
build_image_ubuntu2004:
3937
if: github.repository == 'intel/llvm'
4038
name: Build Ubuntu Docker image
@@ -44,44 +42,36 @@ jobs:
4442
uses: actions/checkout@v2
4543
with:
4644
fetch-depth: 2
47-
- name: Login to GitHub Container Registry
48-
uses: docker/login-action@v1
45+
- name: Build and Push Container
46+
uses: ./devops/actions/build_container
4947
with:
50-
registry: ghcr.io
48+
push: ${{ github.event_name != 'pull_request' }}
49+
file: ubuntu2004_build
5150
username: ${{ github.repository_owner }}
5251
password: ${{ secrets.GITHUB_TOKEN }}
53-
- name: Build and Push Container
54-
uses: docker/build-push-action@v2
55-
with:
56-
push: true
5752
tags: |
5853
ghcr.io/${{ github.repository }}/ubuntu2004_build:${{ github.sha }}
5954
ghcr.io/${{ github.repository }}/ubuntu2004_build:latest
60-
context: ${{ github.workspace }}/devops
61-
file: ${{ github.workspace }}/devops/containers/ubuntu2004_build.Dockerfile
6255
# This job produces a Docker container with the latest versions of Intel
6356
# drivers, that can be found on GitHub.
6457
drivers_image_ubuntu2004:
6558
if: github.repository == 'intel/llvm'
6659
name: Intel Drivers Ubuntu 20.04 Docker image
6760
runs-on: ubuntu-latest
61+
needs: base_image_ubuntu2004
6862
steps:
6963
- name: Checkout
7064
uses: actions/checkout@v2
7165
with:
7266
fetch-depth: 2
73-
- name: Login to GitHub Container Registry
74-
uses: docker/login-action@v1
67+
- name: Build and Push Container
68+
uses: ./devops/actions/build_container
7569
with:
76-
registry: ghcr.io
70+
push: ${{ github.event_name != 'pull_request' }}
71+
file: ubuntu2004_intel_drivers
7772
username: ${{ github.repository_owner }}
7873
password: ${{ secrets.GITHUB_TOKEN }}
79-
- name: Build and Push Container
80-
uses: docker/build-push-action@v2
81-
with:
82-
push: true
8374
tags: |
8475
ghcr.io/${{ github.repository }}/ubuntu2004_intel_drivers:latest-${{ github.sha }}
8576
ghcr.io/${{ github.repository }}/ubuntu2004_intel_drivers:latest
86-
context: ${{ github.workspace }}/devops
87-
file: ${{ github.workspace }}/devops/containers/ubuntu2004_intel_drivers.Dockerfile
77+

0 commit comments

Comments
 (0)