Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 7bbda52

Browse files
committed
Respect Windows encoding
1 parent e859b67 commit 7bbda52

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

SYCL/XPTI/buffer/accessors.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ int main() {
1717
bool MismatchFound = false;
1818
sycl::queue Queue{};
1919

20-
// CHECK:{{[0-9]+}}|Create buffer|[[BUFFERID:[0-9,a-f,x]+]]|0x0|i|4|1|{3,0,0}|{{.*}}accessors.cpp:[[# @LINE + 1]]:24
20+
// CHECK:{{[0-9]+}}|Create buffer|[[BUFFERID:[0-9,a-f,x]+]]|0x0|{{i(nt)*}}|4|1|{3,0,0}|{{.*}}accessors.cpp:[[# @LINE + 1]]:24
2121
sycl::buffer<int, 1> Buf(3);
2222

2323
sycl::range<1> Range{Buf.size()};

SYCL/XPTI/buffer/host_array.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ int main() {
1818
int Array[4];
1919
{
2020
sycl::range<1> NumOfWorkItems{4};
21-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:[0-9,a-f,x]+]]|0x{{.*}}|i|4|1|{4,0,0}|{{.*}}host_array.cpp:[[# @LINE + 1]]:26
21+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:[0-9,a-f,x]+]]|0x{{.*}}|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}host_array.cpp:[[# @LINE + 1]]:26
2222
sycl::buffer<int, 1> Buffer1(Array, NumOfWorkItems);
2323

2424
// CHECK:{{[0-9]+}}|Associate buffer|[[USERID1]]|[[BEID1:.*]]

SYCL/XPTI/buffer/in_cycle.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ int main() {
5353
// Create a SYCL queue.
5454
sycl::queue Queue{};
5555

56-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:[0-9,a-f,x]*]]|0x0|i|4|1|{4,0,0}|{{.*}}in_cycle.cpp:17:24
56+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:[0-9,a-f,x]*]]|0x0|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}in_cycle.cpp:17:24
5757
// CHECK:{{[0-9]+}}|Associate buffer|[[USERID1]]|[[BEID1:.*]]
5858
// CHECK:{{[0-9]+}}|Release buffer|[[USERID1]]|[[BEID1]]
5959
// CHECK:{{[0-9]+}}|Destruct buffer|[[USERID1]]
60-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID2:[0-9,a-f,x]*]]|0x0|i|4|1|{4,0,0}|{{.*}}in_cycle.cpp:17:24
60+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID2:[0-9,a-f,x]*]]|0x0|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}in_cycle.cpp:17:24
6161
// CHECK:{{[0-9]+}}|Associate buffer|[[USERID2]]|[[BEID2:.*]]
6262
// CHECK:{{[0-9]+}}|Release buffer|[[USERID2]]|[[BEID2]]
6363
// CHECK:{{[0-9]+}}|Destruct buffer|[[USERID2]]
64-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID3:[0-9,a-f,x]*]]|0x0|i|4|1|{4,0,0}|{{.*}}in_cycle.cpp:17:24
64+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID3:[0-9,a-f,x]*]]|0x0|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}in_cycle.cpp:17:24
6565
// CHECK:{{[0-9]+}}|Associate buffer|[[USERID3]]|[[BEID3:.*]]
6666
// CHECK:{{[0-9]+}}|Release buffer|[[USERID3]]|[[BEID3]]
6767
// CHECK:{{[0-9]+}}|Destruct buffer|[[USERID3]]

SYCL/XPTI/buffer/multiple_buffers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ int main() {
1515
bool MismatchFound = false;
1616
sycl::queue Queue{};
1717

18-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:[0-9,a-f,x]+]]|0x0|s|2|1|{4,0,0}|{{.*}}multiple_buffers.cpp:[[# @LINE + 1]]:26
18+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:[0-9,a-f,x]+]]|0x0|{{s(hort)*}}|2|1|{4,0,0}|{{.*}}multiple_buffers.cpp:[[# @LINE + 1]]:26
1919
sycl::buffer<short, 1> Buffer1(4);
20-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID2:[0-9,a-f,x]+]]|0x0|c|1|3|{5,4,3}|{{.*}}multiple_buffers.cpp:[[# @LINE + 1]]:25
20+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID2:[0-9,a-f,x]+]]|0x0|{{c(har)*}}|1|3|{5,4,3}|{{.*}}multiple_buffers.cpp:[[# @LINE + 1]]:25
2121
sycl::buffer<char, 3> Buffer2({5, 4, 3});
2222

2323
sycl::range<1> NumOfWorkItems{Buffer1.size()};

SYCL/XPTI/buffer/multiple_queues.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ int main() {
2323
sycl::queue Queue1{Devices[0]};
2424
sycl::queue Queue2{Devices[1]};
2525
sycl::range<1> NumOfWorkItems{4};
26-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|0x{{.*}}|i|4|1|{4,0,0}|{{.*}}multiple_queues.cpp:[[# @LINE + 1]]:26
26+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|0x{{.*}}|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}multiple_queues.cpp:[[# @LINE + 1]]:26
2727
sycl::buffer<int, 1> Buffer1(Array, NumOfWorkItems);
2828

2929
Queue1.submit([&](sycl::handler &cgh) {

SYCL/XPTI/buffer/recursion.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ int main() {
5353
// Create a SYCL queue.
5454
sycl::queue Queue{};
5555

56-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|0x0|i|4|1|{4,0,0}|{{.*}}recursion.cpp:17:24
56+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|0x0|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}recursion.cpp:17:24
5757
// CHECK:{{[0-9]+}}|Associate buffer|[[USERID1]]|[[BEID1:.*]]
58-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID2:0x[0-9,a-f,x]+]]|0x0|i|4|1|{4,0,0}|{{.*}}recursion.cpp:17:24
58+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID2:0x[0-9,a-f,x]+]]|0x0|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}recursion.cpp:17:24
5959
// CHECK:{{[0-9]+}}|Associate buffer|[[USERID2]]|[[BEID2:.*]]
60-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID3:0x[0-9,a-f,x]+]]|0x0|i|4|1|{4,0,0}|{{.*}}recursion.cpp:17:24
60+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID3:0x[0-9,a-f,x]+]]|0x0|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}recursion.cpp:17:24
6161
// CHECK:{{[0-9]+}}|Associate buffer|[[USERID3]]|[[BEID3:.*]]
6262
// CHECK:{{[0-9]+}}|Release buffer|[[USERID3]]|[[BEID3]]
6363
// CHECK:{{[0-9]+}}|Destruct buffer|[[USERID3]]

SYCL/XPTI/buffer/sub_buffer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ int main() {
1717

1818
{
1919
sycl::range<1> NumOfWorkItems{128};
20-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|0x0|i|4|1|{128,0,0}|{{.*}}sub_buffer.cpp:[[# @LINE + 1]]:26
20+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|0x0|{{i(nt)*}}|4|1|{128,0,0}|{{.*}}sub_buffer.cpp:[[# @LINE + 1]]:26
2121
sycl::buffer<int, 1> Buffer1(NumOfWorkItems);
22-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|[[USERID1]]|i|4|1|{32,0,0}|{{.*}}sub_buffer.cpp:[[# @LINE + 1]]:26
22+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|[[USERID1]]|{{i(nt)*}}|4|1|{32,0,0}|{{.*}}sub_buffer.cpp:[[# @LINE + 1]]:26
2323
sycl::buffer<int, 1> SubBuffer{Buffer1, sycl::range<1>{32},
2424
sycl::range<1>{32}};
2525

SYCL/XPTI/buffer/use_host_ptr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ int main() {
1818
int Array[4];
1919
{
2020
sycl::range<1> NumOfWorkItems{4};
21-
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|0x{{.*}}|i|4|1|{4,0,0}|{{.*}}use_host_ptr.cpp:[[# @LINE + 1]]:26
21+
// CHECK:{{[0-9]+}}|Create buffer|[[USERID1:0x[0-9,a-f,x]+]]|0x{{.*}}|{{i(nt)*}}|4|1|{4,0,0}|{{.*}}use_host_ptr.cpp:[[# @LINE + 1]]:26
2222
sycl::buffer<int, 1> Buffer1(Array, NumOfWorkItems,
2323
{sycl::property::buffer::use_host_ptr()});
2424

0 commit comments

Comments
 (0)