Skip to content

Commit 354e5b6

Browse files
committed
Format CI configs for the C++SYCL samples.
Reformat json and add id for some of the tests
1 parent e513bb3 commit 354e5b6

File tree

70 files changed

+3463
-2009
lines changed

Some content is hidden

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

70 files changed

+3463
-2009
lines changed
Lines changed: 53 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,54 @@
11
{
2-
"guid": "8572B85D-0B32-40B1-8112-538F480C8660",
3-
"name": "Mandelbrot",
4-
"categories": ["Toolkit/oneAPI Direct Programming/C++SYCL/Combinational Logic", "Toolkit/oneAPI Tools/Advisor"],
5-
"description": "The Mandelbrot Set - a fractal example in mathematics",
6-
"toolchain": [ "dpcpp" ],
7-
"languages": [ { "cpp": {} } ],
8-
"targetDevice": [ "CPU", "GPU" ],
9-
"os": [ "linux", "windows" ],
10-
"builder": [ "ide", "cmake" ],
11-
"ciTests": {
12-
"linux": [{
13-
"steps": [
14-
"mkdir build",
15-
"cd build",
16-
"cmake ..",
17-
"make",
18-
"make run"
19-
]
20-
}],
21-
"windows": [{
22-
"steps": [
23-
"MSBuild mandelbrot.sln /t:Rebuild /p:Configuration=Release",
24-
"cd x64\\Release",
25-
"mandelbrot.exe"
26-
]
27-
}]
28-
29-
},
30-
"expertise": "Getting Started"
31-
}
2+
"guid": "8572B85D-0B32-40B1-8112-538F480C8660",
3+
"name": "Mandelbrot",
4+
"categories": [
5+
"Toolkit/oneAPI Direct Programming/C++SYCL/Combinational Logic",
6+
"Toolkit/oneAPI Tools/Advisor"
7+
],
8+
"description": "The Mandelbrot Set - a fractal\u00a0example in\u00a0mathematics",
9+
"toolchain": [
10+
"dpcpp"
11+
],
12+
"languages": [
13+
{
14+
"cpp": {}
15+
}
16+
],
17+
"targetDevice": [
18+
"CPU",
19+
"GPU"
20+
],
21+
"os": [
22+
"linux",
23+
"windows"
24+
],
25+
"builder": [
26+
"ide",
27+
"cmake"
28+
],
29+
"ciTests": {
30+
"linux": [
31+
{
32+
"id": "test",
33+
"steps": [
34+
"mkdir build",
35+
"cd build",
36+
"cmake ..",
37+
"make",
38+
"make run"
39+
]
40+
}
41+
],
42+
"windows": [
43+
{
44+
"id": "test",
45+
"steps": [
46+
"MSBuild mandelbrot.sln /t:Rebuild /p:Configuration=Release",
47+
"cd x64\\Release",
48+
"mandelbrot.exe"
49+
]
50+
}
51+
]
52+
},
53+
"expertise": "Getting Started"
54+
}
Lines changed: 51 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,53 @@
11
{
2-
"guid": "B9C425DB-A3AD-4FCB-9CA0-1909E5189FB7",
3-
"name": "Sepia Filter",
4-
"categories": ["Toolkit/oneAPI Direct Programming/C++SYCL/Combinational Logic"],
5-
"description": "A program that converts an image to Sepia Tone",
6-
"toolchain": ["dpcpp"],
7-
"languages": [{
8-
"cpp": {}
9-
}],
10-
"targetDevice": ["CPU", "GPU"],
11-
"os": ["linux", "windows"],
12-
"builder": ["ide", "cmake"],
13-
"ciTests": {
14-
"linux": [{
15-
"steps": [
16-
"mkdir build",
17-
"cd build",
18-
"cmake ..",
19-
"make",
20-
"make run"
21-
]
22-
}],
23-
"windows": [{
24-
"steps": [
25-
"MSBuild sepia-filter.sln /t:Rebuild /p:Configuration=Release",
26-
"cd x64\\Release",
27-
"sepia-filter.exe ..\\..\\input\\silver512.png"
28-
]
29-
}]
30-
},
2+
"guid": "B9C425DB-A3AD-4FCB-9CA0-1909E5189FB7",
3+
"name": "Sepia Filter",
4+
"categories": [
5+
"Toolkit/oneAPI Direct Programming/C++SYCL/Combinational Logic"
6+
],
7+
"description": "A program that converts an image to Sepia Tone",
8+
"toolchain": [
9+
"dpcpp"
10+
],
11+
"languages": [
12+
{
13+
"cpp": {}
14+
}
15+
],
16+
"targetDevice": [
17+
"CPU",
18+
"GPU"
19+
],
20+
"os": [
21+
"linux",
22+
"windows"
23+
],
24+
"builder": [
25+
"ide",
26+
"cmake"
27+
],
28+
"ciTests": {
29+
"linux": [
30+
{
31+
"id": "test",
32+
"steps": [
33+
"mkdir build",
34+
"cd build",
35+
"cmake ..",
36+
"make",
37+
"make run"
38+
]
39+
}
40+
],
41+
"windows": [
42+
{
43+
"id": "test",
44+
"steps": [
45+
"MSBuild sepia-filter.sln /t:Rebuild /p:Configuration=Release",
46+
"cd x64\\Release",
47+
"sepia-filter.exe ..\\..\\input\\silver512.png"
48+
]
49+
}
50+
]
51+
},
3152
"expertise": "Concepts and Functionality"
32-
}
53+
}
Lines changed: 43 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,45 @@
11
{
2-
"guid": "198ADB7C-9E6E-4714-ACD3-E869C86CB174",
3-
"name": "Address Sanitizer",
4-
"categories": ["Toolkit/oneAPI Direct Programming/C++SYCL/Dense Linear Algebra"],
5-
"description": "Address Sanitizer sample provides examples of error memory detection in SYCL",
6-
"toolchain": ["dpcpp"],
7-
"os": ["linux"],
8-
"targetDevice": ["CPU", "GPU"],
9-
"gpuRequired": ["gen9","pvc"],
10-
"builder": ["cmake"],
11-
"languages": [{"cpp":{}}],
12-
"ciTests": {
13-
"linux": [
14-
{
15-
"steps": [
16-
"mkdir build",
17-
"cd build",
18-
"cmake ..",
19-
"make",
20-
"make run_all"
2+
"guid": "198ADB7C-9E6E-4714-ACD3-E869C86CB174",
3+
"name": "Address Sanitizer",
4+
"categories": [
5+
"Toolkit/oneAPI Direct Programming/C++SYCL/Dense Linear Algebra"
6+
],
7+
"description": "Address Sanitizer sample provides examples of error memory detection in SYCL",
8+
"toolchain": [
9+
"dpcpp"
10+
],
11+
"os": [
12+
"linux"
13+
],
14+
"targetDevice": [
15+
"CPU",
16+
"GPU"
17+
],
18+
"gpuRequired": [
19+
"gen9",
20+
"pvc"
21+
],
22+
"builder": [
23+
"cmake"
24+
],
25+
"languages": [
26+
{
27+
"cpp": {}
28+
}
29+
],
30+
"ciTests": {
31+
"linux": [
32+
{
33+
"id": "test",
34+
"steps": [
35+
"mkdir build",
36+
"cd build",
37+
"cmake ..",
38+
"make",
39+
"make run_all"
40+
]
41+
}
2142
]
22-
}
23-
]
24-
},
25-
"expertise": "Memory Management"
26-
}
43+
},
44+
"expertise": "Memory Management"
45+
}
Lines changed: 59 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,59 @@
1-
{
2-
"guid": "D725E06E-0ECE-44F8-910D-AD1A8C89ED89",
3-
"name": "Complex Mult",
4-
"categories": ["Toolkit/oneAPI Direct Programming/C++SYCL/Dense Linear Algebra"],
5-
"description": "This sample computes Complex Number Multiplication",
6-
"toolchain": [ "dpcpp" ],
7-
"languages": [ { "cpp": { "properties": { "projectOptions": [ { "projectType": "makefile" } ] } } } ],
8-
"targetDevice": [ "CPU", "GPU"],
9-
"os": [ "linux", "windows" ],
10-
"builder": [ "ide", "make" ],
11-
"ciTests": {
12-
"linux": [
13-
{
14-
"steps": [
15-
"make all",
16-
"make run",
17-
"make clean"
18-
]
19-
}
20-
],
21-
"windows": [
22-
{
23-
"steps": [
24-
"MSBuild complex_mult.sln /t:Rebuild /p:Configuration=Release",
25-
"cd x64\\Release",
26-
"complex_mult.exe"
27-
]
28-
}
29-
]
30-
},
31-
"expertise": "Getting Started"
32-
}
1+
{
2+
"guid": "D725E06E-0ECE-44F8-910D-AD1A8C89ED89",
3+
"name": "Complex Mult",
4+
"categories": [
5+
"Toolkit/oneAPI Direct Programming/C++SYCL/Dense Linear Algebra"
6+
],
7+
"description": "This sample computes Complex Number Multiplication",
8+
"toolchain": [
9+
"dpcpp"
10+
],
11+
"languages": [
12+
{
13+
"cpp": {
14+
"properties": {
15+
"projectOptions": [
16+
{
17+
"projectType": "makefile"
18+
}
19+
]
20+
}
21+
}
22+
}
23+
],
24+
"targetDevice": [
25+
"CPU",
26+
"GPU"
27+
],
28+
"os": [
29+
"linux",
30+
"windows"
31+
],
32+
"builder": [
33+
"ide",
34+
"make"
35+
],
36+
"ciTests": {
37+
"linux": [
38+
{
39+
"id": "test",
40+
"steps": [
41+
"make all",
42+
"make run",
43+
"make clean"
44+
]
45+
}
46+
],
47+
"windows": [
48+
{
49+
"id": "test",
50+
"steps": [
51+
"MSBuild complex_mult.sln /t:Rebuild /p:Configuration=Release",
52+
"cd x64\\Release",
53+
"complex_mult.exe"
54+
]
55+
}
56+
]
57+
},
58+
"expertise": "Getting Started"
59+
}

0 commit comments

Comments
 (0)