@@ -3237,13 +3237,16 @@ typedef enum ur_usm_advice_flag_t {
3237
3237
UR_USM_ADVICE_FLAG_CLEAR_ACCESSED_BY_HOST = UR_BIT(12), ///< Removes the affect of ::UR_USM_ADVICE_FLAG_SET_ACCESSED_BY_HOST
3238
3238
UR_USM_ADVICE_FLAG_SET_PREFERRED_LOCATION_HOST = UR_BIT(13), ///< Hint that the preferred memory location is the host
3239
3239
UR_USM_ADVICE_FLAG_CLEAR_PREFERRED_LOCATION_HOST = UR_BIT(14), ///< Removes the affect of ::UR_USM_ADVICE_FLAG_SET_PREFERRED_LOCATION_HOST
3240
+ UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY = UR_BIT(15), ///< Hint that memory coherence will be coarse-grained (up-to-date only at
3241
+ ///< kernel boundaries)
3242
+ UR_USM_ADVICE_FLAG_CLEAR_NON_COHERENT_MEMORY = UR_BIT(16), ///< Removes the effect of ::UR_USM_ADVICE_FLAG_SET_NON_COHERENT_MEMORY
3240
3243
/// @cond
3241
3244
UR_USM_ADVICE_FLAG_FORCE_UINT32 = 0x7fffffff
3242
3245
/// @endcond
3243
3246
3244
3247
} ur_usm_advice_flag_t;
3245
3248
/// @brief Bit Mask for validating ur_usm_advice_flags_t
3246
- #define UR_USM_ADVICE_FLAGS_MASK 0xffff8000
3249
+ #define UR_USM_ADVICE_FLAGS_MASK 0xfffe0000
3247
3250
3248
3251
///////////////////////////////////////////////////////////////////////////////
3249
3252
/// @brief Handle of USM pool
@@ -9373,6 +9376,83 @@ typedef struct ur_kernel_suggest_max_cooperative_group_count_exp_params_t {
9373
9376
uint32_t **ppGroupCountRet;
9374
9377
} ur_kernel_suggest_max_cooperative_group_count_exp_params_t;
9375
9378
9379
+ ///////////////////////////////////////////////////////////////////////////////
9380
+ /// @brief Function parameters for urQueueGetInfo
9381
+ /// @details Each entry is a pointer to the parameter passed to the function;
9382
+ /// allowing the callback the ability to modify the parameter's value
9383
+ typedef struct ur_queue_get_info_params_t {
9384
+ ur_queue_handle_t *phQueue;
9385
+ ur_queue_info_t *ppropName;
9386
+ size_t *ppropSize;
9387
+ void **ppPropValue;
9388
+ size_t **ppPropSizeRet;
9389
+ } ur_queue_get_info_params_t;
9390
+
9391
+ ///////////////////////////////////////////////////////////////////////////////
9392
+ /// @brief Function parameters for urQueueCreate
9393
+ /// @details Each entry is a pointer to the parameter passed to the function;
9394
+ /// allowing the callback the ability to modify the parameter's value
9395
+ typedef struct ur_queue_create_params_t {
9396
+ ur_context_handle_t *phContext;
9397
+ ur_device_handle_t *phDevice;
9398
+ const ur_queue_properties_t **ppProperties;
9399
+ ur_queue_handle_t **pphQueue;
9400
+ } ur_queue_create_params_t;
9401
+
9402
+ ///////////////////////////////////////////////////////////////////////////////
9403
+ /// @brief Function parameters for urQueueRetain
9404
+ /// @details Each entry is a pointer to the parameter passed to the function;
9405
+ /// allowing the callback the ability to modify the parameter's value
9406
+ typedef struct ur_queue_retain_params_t {
9407
+ ur_queue_handle_t *phQueue;
9408
+ } ur_queue_retain_params_t;
9409
+
9410
+ ///////////////////////////////////////////////////////////////////////////////
9411
+ /// @brief Function parameters for urQueueRelease
9412
+ /// @details Each entry is a pointer to the parameter passed to the function;
9413
+ /// allowing the callback the ability to modify the parameter's value
9414
+ typedef struct ur_queue_release_params_t {
9415
+ ur_queue_handle_t *phQueue;
9416
+ } ur_queue_release_params_t;
9417
+
9418
+ ///////////////////////////////////////////////////////////////////////////////
9419
+ /// @brief Function parameters for urQueueGetNativeHandle
9420
+ /// @details Each entry is a pointer to the parameter passed to the function;
9421
+ /// allowing the callback the ability to modify the parameter's value
9422
+ typedef struct ur_queue_get_native_handle_params_t {
9423
+ ur_queue_handle_t *phQueue;
9424
+ ur_queue_native_desc_t **ppDesc;
9425
+ ur_native_handle_t **pphNativeQueue;
9426
+ } ur_queue_get_native_handle_params_t;
9427
+
9428
+ ///////////////////////////////////////////////////////////////////////////////
9429
+ /// @brief Function parameters for urQueueCreateWithNativeHandle
9430
+ /// @details Each entry is a pointer to the parameter passed to the function;
9431
+ /// allowing the callback the ability to modify the parameter's value
9432
+ typedef struct ur_queue_create_with_native_handle_params_t {
9433
+ ur_native_handle_t *phNativeQueue;
9434
+ ur_context_handle_t *phContext;
9435
+ ur_device_handle_t *phDevice;
9436
+ const ur_queue_native_properties_t **ppProperties;
9437
+ ur_queue_handle_t **pphQueue;
9438
+ } ur_queue_create_with_native_handle_params_t;
9439
+
9440
+ ///////////////////////////////////////////////////////////////////////////////
9441
+ /// @brief Function parameters for urQueueFinish
9442
+ /// @details Each entry is a pointer to the parameter passed to the function;
9443
+ /// allowing the callback the ability to modify the parameter's value
9444
+ typedef struct ur_queue_finish_params_t {
9445
+ ur_queue_handle_t *phQueue;
9446
+ } ur_queue_finish_params_t;
9447
+
9448
+ ///////////////////////////////////////////////////////////////////////////////
9449
+ /// @brief Function parameters for urQueueFlush
9450
+ /// @details Each entry is a pointer to the parameter passed to the function;
9451
+ /// allowing the callback the ability to modify the parameter's value
9452
+ typedef struct ur_queue_flush_params_t {
9453
+ ur_queue_handle_t *phQueue;
9454
+ } ur_queue_flush_params_t;
9455
+
9376
9456
///////////////////////////////////////////////////////////////////////////////
9377
9457
/// @brief Function parameters for urSamplerCreate
9378
9458
/// @details Each entry is a pointer to the parameter passed to the function;
@@ -10037,83 +10117,6 @@ typedef struct ur_enqueue_cooperative_kernel_launch_exp_params_t {
10037
10117
ur_event_handle_t **pphEvent;
10038
10118
} ur_enqueue_cooperative_kernel_launch_exp_params_t;
10039
10119
10040
- ///////////////////////////////////////////////////////////////////////////////
10041
- /// @brief Function parameters for urQueueGetInfo
10042
- /// @details Each entry is a pointer to the parameter passed to the function;
10043
- /// allowing the callback the ability to modify the parameter's value
10044
- typedef struct ur_queue_get_info_params_t {
10045
- ur_queue_handle_t *phQueue;
10046
- ur_queue_info_t *ppropName;
10047
- size_t *ppropSize;
10048
- void **ppPropValue;
10049
- size_t **ppPropSizeRet;
10050
- } ur_queue_get_info_params_t;
10051
-
10052
- ///////////////////////////////////////////////////////////////////////////////
10053
- /// @brief Function parameters for urQueueCreate
10054
- /// @details Each entry is a pointer to the parameter passed to the function;
10055
- /// allowing the callback the ability to modify the parameter's value
10056
- typedef struct ur_queue_create_params_t {
10057
- ur_context_handle_t *phContext;
10058
- ur_device_handle_t *phDevice;
10059
- const ur_queue_properties_t **ppProperties;
10060
- ur_queue_handle_t **pphQueue;
10061
- } ur_queue_create_params_t;
10062
-
10063
- ///////////////////////////////////////////////////////////////////////////////
10064
- /// @brief Function parameters for urQueueRetain
10065
- /// @details Each entry is a pointer to the parameter passed to the function;
10066
- /// allowing the callback the ability to modify the parameter's value
10067
- typedef struct ur_queue_retain_params_t {
10068
- ur_queue_handle_t *phQueue;
10069
- } ur_queue_retain_params_t;
10070
-
10071
- ///////////////////////////////////////////////////////////////////////////////
10072
- /// @brief Function parameters for urQueueRelease
10073
- /// @details Each entry is a pointer to the parameter passed to the function;
10074
- /// allowing the callback the ability to modify the parameter's value
10075
- typedef struct ur_queue_release_params_t {
10076
- ur_queue_handle_t *phQueue;
10077
- } ur_queue_release_params_t;
10078
-
10079
- ///////////////////////////////////////////////////////////////////////////////
10080
- /// @brief Function parameters for urQueueGetNativeHandle
10081
- /// @details Each entry is a pointer to the parameter passed to the function;
10082
- /// allowing the callback the ability to modify the parameter's value
10083
- typedef struct ur_queue_get_native_handle_params_t {
10084
- ur_queue_handle_t *phQueue;
10085
- ur_queue_native_desc_t **ppDesc;
10086
- ur_native_handle_t **pphNativeQueue;
10087
- } ur_queue_get_native_handle_params_t;
10088
-
10089
- ///////////////////////////////////////////////////////////////////////////////
10090
- /// @brief Function parameters for urQueueCreateWithNativeHandle
10091
- /// @details Each entry is a pointer to the parameter passed to the function;
10092
- /// allowing the callback the ability to modify the parameter's value
10093
- typedef struct ur_queue_create_with_native_handle_params_t {
10094
- ur_native_handle_t *phNativeQueue;
10095
- ur_context_handle_t *phContext;
10096
- ur_device_handle_t *phDevice;
10097
- const ur_queue_native_properties_t **ppProperties;
10098
- ur_queue_handle_t **pphQueue;
10099
- } ur_queue_create_with_native_handle_params_t;
10100
-
10101
- ///////////////////////////////////////////////////////////////////////////////
10102
- /// @brief Function parameters for urQueueFinish
10103
- /// @details Each entry is a pointer to the parameter passed to the function;
10104
- /// allowing the callback the ability to modify the parameter's value
10105
- typedef struct ur_queue_finish_params_t {
10106
- ur_queue_handle_t *phQueue;
10107
- } ur_queue_finish_params_t;
10108
-
10109
- ///////////////////////////////////////////////////////////////////////////////
10110
- /// @brief Function parameters for urQueueFlush
10111
- /// @details Each entry is a pointer to the parameter passed to the function;
10112
- /// allowing the callback the ability to modify the parameter's value
10113
- typedef struct ur_queue_flush_params_t {
10114
- ur_queue_handle_t *phQueue;
10115
- } ur_queue_flush_params_t;
10116
-
10117
10120
///////////////////////////////////////////////////////////////////////////////
10118
10121
/// @brief Function parameters for urBindlessImagesUnsampledImageHandleDestroyExp
10119
10122
/// @details Each entry is a pointer to the parameter passed to the function;
0 commit comments