File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
sycl/test/on-device/basic_tests/stream Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 6
6
// This test is executed on host device only because flush buffer initialized
7
7
// via a separate call group task for this device only.
8
8
9
+ // CHECK: [[MAIN_CG:"0x[0-9a-f]+"]] {{.*}}EXEC CG ON HOST{{.*}}test_flush_buf_init_dep
10
+ // First 3 lines show dependencies on global buffer related commands
11
+ // CHECK: [[MAIN_CG]]
12
+ // CHECK: [[MAIN_CG]]
13
+ // CHECK: [[MAIN_CG]]
14
+ // CHECK: [[MAIN_CG]] -> [[EMPTY_NODE:"0x[0-9a-f]+"]] [ label = "Access mode: read_write\nMemObj: [[FLUSHBUF_MEMOBJ:0x[0-9a-f]+]]
15
+ // CHECK: [[EMPTY_NODE]] {{.*}}EMPTY NODE
16
+ // CHECK: [[EMPTY_NODE]] -> [[FILL_TASK:"0x[0-9a-f]+"]] [ label = "Access mode: discard_write\nMemObj: [[FLUSHBUF_MEMOBJ]]
17
+ // CHECK: [[FILL_TASK]] {{.*}}EXEC CG ON HOST\nCG type: host task
18
+ // CHECK: [[FILL_TASK]] -> [[ALLOC_TASK:"0x[0-9a-f]+"]] [ label = "Access mode: discard_write\nMemObj: [[FLUSHBUF_MEMOBJ]]
19
+ // CHECK: [[ALLOC_TASK]] {{.*}}ALLOCA ON HOST\n MemObj : [[FLUSHBUF_MEMOBJ]]
20
+
9
21
#include < CL/sycl.hpp>
10
22
11
23
using namespace cl ;
@@ -20,17 +32,5 @@ int main() {
20
32
});
21
33
Queue.wait ();
22
34
}
23
- // CHECK: [[MAIN_CG:"0x[0-9a-f]+"]] {{.*}}EXEC CG ON HOST{{.*}}test_flush_buf_init_dep
24
- // First 3 lines show dependencies on global buffer related commands
25
- // CHECK: [[MAIN_CG]]
26
- // CHECK: [[MAIN_CG]]
27
- // CHECK: [[MAIN_CG]]
28
- // CHECK: [[MAIN_CG]] -> [[EMPTY_NODE:"0x[0-9a-f]+"]] [ label = "Access mode: read_write\nMemObj: [[FLUSHBUF_MEMOBJ:0x[0-9a-f]+]]
29
- // CHECK: [[EMPTY_NODE]] {{.*}}EMPTY NODE
30
- // CHECK: [[EMPTY_NODE]] -> [[FILL_TASK:"0x[0-9a-f]+"]] [ label = "Access mode: discard_write\nMemObj: [[FLUSHBUF_MEMOBJ]]
31
- // CHECK: [[FILL_TASK]] {{.*}}EXEC CG ON HOST\nCG type: host task
32
- // CHECK: [[FILL_TASK]] -> [[ALLOC_TASK:"0x[0-9a-f]+"]] [ label = "Access mode: discard_write\nMemObj: [[FLUSHBUF_MEMOBJ]]
33
- // CHECK: [[ALLOC_TASK]] {{.*}}ALLOCA ON HOST\n MemObj : [[FLUSHBUF_MEMOBJ]]
34
- }
35
35
return 0 ;
36
36
}
You can’t perform that action at this time.
0 commit comments