@@ -3449,7 +3449,7 @@ urUSMHostAlloc(
3449
3449
ur_context_handle_t hContext, ///< [in] handle of the context object
3450
3450
const ur_usm_desc_t *pUSMDesc, ///< [in][optional] USM memory allocation descriptor
3451
3451
ur_usm_pool_handle_t pool, ///< [in][optional] Pointer to a pool created using urUSMPoolCreate
3452
- size_t size, ///< [in] size in bytes of the USM memory object to be allocated
3452
+ size_t size, ///< [in] minimum size in bytes of the USM memory object to be allocated
3453
3453
void **ppMem ///< [out] pointer to USM host memory object
3454
3454
);
3455
3455
@@ -3497,7 +3497,7 @@ urUSMDeviceAlloc(
3497
3497
ur_device_handle_t hDevice, ///< [in] handle of the device object
3498
3498
const ur_usm_desc_t *pUSMDesc, ///< [in][optional] USM memory allocation descriptor
3499
3499
ur_usm_pool_handle_t pool, ///< [in][optional] Pointer to a pool created using urUSMPoolCreate
3500
- size_t size, ///< [in] size in bytes of the USM memory object to be allocated
3500
+ size_t size, ///< [in] minimum size in bytes of the USM memory object to be allocated
3501
3501
void **ppMem ///< [out] pointer to USM device memory object
3502
3502
);
3503
3503
@@ -3546,7 +3546,7 @@ urUSMSharedAlloc(
3546
3546
ur_device_handle_t hDevice, ///< [in] handle of the device object
3547
3547
const ur_usm_desc_t *pUSMDesc, ///< [in][optional] Pointer to USM memory allocation descriptor.
3548
3548
ur_usm_pool_handle_t pool, ///< [in][optional] Pointer to a pool created using urUSMPoolCreate
3549
- size_t size, ///< [in] size in bytes of the USM memory object to be allocated
3549
+ size_t size, ///< [in] minimum size in bytes of the USM memory object to be allocated
3550
3550
void **ppMem ///< [out] pointer to USM shared memory object
3551
3551
);
3552
3552
@@ -4077,6 +4077,8 @@ typedef struct ur_program_properties_t {
4077
4077
///
4078
4078
/// @details
4079
4079
/// - The application may call this function from simultaneous threads.
4080
+ /// - The adapter may (but is not required to) perform validation of the
4081
+ /// provided module during this call.
4080
4082
///
4081
4083
/// @remarks
4082
4084
/// _Analogues_
@@ -4117,6 +4119,10 @@ urProgramCreateWithIL(
4117
4119
/// - Following a successful call to this entry point, `phProgram` will
4118
4120
/// contain a binary of type ::UR_PROGRAM_BINARY_TYPE_COMPILED_OBJECT or
4119
4121
/// ::UR_PROGRAM_BINARY_TYPE_LIBRARY for `hDevice`.
4122
+ /// - The device specified by `hDevice` must be device associated with
4123
+ /// context.
4124
+ /// - The adapter may (but is not required to) perform validation of the
4125
+ /// provided module during this call.
4120
4126
///
4121
4127
/// @remarks
4122
4128
/// _Analogues_
@@ -8017,6 +8023,9 @@ typedef struct ur_exp_command_buffer_desc_t {
8017
8023
///< ::UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC
8018
8024
const void *pNext; ///< [in][optional] pointer to extension-specific structure
8019
8025
ur_bool_t isUpdatable; ///< [in] Commands in a finalized command-buffer can be updated.
8026
+ ur_bool_t isInOrder; ///< [in] Commands in a command-buffer may be executed in-order without
8027
+ ///< explicit dependencies.
8028
+ ur_bool_t enableProfiling; ///< [in] Command-buffer profiling is enabled.
8020
8029
8021
8030
} ur_exp_command_buffer_desc_t;
8022
8031
@@ -8221,7 +8230,8 @@ urCommandBufferAppendKernelLaunchExp(
8221
8230
const size_t *pGlobalWorkSize, ///< [in] Global work size to use when executing kernel.
8222
8231
const size_t *pLocalWorkSize, ///< [in][optional] Local work size to use when executing kernel.
8223
8232
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8224
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8233
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8234
+ ///< be ignored if command-buffer is in-order.
8225
8235
ur_exp_command_buffer_sync_point_t *pSyncPoint, ///< [out][optional] Sync point associated with this command.
8226
8236
ur_exp_command_buffer_command_handle_t *phCommand ///< [out][optional] Handle to this command.
8227
8237
);
@@ -8257,7 +8267,8 @@ urCommandBufferAppendUSMMemcpyExp(
8257
8267
const void *pSrc, ///< [in] The data to be copied.
8258
8268
size_t size, ///< [in] The number of bytes to copy.
8259
8269
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8260
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8270
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8271
+ ///< be ignored if command-buffer is in-order.
8261
8272
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8262
8273
);
8263
8274
@@ -8296,7 +8307,8 @@ urCommandBufferAppendUSMFillExp(
8296
8307
size_t patternSize, ///< [in] size in bytes of the pattern.
8297
8308
size_t size, ///< [in] fill size in bytes, must be a multiple of patternSize.
8298
8309
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8299
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8310
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8311
+ ///< be ignored if command-buffer is in-order.
8300
8312
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8301
8313
);
8302
8314
@@ -8329,7 +8341,8 @@ urCommandBufferAppendMemBufferCopyExp(
8329
8341
size_t dstOffset, ///< [in] Offset into the destination memory
8330
8342
size_t size, ///< [in] The number of bytes to be copied.
8331
8343
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8332
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8344
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8345
+ ///< be ignored if command-buffer is in-order.
8333
8346
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8334
8347
);
8335
8348
@@ -8362,7 +8375,8 @@ urCommandBufferAppendMemBufferWriteExp(
8362
8375
size_t size, ///< [in] Size in bytes of data being written.
8363
8376
const void *pSrc, ///< [in] Pointer to host memory where data is to be written from.
8364
8377
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8365
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8378
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8379
+ ///< be ignored if command-buffer is in-order.
8366
8380
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8367
8381
);
8368
8382
@@ -8395,7 +8409,8 @@ urCommandBufferAppendMemBufferReadExp(
8395
8409
size_t size, ///< [in] Size in bytes of data being written.
8396
8410
void *pDst, ///< [in] Pointer to host memory where data is to be written to.
8397
8411
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8398
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8412
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8413
+ ///< be ignored if command-buffer is in-order.
8399
8414
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8400
8415
);
8401
8416
@@ -8432,7 +8447,8 @@ urCommandBufferAppendMemBufferCopyRectExp(
8432
8447
size_t dstRowPitch, ///< [in] Row pitch of the destination memory.
8433
8448
size_t dstSlicePitch, ///< [in] Slice pitch of the destination memory.
8434
8449
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8435
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8450
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8451
+ ///< be ignored if command-buffer is in-order.
8436
8452
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8437
8453
);
8438
8454
@@ -8473,7 +8489,8 @@ urCommandBufferAppendMemBufferWriteRectExp(
8473
8489
///< pointed to by pSrc.
8474
8490
void *pSrc, ///< [in] Pointer to host memory where data is to be written from.
8475
8491
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8476
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8492
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8493
+ ///< be ignored if command-buffer is in-order.
8477
8494
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8478
8495
);
8479
8496
@@ -8513,7 +8530,8 @@ urCommandBufferAppendMemBufferReadRectExp(
8513
8530
///< pointed to by pDst.
8514
8531
void *pDst, ///< [in] Pointer to host memory where data is to be read into.
8515
8532
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8516
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8533
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8534
+ ///< be ignored if command-buffer is in-order.
8517
8535
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8518
8536
);
8519
8537
@@ -8549,7 +8567,8 @@ urCommandBufferAppendMemBufferFillExp(
8549
8567
size_t offset, ///< [in] offset into the buffer.
8550
8568
size_t size, ///< [in] fill size in bytes, must be a multiple of patternSize.
8551
8569
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8552
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8570
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8571
+ ///< be ignored if command-buffer is in-order.
8553
8572
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8554
8573
);
8555
8574
@@ -8590,7 +8609,8 @@ urCommandBufferAppendUSMPrefetchExp(
8590
8609
size_t size, ///< [in] size in bytes to be fetched.
8591
8610
ur_usm_migration_flags_t flags, ///< [in] USM prefetch flags
8592
8611
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8593
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8612
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8613
+ ///< be ignored if command-buffer is in-order.
8594
8614
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8595
8615
);
8596
8616
@@ -8631,7 +8651,8 @@ urCommandBufferAppendUSMAdviseExp(
8631
8651
size_t size, ///< [in] size in bytes to be advised.
8632
8652
ur_usm_advice_flags_t advice, ///< [in] USM memory advice
8633
8653
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8634
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8654
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8655
+ ///< be ignored if command-buffer is in-order.
8635
8656
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8636
8657
);
8637
8658
0 commit comments