@@ -57,7 +57,7 @@ int main() {
5757 auto PtrShared = sycl::malloc_shared<int >(8 , Queue);
5858 Queue
5959 .submit ([&](sycl::handler &cgh) {
60- // CHECK: {{[0-9]+}}|Construct accessor|[[BUFFERID]]|[[ACCID1:.+]]|2014|1026|{{.*}}.cpp:[[# @LINE + 1]]:19
60+ // CHECK: {{[0-9]+}}|Construct accessor|[[BUFFERID]]|[[ACCID1:.+]]|2014|1026|{{.*}}.cpp:[[# @LINE + 1]]:23
6161 auto A1 = Buf.get_access <mode::read_write>(cgh);
6262 // CHECK: {{[0-9]+}}|Construct accessor|0x0|[[ACCID2:.*]]|2016|1026|{{.*}}.cpp:[[# @LINE + 1]]:38
6363 sycl::local_accessor<int , 1 > A2 (Range, cgh);
@@ -78,31 +78,31 @@ int main() {
7878 })
7979 .wait ();
8080
81- // CHECK: Wait begin|{{.*}}.cpp:[[# @LINE + 2]]:3
82- // CHECK: Wait end|{{.*}}.cpp:[[# @LINE + 1]]:3
81+ // CHECK: Wait begin|{{.*}}.cpp:[[# @LINE + 2]]:9
82+ // CHECK: Wait end|{{.*}}.cpp:[[# @LINE + 1]]:9
8383 Queue.wait ();
8484
8585 // CHECK: {{[0-9]+}}|Construct accessor|[[BUFFERID]]|[[ACCID3:.*]]|2018|1024|{{.*}}.cpp:[[# @LINE + 1]]:25
8686 { sycl::host_accessor HA (Buf, sycl::read_only); }
8787
8888 Queue.submit ([&](sycl::handler &cgh) {
89- // CHECK: {{[0-9]+}}|Construct accessor|[[BUFFERID]]|[[ACCID4:.+]]|2014|1026|{{.*}}.cpp:[[# @LINE + 1]]:16
89+ // CHECK: {{[0-9]+}}|Construct accessor|[[BUFFERID]]|[[ACCID4:.+]]|2014|1026|{{.*}}.cpp:[[# @LINE + 1]]:20
9090 auto Acc = Buf.get_access <mode::read_write>(cgh);
9191 Functor1 F (Val, Acc);
92- // CHECK-OPT: Node create|{{.*}}Functor1|{{.*}}.cpp:[[# @LINE - 4 ]]:3 |{1, 1, 1}, {0, 0, 0}, {0, 0, 0}, 3
93- // CHECK-NOOPT: Node create|{{.*}}Functor1|{{.*}}.cpp:[[# @LINE - 5 ]]:3 |{1, 1, 1}, {0, 0, 0}, {0, 0, 0}, 5
92+ // CHECK-OPT: Node create|{{.*}}Functor1|{{.*}}.cpp:[[# @LINE - 4 ]]:9 |{1, 1, 1}, {0, 0, 0}, {0, 0, 0}, 3
93+ // CHECK-NOOPT: Node create|{{.*}}Functor1|{{.*}}.cpp:[[# @LINE - 5 ]]:9 |{1, 1, 1}, {0, 0, 0}, {0, 0, 0}, 5
9494 cgh.single_task (F);
9595 // CHECK-OPT: arg0 : {1, {{[0-9,a-f,x]+}}, 2, 0}
9696 // CHECK-OPT: arg1 : {0, [[ACCID4]], 4062, 1}
9797 // CHECK-OPT: arg2 : {1, [[ACCID4]], 8, 2}
9898 });
9999
100100 Queue.submit ([&](sycl::handler &cgh) {
101- // CHECK: {{[0-9]+}}|Construct accessor|[[BUFFERID]]|[[ACCID5:.+]]|2014|1026|{{.*}}.cpp:[[# @LINE + 1]]:16
101+ // CHECK: {{[0-9]+}}|Construct accessor|[[BUFFERID]]|[[ACCID5:.+]]|2014|1026|{{.*}}.cpp:[[# @LINE + 1]]:20
102102 auto Acc = Buf.get_access <mode::read_write>(cgh);
103103 Functor2 F (Val, Acc);
104- // CHECK-OPT: Node create|{{.*}}Functor2|{{.*}}.cpp:[[# @LINE - 4 ]]:3 |{5, 1, 1}, {0, 0, 0}, {0, 0, 0}, 3
105- // CHECK-NOOPT: Node create|{{.*}}Functor2|{{.*}}.cpp:[[# @LINE - 5 ]]:3 |{5, 1, 1}, {0, 0, 0}, {0, 0, 0}, 5
104+ // CHECK-OPT: Node create|{{.*}}Functor2|{{.*}}.cpp:[[# @LINE - 4 ]]:9 |{5, 1, 1}, {0, 0, 0}, {0, 0, 0}, 3
105+ // CHECK-NOOPT: Node create|{{.*}}Functor2|{{.*}}.cpp:[[# @LINE - 5 ]]:9 |{5, 1, 1}, {0, 0, 0}, {0, 0, 0}, 5
106106 cgh.parallel_for (Range, F);
107107 // CHECK-OPT: arg0 : {1, {{[0-9,a-f,x]+}}, 2, 0}
108108 // CHECK-OPT: arg1 : {0, [[ACCID5]], 4062, 1}
0 commit comments