@@ -7979,6 +7979,9 @@ typedef struct ur_exp_command_buffer_desc_t {
7979
7979
///< ::UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC
7980
7980
const void *pNext; ///< [in][optional] pointer to extension-specific structure
7981
7981
ur_bool_t isUpdatable; ///< [in] Commands in a finalized command-buffer can be updated.
7982
+ ur_bool_t isInOrder; ///< [in] Commands in a command-buffer may be executed in-order without
7983
+ ///< explicit dependencies.
7984
+ ur_bool_t enableProfiling; ///< [in] Command-buffer profiling is enabled.
7982
7985
7983
7986
} ur_exp_command_buffer_desc_t;
7984
7987
@@ -8183,7 +8186,8 @@ urCommandBufferAppendKernelLaunchExp(
8183
8186
const size_t *pGlobalWorkSize, ///< [in] Global work size to use when executing kernel.
8184
8187
const size_t *pLocalWorkSize, ///< [in][optional] Local work size to use when executing kernel.
8185
8188
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8186
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8189
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8190
+ ///< be ignored if command-buffer is in-order.
8187
8191
ur_exp_command_buffer_sync_point_t *pSyncPoint, ///< [out][optional] Sync point associated with this command.
8188
8192
ur_exp_command_buffer_command_handle_t *phCommand ///< [out][optional] Handle to this command.
8189
8193
);
@@ -8219,7 +8223,8 @@ urCommandBufferAppendUSMMemcpyExp(
8219
8223
const void *pSrc, ///< [in] The data to be copied.
8220
8224
size_t size, ///< [in] The number of bytes to copy.
8221
8225
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8222
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8226
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8227
+ ///< be ignored if command-buffer is in-order.
8223
8228
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8224
8229
);
8225
8230
@@ -8258,7 +8263,8 @@ urCommandBufferAppendUSMFillExp(
8258
8263
size_t patternSize, ///< [in] size in bytes of the pattern.
8259
8264
size_t size, ///< [in] fill size in bytes, must be a multiple of patternSize.
8260
8265
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8261
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8266
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8267
+ ///< be ignored if command-buffer is in-order.
8262
8268
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8263
8269
);
8264
8270
@@ -8291,7 +8297,8 @@ urCommandBufferAppendMemBufferCopyExp(
8291
8297
size_t dstOffset, ///< [in] Offset into the destination memory
8292
8298
size_t size, ///< [in] The number of bytes to be copied.
8293
8299
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8294
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8300
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8301
+ ///< be ignored if command-buffer is in-order.
8295
8302
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8296
8303
);
8297
8304
@@ -8324,7 +8331,8 @@ urCommandBufferAppendMemBufferWriteExp(
8324
8331
size_t size, ///< [in] Size in bytes of data being written.
8325
8332
const void *pSrc, ///< [in] Pointer to host memory where data is to be written from.
8326
8333
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8327
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8334
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8335
+ ///< be ignored if command-buffer is in-order.
8328
8336
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8329
8337
);
8330
8338
@@ -8357,7 +8365,8 @@ urCommandBufferAppendMemBufferReadExp(
8357
8365
size_t size, ///< [in] Size in bytes of data being written.
8358
8366
void *pDst, ///< [in] Pointer to host memory where data is to be written to.
8359
8367
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8360
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8368
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8369
+ ///< be ignored if command-buffer is in-order.
8361
8370
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8362
8371
);
8363
8372
@@ -8394,7 +8403,8 @@ urCommandBufferAppendMemBufferCopyRectExp(
8394
8403
size_t dstRowPitch, ///< [in] Row pitch of the destination memory.
8395
8404
size_t dstSlicePitch, ///< [in] Slice pitch of the destination memory.
8396
8405
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8397
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8406
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8407
+ ///< be ignored if command-buffer is in-order.
8398
8408
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8399
8409
);
8400
8410
@@ -8435,7 +8445,8 @@ urCommandBufferAppendMemBufferWriteRectExp(
8435
8445
///< pointed to by pSrc.
8436
8446
void *pSrc, ///< [in] Pointer to host memory where data is to be written from.
8437
8447
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8438
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8448
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8449
+ ///< be ignored if command-buffer is in-order.
8439
8450
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8440
8451
);
8441
8452
@@ -8475,7 +8486,8 @@ urCommandBufferAppendMemBufferReadRectExp(
8475
8486
///< pointed to by pDst.
8476
8487
void *pDst, ///< [in] Pointer to host memory where data is to be read into.
8477
8488
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8478
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8489
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8490
+ ///< be ignored if command-buffer is in-order.
8479
8491
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8480
8492
);
8481
8493
@@ -8511,7 +8523,8 @@ urCommandBufferAppendMemBufferFillExp(
8511
8523
size_t offset, ///< [in] offset into the buffer.
8512
8524
size_t size, ///< [in] fill size in bytes, must be a multiple of patternSize.
8513
8525
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8514
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8526
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8527
+ ///< be ignored if command-buffer is in-order.
8515
8528
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8516
8529
);
8517
8530
@@ -8552,7 +8565,8 @@ urCommandBufferAppendUSMPrefetchExp(
8552
8565
size_t size, ///< [in] size in bytes to be fetched.
8553
8566
ur_usm_migration_flags_t flags, ///< [in] USM prefetch flags
8554
8567
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8555
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8568
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8569
+ ///< be ignored if command-buffer is in-order.
8556
8570
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8557
8571
);
8558
8572
@@ -8593,7 +8607,8 @@ urCommandBufferAppendUSMAdviseExp(
8593
8607
size_t size, ///< [in] size in bytes to be advised.
8594
8608
ur_usm_advice_flags_t advice, ///< [in] USM memory advice
8595
8609
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8596
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8610
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8611
+ ///< be ignored if command-buffer is in-order.
8597
8612
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8598
8613
);
8599
8614
0 commit comments