@@ -205,6 +205,7 @@ typedef cl_int (CL_API_CALL* clEnqueueCommandBufferKHR_clextfn)(
205
205
typedef cl_int (CL_API_CALL* clCommandBarrierWithWaitListKHR_clextfn)(
206
206
cl_command_buffer_khr command_buffer,
207
207
cl_command_queue command_queue,
208
+ const cl_command_properties_khr* properties,
208
209
cl_uint num_sync_points_in_wait_list,
209
210
const cl_sync_point_khr* sync_point_wait_list,
210
211
cl_sync_point_khr* sync_point,
@@ -213,6 +214,7 @@ typedef cl_int (CL_API_CALL* clCommandBarrierWithWaitListKHR_clextfn)(
213
214
typedef cl_int (CL_API_CALL* clCommandCopyBufferKHR_clextfn)(
214
215
cl_command_buffer_khr command_buffer,
215
216
cl_command_queue command_queue,
217
+ const cl_command_properties_khr* properties,
216
218
cl_mem src_buffer,
217
219
cl_mem dst_buffer,
218
220
size_t src_offset,
@@ -226,6 +228,7 @@ typedef cl_int (CL_API_CALL* clCommandCopyBufferKHR_clextfn)(
226
228
typedef cl_int (CL_API_CALL* clCommandCopyBufferRectKHR_clextfn)(
227
229
cl_command_buffer_khr command_buffer,
228
230
cl_command_queue command_queue,
231
+ const cl_command_properties_khr* properties,
229
232
cl_mem src_buffer,
230
233
cl_mem dst_buffer,
231
234
const size_t * src_origin,
@@ -243,6 +246,7 @@ typedef cl_int (CL_API_CALL* clCommandCopyBufferRectKHR_clextfn)(
243
246
typedef cl_int (CL_API_CALL* clCommandCopyBufferToImageKHR_clextfn)(
244
247
cl_command_buffer_khr command_buffer,
245
248
cl_command_queue command_queue,
249
+ const cl_command_properties_khr* properties,
246
250
cl_mem src_buffer,
247
251
cl_mem dst_image,
248
252
size_t src_offset,
@@ -256,6 +260,7 @@ typedef cl_int (CL_API_CALL* clCommandCopyBufferToImageKHR_clextfn)(
256
260
typedef cl_int (CL_API_CALL* clCommandCopyImageKHR_clextfn)(
257
261
cl_command_buffer_khr command_buffer,
258
262
cl_command_queue command_queue,
263
+ const cl_command_properties_khr* properties,
259
264
cl_mem src_image,
260
265
cl_mem dst_image,
261
266
const size_t * src_origin,
@@ -269,6 +274,7 @@ typedef cl_int (CL_API_CALL* clCommandCopyImageKHR_clextfn)(
269
274
typedef cl_int (CL_API_CALL* clCommandCopyImageToBufferKHR_clextfn)(
270
275
cl_command_buffer_khr command_buffer,
271
276
cl_command_queue command_queue,
277
+ const cl_command_properties_khr* properties,
272
278
cl_mem src_image,
273
279
cl_mem dst_buffer,
274
280
const size_t * src_origin,
@@ -282,6 +288,7 @@ typedef cl_int (CL_API_CALL* clCommandCopyImageToBufferKHR_clextfn)(
282
288
typedef cl_int (CL_API_CALL* clCommandFillBufferKHR_clextfn)(
283
289
cl_command_buffer_khr command_buffer,
284
290
cl_command_queue command_queue,
291
+ const cl_command_properties_khr* properties,
285
292
cl_mem buffer,
286
293
const void * pattern,
287
294
size_t pattern_size,
@@ -295,6 +302,7 @@ typedef cl_int (CL_API_CALL* clCommandFillBufferKHR_clextfn)(
295
302
typedef cl_int (CL_API_CALL* clCommandFillImageKHR_clextfn)(
296
303
cl_command_buffer_khr command_buffer,
297
304
cl_command_queue command_queue,
305
+ const cl_command_properties_khr* properties,
298
306
cl_mem image,
299
307
const void * fill_color,
300
308
const size_t * origin,
@@ -307,7 +315,7 @@ typedef cl_int (CL_API_CALL* clCommandFillImageKHR_clextfn)(
307
315
typedef cl_int (CL_API_CALL* clCommandNDRangeKernelKHR_clextfn)(
308
316
cl_command_buffer_khr command_buffer,
309
317
cl_command_queue command_queue,
310
- const cl_ndrange_kernel_command_properties_khr * properties,
318
+ const cl_command_properties_khr * properties,
311
319
cl_kernel kernel,
312
320
cl_uint work_dim,
313
321
const size_t * global_work_offset,
@@ -328,6 +336,7 @@ typedef cl_int (CL_API_CALL* clGetCommandBufferInfoKHR_clextfn)(
328
336
typedef cl_int (CL_API_CALL* clCommandSVMMemcpyKHR_clextfn)(
329
337
cl_command_buffer_khr command_buffer,
330
338
cl_command_queue command_queue,
339
+ const cl_command_properties_khr* properties,
331
340
void * dst_ptr,
332
341
const void * src_ptr,
333
342
size_t size,
@@ -339,6 +348,7 @@ typedef cl_int (CL_API_CALL* clCommandSVMMemcpyKHR_clextfn)(
339
348
typedef cl_int (CL_API_CALL* clCommandSVMMemFillKHR_clextfn)(
340
349
cl_command_buffer_khr command_buffer,
341
350
cl_command_queue command_queue,
351
+ const cl_command_properties_khr* properties,
342
352
void * svm_ptr,
343
353
const void * pattern,
344
354
size_t pattern_size,
@@ -372,7 +382,9 @@ typedef cl_command_buffer_khr (CL_API_CALL* clRemapCommandBufferKHR_clextfn)(
372
382
373
383
typedef cl_int (CL_API_CALL* clUpdateMutableCommandsKHR_clextfn)(
374
384
cl_command_buffer_khr command_buffer,
375
- const cl_mutable_base_config_khr* mutable_config);
385
+ cl_uint num_configs,
386
+ const cl_command_buffer_update_type_khr* config_types,
387
+ const void ** configs);
376
388
377
389
typedef cl_int (CL_API_CALL* clGetMutableCommandInfoKHR_clextfn)(
378
390
cl_mutable_command_khr command,
@@ -2176,6 +2188,7 @@ cl_int CL_API_CALL clEnqueueCommandBufferKHR(
2176
2188
cl_int CL_API_CALL clCommandBarrierWithWaitListKHR (
2177
2189
cl_command_buffer_khr command_buffer,
2178
2190
cl_command_queue command_queue,
2191
+ const cl_command_properties_khr* properties,
2179
2192
cl_uint num_sync_points_in_wait_list,
2180
2193
const cl_sync_point_khr* sync_point_wait_list,
2181
2194
cl_sync_point_khr* sync_point,
@@ -2188,6 +2201,7 @@ cl_int CL_API_CALL clCommandBarrierWithWaitListKHR(
2188
2201
return dispatch_ptr->clCommandBarrierWithWaitListKHR (
2189
2202
command_buffer,
2190
2203
command_queue,
2204
+ properties,
2191
2205
num_sync_points_in_wait_list,
2192
2206
sync_point_wait_list,
2193
2207
sync_point,
@@ -2197,6 +2211,7 @@ cl_int CL_API_CALL clCommandBarrierWithWaitListKHR(
2197
2211
cl_int CL_API_CALL clCommandCopyBufferKHR (
2198
2212
cl_command_buffer_khr command_buffer,
2199
2213
cl_command_queue command_queue,
2214
+ const cl_command_properties_khr* properties,
2200
2215
cl_mem src_buffer,
2201
2216
cl_mem dst_buffer,
2202
2217
size_t src_offset,
@@ -2214,6 +2229,7 @@ cl_int CL_API_CALL clCommandCopyBufferKHR(
2214
2229
return dispatch_ptr->clCommandCopyBufferKHR (
2215
2230
command_buffer,
2216
2231
command_queue,
2232
+ properties,
2217
2233
src_buffer,
2218
2234
dst_buffer,
2219
2235
src_offset,
@@ -2228,6 +2244,7 @@ cl_int CL_API_CALL clCommandCopyBufferKHR(
2228
2244
cl_int CL_API_CALL clCommandCopyBufferRectKHR (
2229
2245
cl_command_buffer_khr command_buffer,
2230
2246
cl_command_queue command_queue,
2247
+ const cl_command_properties_khr* properties,
2231
2248
cl_mem src_buffer,
2232
2249
cl_mem dst_buffer,
2233
2250
const size_t * src_origin,
@@ -2249,6 +2266,7 @@ cl_int CL_API_CALL clCommandCopyBufferRectKHR(
2249
2266
return dispatch_ptr->clCommandCopyBufferRectKHR (
2250
2267
command_buffer,
2251
2268
command_queue,
2269
+ properties,
2252
2270
src_buffer,
2253
2271
dst_buffer,
2254
2272
src_origin,
@@ -2267,6 +2285,7 @@ cl_int CL_API_CALL clCommandCopyBufferRectKHR(
2267
2285
cl_int CL_API_CALL clCommandCopyBufferToImageKHR (
2268
2286
cl_command_buffer_khr command_buffer,
2269
2287
cl_command_queue command_queue,
2288
+ const cl_command_properties_khr* properties,
2270
2289
cl_mem src_buffer,
2271
2290
cl_mem dst_image,
2272
2291
size_t src_offset,
@@ -2284,6 +2303,7 @@ cl_int CL_API_CALL clCommandCopyBufferToImageKHR(
2284
2303
return dispatch_ptr->clCommandCopyBufferToImageKHR (
2285
2304
command_buffer,
2286
2305
command_queue,
2306
+ properties,
2287
2307
src_buffer,
2288
2308
dst_image,
2289
2309
src_offset,
@@ -2298,6 +2318,7 @@ cl_int CL_API_CALL clCommandCopyBufferToImageKHR(
2298
2318
cl_int CL_API_CALL clCommandCopyImageKHR (
2299
2319
cl_command_buffer_khr command_buffer,
2300
2320
cl_command_queue command_queue,
2321
+ const cl_command_properties_khr* properties,
2301
2322
cl_mem src_image,
2302
2323
cl_mem dst_image,
2303
2324
const size_t * src_origin,
@@ -2315,6 +2336,7 @@ cl_int CL_API_CALL clCommandCopyImageKHR(
2315
2336
return dispatch_ptr->clCommandCopyImageKHR (
2316
2337
command_buffer,
2317
2338
command_queue,
2339
+ properties,
2318
2340
src_image,
2319
2341
dst_image,
2320
2342
src_origin,
@@ -2329,6 +2351,7 @@ cl_int CL_API_CALL clCommandCopyImageKHR(
2329
2351
cl_int CL_API_CALL clCommandCopyImageToBufferKHR (
2330
2352
cl_command_buffer_khr command_buffer,
2331
2353
cl_command_queue command_queue,
2354
+ const cl_command_properties_khr* properties,
2332
2355
cl_mem src_image,
2333
2356
cl_mem dst_buffer,
2334
2357
const size_t * src_origin,
@@ -2346,6 +2369,7 @@ cl_int CL_API_CALL clCommandCopyImageToBufferKHR(
2346
2369
return dispatch_ptr->clCommandCopyImageToBufferKHR (
2347
2370
command_buffer,
2348
2371
command_queue,
2372
+ properties,
2349
2373
src_image,
2350
2374
dst_buffer,
2351
2375
src_origin,
@@ -2360,6 +2384,7 @@ cl_int CL_API_CALL clCommandCopyImageToBufferKHR(
2360
2384
cl_int CL_API_CALL clCommandFillBufferKHR (
2361
2385
cl_command_buffer_khr command_buffer,
2362
2386
cl_command_queue command_queue,
2387
+ const cl_command_properties_khr* properties,
2363
2388
cl_mem buffer,
2364
2389
const void * pattern,
2365
2390
size_t pattern_size,
@@ -2377,6 +2402,7 @@ cl_int CL_API_CALL clCommandFillBufferKHR(
2377
2402
return dispatch_ptr->clCommandFillBufferKHR (
2378
2403
command_buffer,
2379
2404
command_queue,
2405
+ properties,
2380
2406
buffer,
2381
2407
pattern,
2382
2408
pattern_size,
@@ -2391,6 +2417,7 @@ cl_int CL_API_CALL clCommandFillBufferKHR(
2391
2417
cl_int CL_API_CALL clCommandFillImageKHR (
2392
2418
cl_command_buffer_khr command_buffer,
2393
2419
cl_command_queue command_queue,
2420
+ const cl_command_properties_khr* properties,
2394
2421
cl_mem image,
2395
2422
const void * fill_color,
2396
2423
const size_t * origin,
@@ -2407,6 +2434,7 @@ cl_int CL_API_CALL clCommandFillImageKHR(
2407
2434
return dispatch_ptr->clCommandFillImageKHR (
2408
2435
command_buffer,
2409
2436
command_queue,
2437
+ properties,
2410
2438
image,
2411
2439
fill_color,
2412
2440
origin,
@@ -2420,7 +2448,7 @@ cl_int CL_API_CALL clCommandFillImageKHR(
2420
2448
cl_int CL_API_CALL clCommandNDRangeKernelKHR (
2421
2449
cl_command_buffer_khr command_buffer,
2422
2450
cl_command_queue command_queue,
2423
- const cl_ndrange_kernel_command_properties_khr * properties,
2451
+ const cl_command_properties_khr * properties,
2424
2452
cl_kernel kernel,
2425
2453
cl_uint work_dim,
2426
2454
const size_t * global_work_offset,
@@ -2472,6 +2500,7 @@ cl_int CL_API_CALL clGetCommandBufferInfoKHR(
2472
2500
cl_int CL_API_CALL clCommandSVMMemcpyKHR (
2473
2501
cl_command_buffer_khr command_buffer,
2474
2502
cl_command_queue command_queue,
2503
+ const cl_command_properties_khr* properties,
2475
2504
void * dst_ptr,
2476
2505
const void * src_ptr,
2477
2506
size_t size,
@@ -2487,6 +2516,7 @@ cl_int CL_API_CALL clCommandSVMMemcpyKHR(
2487
2516
return dispatch_ptr->clCommandSVMMemcpyKHR (
2488
2517
command_buffer,
2489
2518
command_queue,
2519
+ properties,
2490
2520
dst_ptr,
2491
2521
src_ptr,
2492
2522
size,
@@ -2499,6 +2529,7 @@ cl_int CL_API_CALL clCommandSVMMemcpyKHR(
2499
2529
cl_int CL_API_CALL clCommandSVMMemFillKHR (
2500
2530
cl_command_buffer_khr command_buffer,
2501
2531
cl_command_queue command_queue,
2532
+ const cl_command_properties_khr* properties,
2502
2533
void * svm_ptr,
2503
2534
const void * pattern,
2504
2535
size_t pattern_size,
@@ -2515,6 +2546,7 @@ cl_int CL_API_CALL clCommandSVMMemFillKHR(
2515
2546
return dispatch_ptr->clCommandSVMMemFillKHR (
2516
2547
command_buffer,
2517
2548
command_queue,
2549
+ properties,
2518
2550
svm_ptr,
2519
2551
pattern,
2520
2552
pattern_size,
@@ -2561,15 +2593,19 @@ cl_command_buffer_khr CL_API_CALL clRemapCommandBufferKHR(
2561
2593
2562
2594
cl_int CL_API_CALL clUpdateMutableCommandsKHR (
2563
2595
cl_command_buffer_khr command_buffer,
2564
- const cl_mutable_base_config_khr* mutable_config)
2596
+ cl_uint num_configs,
2597
+ const cl_command_buffer_update_type_khr* config_types,
2598
+ const void ** configs)
2565
2599
{
2566
2600
struct openclext_dispatch_table * dispatch_ptr = _get_dispatch (command_buffer);
2567
2601
if (dispatch_ptr == nullptr || dispatch_ptr->clUpdateMutableCommandsKHR == nullptr ) {
2568
2602
return CL_INVALID_OPERATION;
2569
2603
}
2570
2604
return dispatch_ptr->clUpdateMutableCommandsKHR (
2571
2605
command_buffer,
2572
- mutable_config);
2606
+ num_configs,
2607
+ config_types,
2608
+ configs);
2573
2609
}
2574
2610
2575
2611
cl_int CL_API_CALL clGetMutableCommandInfoKHR (
0 commit comments