.. index:: pair: namespace; dnnl .. _doxid-namespacednnl: namespace dnnl ============== .. toctree:: :hidden: namespace_dnnl_graph.rst oneDNN namespace .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace dnnl { // namespaces namespace :ref:`dnnl::graph`; namespace :ref:`dnnl::graph::sycl_interop`; namespace :ref:`dnnl::ocl_interop`; namespace :ref:`dnnl::sycl_interop`; namespace :ref:`dnnl::threadpool_interop`; // typedefs typedef :ref:`dnnl_version_t` :ref:`version_t`; // enums enum :ref:`accumulation_mode`; enum :ref:`algorithm`; enum :ref:`cpu_isa`; enum :ref:`cpu_isa_hints`; enum :ref:`fpmath_mode`; enum :ref:`normalization_flags`; enum :ref:`profiling_data_kind`; enum :ref:`prop_kind`; enum :ref:`query`; enum :ref:`rnn_direction`; enum :ref:`rnn_flags`; enum :ref:`scratchpad_mode`; enum :ref:`status`; // structs struct :ref:`augru_backward`; struct :ref:`augru_forward`; struct :ref:`batch_normalization_backward`; struct :ref:`batch_normalization_forward`; struct :ref:`binary`; struct :ref:`concat`; struct :ref:`convolution_backward_data`; struct :ref:`convolution_backward_weights`; struct :ref:`convolution_forward`; struct :ref:`deconvolution_backward_data`; struct :ref:`deconvolution_backward_weights`; struct :ref:`deconvolution_forward`; struct :ref:`eltwise_backward`; struct :ref:`eltwise_forward`; struct :ref:`engine`; struct :ref:`error`; struct :ref:`group_normalization_backward`; struct :ref:`group_normalization_forward`; struct :ref:`gru_backward`; struct :ref:`gru_forward`; template > struct :ref:`handle`; template struct :ref:`handle_traits`; struct :ref:`inner_product_backward_data`; struct :ref:`inner_product_backward_weights`; struct :ref:`inner_product_forward`; struct :ref:`layer_normalization_backward`; struct :ref:`layer_normalization_forward`; struct :ref:`lbr_augru_backward`; struct :ref:`lbr_augru_forward`; struct :ref:`lbr_gru_backward`; struct :ref:`lbr_gru_forward`; struct :ref:`lrn_backward`; struct :ref:`lrn_forward`; struct :ref:`lstm_backward`; struct :ref:`lstm_forward`; struct :ref:`matmul`; struct :ref:`memory`; struct :ref:`pooling_backward`; struct :ref:`pooling_forward`; struct :ref:`post_ops`; struct :ref:`prelu_backward`; struct :ref:`prelu_forward`; struct :ref:`primitive`; struct :ref:`primitive_attr`; struct :ref:`primitive_desc`; struct :ref:`primitive_desc_base`; struct :ref:`reduction`; struct :ref:`reorder`; struct :ref:`resampling_backward`; struct :ref:`resampling_forward`; struct :ref:`rnn_primitive_desc_base`; struct :ref:`shuffle_backward`; struct :ref:`shuffle_forward`; struct :ref:`softmax_backward`; struct :ref:`softmax_forward`; struct :ref:`stream`; struct :ref:`sum`; struct :ref:`vanilla_rnn_backward`; struct :ref:`vanilla_rnn_forward`; // global functions :ref:`dnnl_primitive_kind_t` :ref:`convert_to_c`(:ref:`primitive::kind` akind); :ref:`dnnl_scratchpad_mode_t` :ref:`convert_to_c`(:ref:`scratchpad_mode` mode); :ref:`dnnl_prop_kind_t` :ref:`convert_to_c`(:ref:`prop_kind` akind); :ref:`dnnl_alg_kind_t` :ref:`convert_to_c`(:ref:`algorithm` aalgorithm); :ref:`dnnl_normalization_flags_t` :ref:`convert_to_c`(:ref:`normalization_flags` flags); :ref:`dnnl_rnn_flags_t` :ref:`convert_to_c`(:ref:`rnn_flags` flags); :ref:`dnnl_rnn_direction_t` :ref:`convert_to_c`(:ref:`rnn_direction` dir); :ref:`dnnl_query_t` :ref:`convert_to_c`(:ref:`query` aquery); bool :target:`operator ==` (:ref:`dnnl_data_type_t` a, :ref:`memory::data_type` b); bool :target:`operator !=` (:ref:`dnnl_data_type_t` a, :ref:`memory::data_type` b); bool :target:`operator ==` (:ref:`memory::data_type` a, :ref:`dnnl_data_type_t` b); bool :target:`operator !=` (:ref:`memory::data_type` a, :ref:`dnnl_data_type_t` b); bool :target:`operator ==` (:ref:`dnnl_format_tag_t` a, :ref:`memory::format_tag` b); bool :target:`operator !=` (:ref:`dnnl_format_tag_t` a, :ref:`memory::format_tag` b); bool :target:`operator ==` (:ref:`memory::format_tag` a, :ref:`dnnl_format_tag_t` b); bool :target:`operator !=` (:ref:`memory::format_tag` a, :ref:`dnnl_format_tag_t` b); :ref:`status` :ref:`set_verbose`(int level); const :ref:`version_t`* :ref:`version`(); :ref:`fpmath_mode` :ref:`get_default_fpmath_mode`(); :ref:`status` :ref:`set_default_fpmath_mode`(:ref:`fpmath_mode` mode); :ref:`status` :ref:`set_jit_dump`(int enable); :ref:`status` :ref:`set_jit_profiling_flags`(unsigned flags); :ref:`status` :ref:`set_jit_profiling_jitdumpdir`(const std::string& dir); :ref:`status` :ref:`set_max_cpu_isa`(:ref:`cpu_isa` isa); :ref:`cpu_isa` :ref:`get_effective_cpu_isa`(); :ref:`status` :ref:`set_cpu_isa_hints`(:ref:`cpu_isa_hints` isa_hints); :ref:`cpu_isa_hints` :ref:`get_cpu_isa_hints`(); void :ref:`reset_profiling`(:ref:`stream`& stream); std::vector :ref:`get_profiling_data`( :ref:`stream`& stream, :ref:`profiling_data_kind` data_kind ); int :ref:`get_primitive_cache_capacity`(); void :ref:`set_primitive_cache_capacity`(int capacity); :ref:`status` :ref:`sgemm`( char transa, char transb, :ref:`dnnl_dim_t` M, :ref:`dnnl_dim_t` N, :ref:`dnnl_dim_t` K, float alpha, const float* A, :ref:`dnnl_dim_t` lda, const float* B, :ref:`dnnl_dim_t` ldb, float beta, float* C, :ref:`dnnl_dim_t` ldc ); :ref:`status` :ref:`gemm_u8s8s32`( char transa, char transb, char offsetc, :ref:`dnnl_dim_t` M, :ref:`dnnl_dim_t` N, :ref:`dnnl_dim_t` K, float alpha, const uint8_t* A, :ref:`dnnl_dim_t` lda, uint8_t ao, const int8_t* B, :ref:`dnnl_dim_t` ldb, int8_t bo, float beta, int32_t* C, :ref:`dnnl_dim_t` ldc, const int32_t* co ); :ref:`status` :ref:`gemm_s8s8s32`( char transa, char transb, char offsetc, :ref:`dnnl_dim_t` M, :ref:`dnnl_dim_t` N, :ref:`dnnl_dim_t` K, float alpha, const int8_t* A, :ref:`dnnl_dim_t` lda, int8_t ao, const int8_t* B, :ref:`dnnl_dim_t` ldb, int8_t bo, float beta, int32_t* C, :ref:`dnnl_dim_t` ldc, const int32_t* co ); :ref:`dnnl_engine_kind_t` :ref:`convert_to_c`(:ref:`engine::kind` akind); :ref:`dnnl_fpmath_mode_t` :ref:`convert_to_c`(:ref:`fpmath_mode` mode); :ref:`dnnl_accumulation_mode_t` :ref:`convert_to_c`(:ref:`accumulation_mode` mode); } // namespace dnnl