@@ -3237,13 +3237,16 @@ typedef enum ur_usm_advice_flag_t {
32373237 UR_USM_ADVICE_FLAG_CLEAR_ACCESSED_BY_HOST = UR_BIT(12), ///< Removes the affect of ::UR_USM_ADVICE_FLAG_SET_ACCESSED_BY_HOST
32383238 UR_USM_ADVICE_FLAG_SET_PREFERRED_LOCATION_HOST = UR_BIT(13), ///< Hint that the preferred memory location is the host
32393239 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
32403243 /// @cond
32413244 UR_USM_ADVICE_FLAG_FORCE_UINT32 = 0x7fffffff
32423245 /// @endcond
32433246
32443247} ur_usm_advice_flag_t;
32453248/// @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
32473250
32483251///////////////////////////////////////////////////////////////////////////////
32493252/// @brief Handle of USM pool
@@ -9373,6 +9376,83 @@ typedef struct ur_kernel_suggest_max_cooperative_group_count_exp_params_t {
93739376 uint32_t **ppGroupCountRet;
93749377} ur_kernel_suggest_max_cooperative_group_count_exp_params_t;
93759378
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+
93769456///////////////////////////////////////////////////////////////////////////////
93779457/// @brief Function parameters for urSamplerCreate
93789458/// @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 {
1003710117 ur_event_handle_t **pphEvent;
1003810118} ur_enqueue_cooperative_kernel_launch_exp_params_t;
1003910119
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-
1011710120///////////////////////////////////////////////////////////////////////////////
1011810121/// @brief Function parameters for urBindlessImagesUnsampledImageHandleDestroyExp
1011910122/// @details Each entry is a pointer to the parameter passed to the function;
0 commit comments