Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update prebuilt && internal for 23Q2 release #617

Merged
merged 2 commits into from
Jul 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion prebuilt-sdk/x86_64_linux/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.4.14_CL650117A_D650117_A648302_R647402_T648811_O646970
6.4.15_CL690884A_D690855_A690484_R690194_T690259_O688896
15 changes: 15 additions & 0 deletions prebuilt-sdk/x86_64_linux/include/VX/vx_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -1340,6 +1340,21 @@ VX_API_ENTRY vx_status VX_API_CALL vxAssignNodeCallback(vx_node node, vx_nodecom
*/
VX_API_ENTRY vx_nodecomplete_f VX_API_CALL vxRetrieveNodeCallback(vx_node node);

/*! \brief Assigns a callback to a node.
* If a callback already exists in this node, this function must return an error
* and the user may clear the callback by passing a NULL pointer as the callback.
* \param [in] node The reference to the node.
* \param [in] callback The callback to associate with completion of this
* specific node.
* \warning This must be used with <b><i>extreme</i></b> caution as it can \e ruin
* optimizations in the power/performance efficiency of a graph.
* \return A <tt>\ref vx_status_e</tt> enumeration.
* \retval VX_SUCCESS Callback assigned; any other value indicates failure.
* \retval VX_ERROR_INVALID_REFERENCE node is not a valid <tt>\ref vx_node</tt> reference.
* \ingroup group_node_callback
*/
VX_API_ENTRY vx_status VX_API_CALL vxAssignNodeQueryCallback(vx_node node, vx_nodequery_f callback);

/*! \brief Sets the node target to the provided value. A success invalidates the graph
* that the node belongs to (<tt>\ref vxVerifyGraph</tt> must be called before the next execution)
* \param [in] node The reference to the <tt>\ref vx_node</tt> object.
Expand Down
34 changes: 34 additions & 0 deletions prebuilt-sdk/x86_64_linux/include/VX/vx_kernels.h
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,40 @@ enum vx_kernel_e {

VX_KERNEL_NN_BATCH_GEMM_RELU_POOLING_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x33,

VX_KERNEL_NN_FUSED_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x34,

VX_KERNEL_NN_CONVOLUTION_RELU_POOLING_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x35,

VX_KERNEL_NN_LAYER_NORMALIZATION_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x36,

VX_KERNEL_NN_INSTANCE_NORMALIZATION_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x37,

VX_KERNEL_NN_GROUP_NORMALIZATION_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x38,

VX_KERNEL_NN_LOGICAL_OPS_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x39,

VX_KERNEL_NN_LOGICAL_NOT_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x40,

VX_KERNEL_NN_RELATIONAL_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x41,

VX_KERNEL_NN_TENSOR_REDUCE_MAX = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x42,

VX_KERNEL_NN_MAXIMUM_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x43,

VX_KERNEL_NN_MINIMUM_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x44,

VX_KERNEL_NN_TENSOR_SELECT_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x45,

VX_KERNEL_NN_REDUCE_SUM_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x46,

VX_KERNEL_NN_GRU_CELL_ACTIVATION_Z_H_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x47,

VX_KERNEL_NN_GRU_CELL_H_TIMES_ACTIVATION_R_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x48,

VX_KERNEL_NN_GRU_CELL_RESET_AFTER_ACTIVATION_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x49,

VX_KERNEL_NN_LSTM_ACTIVATION_SP_LAYER = VX_KERNEL_BASE(VX_ID_VIVANTE, VX_LIBRARY_KHR_BASE) + 0x50,

VX_KERNEL_MAX_1_2, /*!< \internal Used for VX1.2 bounds checking in the conformance test. */
};

Expand Down
141 changes: 140 additions & 1 deletion prebuilt-sdk/x86_64_linux/include/VX/vx_khr_compatible.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ VX_STREAM_PROCESSOR_SUPPORT is used to declare that vsi openvx driver can suppor
1: support
*/
#ifndef VX_STREAM_PROCESSOR_SUPPORT
#define VX_STREAM_PROCESSOR_SUPPORT 0
#define VX_STREAM_PROCESSOR_SUPPORT 1
#endif

/*
Expand Down Expand Up @@ -258,5 +258,144 @@ VX_STREAM_PROCESSOR_SUPPORT is used to declare that vsi openvx driver can suppor
#define VX_ACTIVATION_EXT2_SUPPORT 1
#endif

/*
VX_TENSORVIEW_ON_ANY_DIM is used to declare that ovxlib can do optimization for all concat node(all dimision) to tensor view if possiable, not only channel.
[value]
0: disable
1: enable
*/
#ifndef VX_TENSORVIEW_ON_ANY_DIM
#define VX_TENSORVIEW_ON_ANY_DIM 0
#endif

/*
VX_DEPTH2SPACE_CRD_MODE_SUPPORT is used to declare that SPACE2DEPTH can support CRD mode
[value]
0: not support
1: support
*/
#ifndef VX_DEPTH2SPACE_CRD_MODE_SUPPORT
#define VX_DEPTH2SPACE_CRD_MODE_SUPPORT 1
#endif

/*
VX_LAYER_NORMALIZATION_VX_SUPPORT is used to declare driver support layer normalization layer.
[value]
0: not support
1: support
*/
#ifndef VX_LAYER_NORMALIZATION_VX_SUPPORT
#define VX_LAYER_NORMALIZATION_VX_SUPPORT 1
#endif

/*
VX_LAYER_NORMALIZATION_VX_SUPPORT is used to declare driver support layer normalization layer.
[value]
0: not support
1: support
*/
#ifndef VX_INSTANCE_NORMALIZATION_VX_SUPPORT
#define VX_INSTANCE_NORMALIZATION_VX_SUPPORT 1
#endif

/*
VX_GROUP_NORMALIZATION_VX_SUPPORT is used to declare driver support layer normalization layer.
[value]
0: not support
1: support
*/
#ifndef VX_GROUP_NORMALIZATION_VX_SUPPORT
#define VX_GROUP_NORMALIZATION_VX_SUPPORT 1
#endif

/*
VX_LOGICAL_VX_SUPPORT is used to declare driver support layer logical related layer.
[value]
0: not support
1: support
*/
#ifndef VX_LOGICAL_VX_SUPPORT
#define VX_LOGICAL_VX_SUPPORT 1
#endif

/*
VX_RELATIONAL_OPS_VX_SUPPORT is used to declare driver support layer relational related layer.
[value]
0: not support
1: support
*/
#ifndef VX_RELATIONAL_OPS_VX_SUPPORT
#define VX_RELATIONAL_OPS_VX_SUPPORT 1
#endif

/*
VX_REDUCE_MAX_VX_SUPPORT is used to declare driver support layer reduce max layer.
[value]
0: not support
1: support
*/
#ifndef VX_REDUCE_MAX_VX_SUPPORT
#define VX_REDUCE_MAX_VX_SUPPORT 1
#endif

/*
VX_REDUCE_MEAN_VX_SUPPORT is used to declare driver support layer reduce mean layer.
[value]
0: not support
1: support
*/
#ifndef VX_REDUCE_MEAN_VX_SUPPORT
#define VX_REDUCE_MEAN_VX_SUPPORT 1
#endif

/*
VX_REDUCE_SUM_VX_SUPPORT is used to declare driver support layer reduce sum layer.
[value]
0: not support
1: support
*/
#ifndef VX_REDUCE_SUM_VX_SUPPORT
#define VX_REDUCE_SUM_VX_SUPPORT 1
#endif

/*
VX_MAX_MIN_IMUM_VX_SUPPORT is used to declare driver support maximum and minimum layer.
[value]
0: not support
1: support
*/
#ifndef VX_MAX_MIN_IMUM_VX_SUPPORT
#define VX_MAX_MIN_IMUM_VX_SUPPORT 1
#endif

/*
VX_TENSOR_SELECR_VX_SUPPORT is used to declare driver support tensor select layer.
[value]
0: not support
1: support
*/
#ifndef VX_TENSOR_SELECT_VX_SUPPORT
#define VX_TENSOR_SELECT_VX_SUPPORT 1
#endif

/*
VX_GRU_CELL_VX_SUPPORT is used to declare driver support gru cell layer.
[value]
0: not support
1: support
*/
#ifndef VX_GRU_CELL_VX_SUPPORT
#define VX_GRU_CELL_VX_SUPPORT 1
#endif

/*
VX_LSTM_ACTIVATION_SUPPORT is used to declare driver support gru cell layer.
[value]
0: not support
1: support
*/
#ifndef VX_LSTM_ACTIVATION_SUPPORT
#define VX_LSTM_ACTIVATION_SUPPORT 1
#endif

#endif /* __VX_KHR_COMPATIBLE_H__ */
Loading