@@ -3450,7 +3450,7 @@ urUSMHostAlloc(
3450
3450
ur_context_handle_t hContext, ///< [in] handle of the context object
3451
3451
const ur_usm_desc_t *pUSMDesc, ///< [in][optional] USM memory allocation descriptor
3452
3452
ur_usm_pool_handle_t pool, ///< [in][optional] Pointer to a pool created using urUSMPoolCreate
3453
- size_t size, ///< [in] size in bytes of the USM memory object to be allocated
3453
+ size_t size, ///< [in] minimum size in bytes of the USM memory object to be allocated
3454
3454
void **ppMem ///< [out] pointer to USM host memory object
3455
3455
);
3456
3456
@@ -3498,7 +3498,7 @@ urUSMDeviceAlloc(
3498
3498
ur_device_handle_t hDevice, ///< [in] handle of the device object
3499
3499
const ur_usm_desc_t *pUSMDesc, ///< [in][optional] USM memory allocation descriptor
3500
3500
ur_usm_pool_handle_t pool, ///< [in][optional] Pointer to a pool created using urUSMPoolCreate
3501
- size_t size, ///< [in] size in bytes of the USM memory object to be allocated
3501
+ size_t size, ///< [in] minimum size in bytes of the USM memory object to be allocated
3502
3502
void **ppMem ///< [out] pointer to USM device memory object
3503
3503
);
3504
3504
@@ -3547,7 +3547,7 @@ urUSMSharedAlloc(
3547
3547
ur_device_handle_t hDevice, ///< [in] handle of the device object
3548
3548
const ur_usm_desc_t *pUSMDesc, ///< [in][optional] Pointer to USM memory allocation descriptor.
3549
3549
ur_usm_pool_handle_t pool, ///< [in][optional] Pointer to a pool created using urUSMPoolCreate
3550
- size_t size, ///< [in] size in bytes of the USM memory object to be allocated
3550
+ size_t size, ///< [in] minimum size in bytes of the USM memory object to be allocated
3551
3551
void **ppMem ///< [out] pointer to USM shared memory object
3552
3552
);
3553
3553
@@ -4078,6 +4078,8 @@ typedef struct ur_program_properties_t {
4078
4078
///
4079
4079
/// @details
4080
4080
/// - The application may call this function from simultaneous threads.
4081
+ /// - The adapter may (but is not required to) perform validation of the
4082
+ /// provided module during this call.
4081
4083
///
4082
4084
/// @remarks
4083
4085
/// _Analogues_
@@ -4118,6 +4120,10 @@ urProgramCreateWithIL(
4118
4120
/// - Following a successful call to this entry point, `phProgram` will
4119
4121
/// contain a binary of type ::UR_PROGRAM_BINARY_TYPE_COMPILED_OBJECT or
4120
4122
/// ::UR_PROGRAM_BINARY_TYPE_LIBRARY for `hDevice`.
4123
+ /// - The device specified by `hDevice` must be device associated with
4124
+ /// context.
4125
+ /// - The adapter may (but is not required to) perform validation of the
4126
+ /// provided module during this call.
4121
4127
///
4122
4128
/// @remarks
4123
4129
/// _Analogues_
@@ -7982,6 +7988,9 @@ typedef struct ur_exp_command_buffer_desc_t {
7982
7988
///< ::UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC
7983
7989
const void *pNext; ///< [in][optional] pointer to extension-specific structure
7984
7990
ur_bool_t isUpdatable; ///< [in] Commands in a finalized command-buffer can be updated.
7991
+ ur_bool_t isInOrder; ///< [in] Commands in a command-buffer may be executed in-order without
7992
+ ///< explicit dependencies.
7993
+ ur_bool_t enableProfiling; ///< [in] Command-buffer profiling is enabled.
7985
7994
7986
7995
} ur_exp_command_buffer_desc_t;
7987
7996
@@ -8186,7 +8195,8 @@ urCommandBufferAppendKernelLaunchExp(
8186
8195
const size_t *pGlobalWorkSize, ///< [in] Global work size to use when executing kernel.
8187
8196
const size_t *pLocalWorkSize, ///< [in][optional] Local work size to use when executing kernel.
8188
8197
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8189
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8198
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8199
+ ///< be ignored if command-buffer is in-order.
8190
8200
ur_exp_command_buffer_sync_point_t *pSyncPoint, ///< [out][optional] Sync point associated with this command.
8191
8201
ur_exp_command_buffer_command_handle_t *phCommand ///< [out][optional] Handle to this command.
8192
8202
);
@@ -8222,7 +8232,8 @@ urCommandBufferAppendUSMMemcpyExp(
8222
8232
const void *pSrc, ///< [in] The data to be copied.
8223
8233
size_t size, ///< [in] The number of bytes to copy.
8224
8234
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8225
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8235
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8236
+ ///< be ignored if command-buffer is in-order.
8226
8237
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8227
8238
);
8228
8239
@@ -8261,7 +8272,8 @@ urCommandBufferAppendUSMFillExp(
8261
8272
size_t patternSize, ///< [in] size in bytes of the pattern.
8262
8273
size_t size, ///< [in] fill size in bytes, must be a multiple of patternSize.
8263
8274
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8264
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8275
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8276
+ ///< be ignored if command-buffer is in-order.
8265
8277
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8266
8278
);
8267
8279
@@ -8294,7 +8306,8 @@ urCommandBufferAppendMemBufferCopyExp(
8294
8306
size_t dstOffset, ///< [in] Offset into the destination memory
8295
8307
size_t size, ///< [in] The number of bytes to be copied.
8296
8308
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8297
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8309
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8310
+ ///< be ignored if command-buffer is in-order.
8298
8311
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8299
8312
);
8300
8313
@@ -8327,7 +8340,8 @@ urCommandBufferAppendMemBufferWriteExp(
8327
8340
size_t size, ///< [in] Size in bytes of data being written.
8328
8341
const void *pSrc, ///< [in] Pointer to host memory where data is to be written from.
8329
8342
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8330
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8343
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8344
+ ///< be ignored if command-buffer is in-order.
8331
8345
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8332
8346
);
8333
8347
@@ -8360,7 +8374,8 @@ urCommandBufferAppendMemBufferReadExp(
8360
8374
size_t size, ///< [in] Size in bytes of data being written.
8361
8375
void *pDst, ///< [in] Pointer to host memory where data is to be written to.
8362
8376
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8363
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8377
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8378
+ ///< be ignored if command-buffer is in-order.
8364
8379
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8365
8380
);
8366
8381
@@ -8397,7 +8412,8 @@ urCommandBufferAppendMemBufferCopyRectExp(
8397
8412
size_t dstRowPitch, ///< [in] Row pitch of the destination memory.
8398
8413
size_t dstSlicePitch, ///< [in] Slice pitch of the destination memory.
8399
8414
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8400
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8415
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8416
+ ///< be ignored if command-buffer is in-order.
8401
8417
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8402
8418
);
8403
8419
@@ -8438,7 +8454,8 @@ urCommandBufferAppendMemBufferWriteRectExp(
8438
8454
///< pointed to by pSrc.
8439
8455
void *pSrc, ///< [in] Pointer to host memory where data is to be written from.
8440
8456
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8441
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8457
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8458
+ ///< be ignored if command-buffer is in-order.
8442
8459
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8443
8460
);
8444
8461
@@ -8478,7 +8495,8 @@ urCommandBufferAppendMemBufferReadRectExp(
8478
8495
///< pointed to by pDst.
8479
8496
void *pDst, ///< [in] Pointer to host memory where data is to be read into.
8480
8497
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8481
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8498
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8499
+ ///< be ignored if command-buffer is in-order.
8482
8500
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] Sync point associated with this command.
8483
8501
);
8484
8502
@@ -8514,7 +8532,8 @@ urCommandBufferAppendMemBufferFillExp(
8514
8532
size_t offset, ///< [in] offset into the buffer.
8515
8533
size_t size, ///< [in] fill size in bytes, must be a multiple of patternSize.
8516
8534
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8517
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8535
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8536
+ ///< be ignored if command-buffer is in-order.
8518
8537
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8519
8538
);
8520
8539
@@ -8555,7 +8574,8 @@ urCommandBufferAppendUSMPrefetchExp(
8555
8574
size_t size, ///< [in] size in bytes to be fetched.
8556
8575
ur_usm_migration_flags_t flags, ///< [in] USM prefetch flags
8557
8576
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8558
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8577
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8578
+ ///< be ignored if command-buffer is in-order.
8559
8579
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8560
8580
);
8561
8581
@@ -8596,7 +8616,8 @@ urCommandBufferAppendUSMAdviseExp(
8596
8616
size_t size, ///< [in] size in bytes to be advised.
8597
8617
ur_usm_advice_flags_t advice, ///< [in] USM memory advice
8598
8618
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8599
- const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8619
+ const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on. May
8620
+ ///< be ignored if command-buffer is in-order.
8600
8621
ur_exp_command_buffer_sync_point_t *pSyncPoint ///< [out][optional] sync point associated with this command.
8601
8622
);
8602
8623
0 commit comments