|
31 | 31 | // variable SYCL_PI_LEVEL_ZERO_{COPY_}BATCH_SIZE=N. |
32 | 32 | // This test enqueues 8 kernels and then does a wait. And it does this 3 times. |
33 | 33 | // Expected output is that for batching =1 you will see zeCommandListClose, |
34 | | -// and zeCommandQueueExecuteCommandLists after every urEnqueueKernelLaunch. |
35 | | -// For batching=3 you will see that after 3rd and 6th enqueues, and then after |
36 | | -// urEventWait. For 5, after 5th urEnqueue, and then after urEventWait. For |
37 | | -// 4 you will see these after 4th and 8th Enqueue, and for 8, only after the |
38 | | -// 8th enqueue. And lastly for 9, you will see the Close and Execute calls |
39 | | -// only after the urEventWait. |
40 | | -// Since the test does this 3 times, this pattern will repeat 2 more times, |
41 | | -// and then the test will print Test Passed 8 times, once for each kernel |
42 | | -// validation check. |
43 | | -// Pattern starts first set of kernel executions. |
44 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 34 | +// and zeCommandQueueExecuteCommandLists after every |
| 35 | +// urEnqueueKernelLaunchWithArgsExp. For batching=3 you will see that after 3rd |
| 36 | +// and 6th enqueues, and then after urEventWait. For 5, after 5th urEnqueue, and |
| 37 | +// then after urEventWait. For 4 you will see these after 4th and 8th Enqueue, |
| 38 | +// and for 8, only after the 8th enqueue. And lastly for 9, you will see the |
| 39 | +// Close and Execute calls only after the urEventWait. Since the test does this |
| 40 | +// 3 times, this pattern will repeat 2 more times, and then the test will print |
| 41 | +// Test Passed 8 times, once for each kernel validation check. Pattern starts |
| 42 | +// first set of kernel executions. CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
45 | 43 | // CKALL: zeCommandListAppendLaunchKernel( |
46 | 44 | // CKB1: zeCommandListClose( |
47 | 45 | // CKB1: zeCommandQueueExecuteCommandLists( |
48 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 46 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
49 | 47 | // CKALL: zeCommandListAppendLaunchKernel( |
50 | 48 | // CKB1: zeCommandListClose( |
51 | 49 | // CKB1: zeCommandQueueExecuteCommandLists( |
52 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 50 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
53 | 51 | // CKALL: zeCommandListAppendLaunchKernel( |
54 | 52 | // CKB1: zeCommandListClose( |
55 | 53 | // CKB1: zeCommandQueueExecuteCommandLists( |
56 | 54 | // CKB3: zeCommandListClose( |
57 | 55 | // CKB3: zeCommandQueueExecuteCommandLists( |
58 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 56 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
59 | 57 | // CKALL: zeCommandListAppendLaunchKernel( |
60 | 58 | // CKB1: zeCommandListClose( |
61 | 59 | // CKB1: zeCommandQueueExecuteCommandLists( |
62 | 60 | // CKB4: zeCommandListClose( |
63 | 61 | // CKB4: zeCommandQueueExecuteCommandLists( |
64 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 62 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
65 | 63 | // CKALL: zeCommandListAppendLaunchKernel( |
66 | 64 | // CKB1: zeCommandListClose( |
67 | 65 | // CKB1: zeCommandQueueExecuteCommandLists( |
68 | 66 | // CKB5: zeCommandListClose( |
69 | 67 | // CKB5: zeCommandQueueExecuteCommandLists( |
70 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 68 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
71 | 69 | // CKALL: zeCommandListAppendLaunchKernel( |
72 | 70 | // CKB1: zeCommandListClose( |
73 | 71 | // CKB1: zeCommandQueueExecuteCommandLists( |
74 | 72 | // CKB3: zeCommandListClose( |
75 | 73 | // CKB3: zeCommandQueueExecuteCommandLists( |
76 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 74 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
77 | 75 | // CKALL: zeCommandListAppendLaunchKernel( |
78 | 76 | // CKB1: zeCommandListClose( |
79 | 77 | // CKB1: zeCommandQueueExecuteCommandLists( |
80 | 78 | // CKB7: zeCommandListClose( |
81 | 79 | // CKB7: zeCommandQueueExecuteCommandLists( |
82 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 80 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
83 | 81 | // CKALL: zeCommandListAppendLaunchKernel( |
84 | 82 | // CKB1: zeCommandListClose( |
85 | 83 | // CKB1: zeCommandQueueExecuteCommandLists( |
|
97 | 95 | // CKB9: zeCommandListClose( |
98 | 96 | // CKB9: zeCommandQueueExecuteCommandLists( |
99 | 97 | // Pattern starts 2nd set of kernel executions |
100 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 98 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
101 | 99 | // CKALL: zeCommandListAppendLaunchKernel( |
102 | 100 | // CKB1: zeCommandListClose( |
103 | 101 | // CKB1: zeCommandQueueExecuteCommandLists( |
104 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 102 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
105 | 103 | // CKALL: zeCommandListAppendLaunchKernel( |
106 | 104 | // CKB1: zeCommandListClose( |
107 | 105 | // CKB1: zeCommandQueueExecuteCommandLists( |
108 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 106 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
109 | 107 | // CKALL: zeCommandListAppendLaunchKernel( |
110 | 108 | // CKB1: zeCommandListClose( |
111 | 109 | // CKB1: zeCommandQueueExecuteCommandLists( |
112 | 110 | // CKB3: zeCommandListClose( |
113 | 111 | // CKB3: zeCommandQueueExecuteCommandLists( |
114 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 112 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
115 | 113 | // CKALL: zeCommandListAppendLaunchKernel( |
116 | 114 | // CKB1: zeCommandListClose( |
117 | 115 | // CKB1: zeCommandQueueExecuteCommandLists( |
118 | 116 | // CKB4: zeCommandListClose( |
119 | 117 | // CKB4: zeCommandQueueExecuteCommandLists( |
120 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 118 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
121 | 119 | // CKALL: zeCommandListAppendLaunchKernel( |
122 | 120 | // CKB1: zeCommandListClose( |
123 | 121 | // CKB1: zeCommandQueueExecuteCommandLists( |
124 | 122 | // CKB5: zeCommandListClose( |
125 | 123 | // CKB5: zeCommandQueueExecuteCommandLists( |
126 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 124 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
127 | 125 | // CKALL: zeCommandListAppendLaunchKernel( |
128 | 126 | // CKB1: zeCommandListClose( |
129 | 127 | // CKB1: zeCommandQueueExecuteCommandLists( |
130 | 128 | // CKB3: zeCommandListClose( |
131 | 129 | // CKB3: zeCommandQueueExecuteCommandLists( |
132 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 130 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
133 | 131 | // CKALL: zeCommandListAppendLaunchKernel( |
134 | 132 | // CKB1: zeCommandListClose( |
135 | 133 | // CKB1: zeCommandQueueExecuteCommandLists( |
136 | 134 | // CKB7: zeCommandListClose( |
137 | 135 | // CKB7: zeCommandQueueExecuteCommandLists( |
138 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 136 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
139 | 137 | // CKALL: zeCommandListAppendLaunchKernel( |
140 | 138 | // CKB1: zeCommandListClose( |
141 | 139 | // CKB1: zeCommandQueueExecuteCommandLists( |
|
153 | 151 | // CKB9: zeCommandListClose( |
154 | 152 | // CKB9: zeCommandQueueExecuteCommandLists( |
155 | 153 | // Pattern starts 3rd set of kernel executions |
156 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 154 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
157 | 155 | // CKALL: zeCommandListAppendLaunchKernel( |
158 | 156 | // CKB1: zeCommandListClose( |
159 | 157 | // CKB1: zeCommandQueueExecuteCommandLists( |
160 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 158 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
161 | 159 | // CKALL: zeCommandListAppendLaunchKernel( |
162 | 160 | // CKB1: zeCommandListClose( |
163 | 161 | // CKB1: zeCommandQueueExecuteCommandLists( |
164 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 162 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
165 | 163 | // CKALL: zeCommandListAppendLaunchKernel( |
166 | 164 | // CKB1: zeCommandListClose( |
167 | 165 | // CKB1: zeCommandQueueExecuteCommandLists( |
168 | 166 | // CKB3: zeCommandListClose( |
169 | 167 | // CKB3: zeCommandQueueExecuteCommandLists( |
170 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 168 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
171 | 169 | // CKALL: zeCommandListAppendLaunchKernel( |
172 | 170 | // CKB1: zeCommandListClose( |
173 | 171 | // CKB1: zeCommandQueueExecuteCommandLists( |
174 | 172 | // CKB4: zeCommandListClose( |
175 | 173 | // CKB4: zeCommandQueueExecuteCommandLists( |
176 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 174 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
177 | 175 | // CKALL: zeCommandListAppendLaunchKernel( |
178 | 176 | // CKB1: zeCommandListClose( |
179 | 177 | // CKB1: zeCommandQueueExecuteCommandLists( |
180 | 178 | // CKB5: zeCommandListClose( |
181 | 179 | // CKB5: zeCommandQueueExecuteCommandLists( |
182 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 180 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
183 | 181 | // CKALL: zeCommandListAppendLaunchKernel( |
184 | 182 | // CKB1: zeCommandListClose( |
185 | 183 | // CKB1: zeCommandQueueExecuteCommandLists( |
186 | 184 | // CKB3: zeCommandListClose( |
187 | 185 | // CKB3: zeCommandQueueExecuteCommandLists( |
188 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 186 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
189 | 187 | // CKALL: zeCommandListAppendLaunchKernel( |
190 | 188 | // CKB1: zeCommandListClose( |
191 | 189 | // CKB1: zeCommandQueueExecuteCommandLists( |
192 | 190 | // CKB7: zeCommandListClose( |
193 | 191 | // CKB7: zeCommandQueueExecuteCommandLists( |
194 | | -// CKALL: ---> urEnqueueKernelLaunch |
| 192 | +// CKALL: ---> urEnqueueKernelLaunchWithArgsExp |
195 | 193 | // CKALL: zeCommandListAppendLaunchKernel( |
196 | 194 | // CKB1: zeCommandListClose( |
197 | 195 | // CKB1: zeCommandQueueExecuteCommandLists( |
|
0 commit comments