[][src]Crate onednn_sys

Structs

__fsid_t
dnnl_batch_normalization_desc_t

A descriptor of a Batch Normalization operation.

dnnl_binary_desc_t

A descriptor of a binary operation.

dnnl_blocking_desc_t

Generic description of blocked data layout for most memory formats.

dnnl_convolution_desc_t

A descriptor of a convolution operation.

dnnl_eltwise_desc_t

A descriptor of a element-wise operation.

dnnl_engine

@struct dnnl_engine @brief An opaque structure to describe an engine.

dnnl_exec_arg_t

A structure that contains an index and a memory object, and is used to pass arguments to dnnl_primitive_execute().

dnnl_inner_product_desc_t

A descriptor of an inner product operation.

dnnl_layer_normalization_desc_t

A descriptor of a Layer Normalization operation.

dnnl_lrn_desc_t

A descriptor of a Local Response Normalization (LRN) operation.

dnnl_matmul_desc_t

A descriptor of a matrix multiplication operation.

dnnl_memory

@struct dnnl_memory An opaque structure to describe a memory.

dnnl_memory_desc_t

Memory descriptor. The description is based on a number of dimensions, dimensions themselves, plus information about elements type and memory format. Additionally, contains format-specific descriptions of the data layout.

dnnl_memory_extra_desc_t

Description of extra information stored in memory

dnnl_pooling_desc_t

A descriptor of a pooling operation.

dnnl_post_ops

@struct dnnl_post_ops @brief An opaque structure for a chain of post operations.

dnnl_primitive

@struct dnnl_primitive An opaque structure to describe a primitive.

dnnl_primitive_attr

@struct dnnl_primitive_attr @brief An opaque structure for primitive descriptor attributes.

dnnl_primitive_desc

@struct dnnl_primitive_desc @brief An opaque structure to describe a primitive descriptor.

dnnl_primitive_desc_iterator

@struct dnnl_primitive_desc_iterator @brief An opaque structure to describe a primitive descriptor iterator.

dnnl_resampling_desc_t

A descriptor of resampling operation.

dnnl_rnn_desc_t

A descriptor for an RNN operation.

dnnl_rnn_packed_desc_t

Description of tensor of packed weights for rnn.

dnnl_shuffle_desc_t

A descriptor of a shuffle operation.

dnnl_softmax_desc_t

A descriptor of a Softmax operation.

dnnl_stream

@struct dnnl_stream An opaque structure to describe an execution stream.

dnnl_stream_attr

An opaque structure to describe execution stream attrbutes.

dnnl_version_t

Structure containing version information as per Semantic Versioning

dnnl_wino_desc_t

Description of tensor of weights for winograd 2x3 convolution.

max_align_t

Enums

dnnl_alg_kind_t

Kinds of algorithms.

dnnl_cpu_isa_t

CPU instruction set flags

dnnl_data_type_t

Data type specification

dnnl_engine_kind_t

@brief Kinds of engines.

dnnl_format_kind_t

Memory format kind

dnnl_format_tag_t

Memory format tag specification.

dnnl_memory_extra_flags_t

Flags for memory special features

dnnl_normalization_flags_t

Flags for normalization primitives.

dnnl_primitive_kind_t

Kinds of primitives. Used to implement a way to extend the library with new primitives without changing the ABI.

dnnl_prop_kind_t

Kinds of propagation.

dnnl_query_t

Primitive descriptor query specification

dnnl_rnn_direction_t

A direction of RNN primitive execution.

dnnl_rnn_flags_t

Flags for RNN cell.

dnnl_rnn_packed_memory_format_t
dnnl_scratchpad_mode_t

Scratchpad mode

dnnl_status_t

Status values returned by the library functions.

dnnl_stream_flags_t

@brief Stream flags.

dnnl_wino_memory_format_t

Winograd-specific formats

Constants

DNNL_ARG_ATTR_OUTPUT_SCALES
DNNL_ARG_ATTR_POST_OP_DW
DNNL_ARG_ATTR_ZERO_POINTS
DNNL_ARG_BIAS
DNNL_ARG_DIFF_BIAS
DNNL_ARG_DIFF_DST
DNNL_ARG_DIFF_DST_0
DNNL_ARG_DIFF_DST_1
DNNL_ARG_DIFF_DST_2
DNNL_ARG_DIFF_DST_ITER
DNNL_ARG_DIFF_DST_ITER_C
DNNL_ARG_DIFF_DST_LAYER
DNNL_ARG_DIFF_SCALE_SHIFT
DNNL_ARG_DIFF_SRC
DNNL_ARG_DIFF_SRC_0
DNNL_ARG_DIFF_SRC_1
DNNL_ARG_DIFF_SRC_2
DNNL_ARG_DIFF_SRC_ITER
DNNL_ARG_DIFF_SRC_ITER_C
DNNL_ARG_DIFF_SRC_LAYER
DNNL_ARG_DIFF_WEIGHTS
DNNL_ARG_DIFF_WEIGHTS_0
DNNL_ARG_DIFF_WEIGHTS_1
DNNL_ARG_DIFF_WEIGHTS_2
DNNL_ARG_DIFF_WEIGHTS_3
DNNL_ARG_DIFF_WEIGHTS_ITER
DNNL_ARG_DIFF_WEIGHTS_LAYER
DNNL_ARG_DIFF_WEIGHTS_PEEPHOLE
DNNL_ARG_DIFF_WEIGHTS_PROJECTION
DNNL_ARG_DST
DNNL_ARG_DST_0
DNNL_ARG_DST_1
DNNL_ARG_DST_2
DNNL_ARG_DST_ITER
DNNL_ARG_DST_ITER_C
DNNL_ARG_DST_LAYER
DNNL_ARG_FROM
DNNL_ARG_MEAN
DNNL_ARG_MULTIPLE_DST
DNNL_ARG_MULTIPLE_SRC
DNNL_ARG_SCALE_SHIFT
DNNL_ARG_SCRATCHPAD
DNNL_ARG_SRC
DNNL_ARG_SRC_0
DNNL_ARG_SRC_1
DNNL_ARG_SRC_2
DNNL_ARG_SRC_ITER
DNNL_ARG_SRC_ITER_C
DNNL_ARG_SRC_LAYER
DNNL_ARG_TO
DNNL_ARG_VARIANCE
DNNL_ARG_WEIGHTS
DNNL_ARG_WEIGHTS_0
DNNL_ARG_WEIGHTS_1
DNNL_ARG_WEIGHTS_2
DNNL_ARG_WEIGHTS_3
DNNL_ARG_WEIGHTS_ITER
DNNL_ARG_WEIGHTS_LAYER
DNNL_ARG_WEIGHTS_PEEPHOLE
DNNL_ARG_WEIGHTS_PROJECTION
DNNL_ARG_WORKSPACE
DNNL_CPU_RUNTIME
DNNL_CPU_THREADING_RUNTIME
DNNL_GPU_RUNTIME
DNNL_JIT_PROFILE_LINUX_JITDUMP
DNNL_JIT_PROFILE_LINUX_JITDUMP_USE_TSC
DNNL_JIT_PROFILE_LINUX_PERF
DNNL_JIT_PROFILE_LINUX_PERFMAP
DNNL_JIT_PROFILE_NONE
DNNL_JIT_PROFILE_VTUNE
DNNL_MAX_NDIMS
DNNL_RNN_MAX_N_PARTS
DNNL_RUNTIME_NONE
DNNL_RUNTIME_OCL
DNNL_RUNTIME_OMP
DNNL_RUNTIME_S32_VAL_REP
DNNL_RUNTIME_SEQ
DNNL_RUNTIME_TBB
DNNL_RUNTIME_THREADPOOL
DNNL_VERSION_HASH
DNNL_VERSION_MAJOR
DNNL_VERSION_MINOR
DNNL_VERSION_PATCH
INT8_MIN
INT8_MAX
INT8_WIDTH
INT16_MIN
INT16_MAX
INT16_WIDTH
INT32_MIN
INT32_MAX
INT32_WIDTH
INT64_WIDTH
INTMAX_WIDTH
INTPTR_MAX
INTPTR_MIN
INTPTR_WIDTH
INT_FAST8_MIN
INT_FAST8_MAX
INT_FAST8_WIDTH
INT_FAST16_MIN
INT_FAST16_MAX
INT_FAST16_WIDTH
INT_FAST32_MIN
INT_FAST32_MAX
INT_FAST32_WIDTH
INT_FAST64_WIDTH
INT_LEAST8_MIN
INT_LEAST8_MAX
INT_LEAST8_WIDTH
INT_LEAST16_MIN
INT_LEAST16_MAX
INT_LEAST16_WIDTH
INT_LEAST32_MIN
INT_LEAST32_MAX
INT_LEAST32_WIDTH
INT_LEAST64_WIDTH
PTRDIFF_MAX
PTRDIFF_MIN
PTRDIFF_WIDTH
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIG_ATOMIC_WIDTH
SIZE_MAX
SIZE_WIDTH
UINT8_MAX
UINT8_WIDTH
UINT16_MAX
UINT16_WIDTH
UINT32_MAX
UINT32_WIDTH
UINT64_WIDTH
UINTMAX_WIDTH
UINTPTR_MAX
UINTPTR_WIDTH
UINT_FAST8_MAX
UINT_FAST8_WIDTH
UINT_FAST16_MAX
UINT_FAST16_WIDTH
UINT_FAST32_MAX
UINT_FAST32_WIDTH
UINT_FAST64_WIDTH
UINT_LEAST8_MAX
UINT_LEAST8_WIDTH
UINT_LEAST16_MAX
UINT_LEAST16_WIDTH
UINT_LEAST32_MAX
UINT_LEAST32_WIDTH
UINT_LEAST64_WIDTH
WCHAR_WIDTH
WINT_MAX
WINT_MIN
WINT_WIDTH
_ATFILE_SOURCE
_BITS_STDINT_INTN_H
_BITS_STDINT_UINTN_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_FEATURES_H
_ISOC11_SOURCE
_ISOC95_SOURCE
_ISOC99_SOURCE
_LARGEFILE64_SOURCE
_LARGEFILE_SOURCE
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_SYS_CDEFS_H
_XOPEN_SOURCE
_XOPEN_SOURCE_EXTENDED
__FD_SETSIZE
__GLIBC_MINOR__
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNU_LIBRARY__
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__OFF_T_MATCHES_OFF64_T
__RLIM_T_MATCHES_RLIM64_T
__STDC_IEC_559__
__STDC_IEC_559_COMPLEX__
__STDC_ISO_10646__
__STDC_NO_THREADS__
__SYSCALL_WORDSIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_GNU
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_ISOCXX11
__USE_LARGEFILE
__USE_LARGEFILE64
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_UNIX98
__USE_XOPEN
__USE_XOPEN2K
__USE_XOPEN2KXSI
__USE_XOPEN2K8
__USE_XOPEN2K8XSI
__USE_XOPEN_EXTENDED
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
__glibc_c99_flexarr_available

Statics

DNNL_RUNTIME_F32_VAL_REP

Functions

dnnl_batch_normalization_backward_desc_init

Initializes a descriptor for a batch normalization backward propagation primitive.

dnnl_batch_normalization_forward_desc_init

Initializes a descriptor for a batch normalization forward propagation primitive.

dnnl_binary_desc_init

Initializes a descriptor for a binary primitive.

dnnl_concat_primitive_desc_create

Creates a primitive descriptor for an out-of-place concatenation primitive.

dnnl_convolution_backward_data_desc_init

Initializes a descriptor for a convolution backward propagation primitive.

dnnl_convolution_backward_weights_desc_init

Initializes a descriptor for a convolution weights gradient primitive.

dnnl_convolution_forward_desc_init

Initializes a descriptor for a convolution forward propagation primitive.

dnnl_deconvolution_backward_data_desc_init

Initializes a descriptor for a deconvolution backward propagation primitive.

dnnl_deconvolution_backward_weights_desc_init

Initializes a descriptor for a deconvolution weights gradient primitive.

dnnl_deconvolution_forward_desc_init

Initializes a descriptor for a deconvolution forward propagation primitive.

dnnl_dilated_convolution_backward_data_desc_init

Initializes a descriptor for a dilated convolution backward propagation primitive.

dnnl_dilated_convolution_backward_weights_desc_init

Initializes a descriptor for a dilated convolution weights gradient primitive.

dnnl_dilated_convolution_forward_desc_init

Initializes a descriptor for a dilated convolution forward propagation primitive.

dnnl_dilated_deconvolution_backward_data_desc_init

Initializes a descriptor for a dilated deconvolution backward propagation primitive.

dnnl_dilated_deconvolution_backward_weights_desc_init

Initializes a descriptor for a dilated deconvolution weights gradient primitive.

dnnl_dilated_deconvolution_forward_desc_init

Initializes a descriptor for a dilated deconvolution forward propagation primitive.

dnnl_eltwise_backward_desc_init

Initializes a descriptor for eltwise backward propagation primitive.

dnnl_eltwise_forward_desc_init

Initializes a descriptor for eltwise forward propagation primitive.

dnnl_engine_create

Creates an engine.

dnnl_engine_destroy

Destroys an engine.

dnnl_engine_get_count

Returns the number of engines of a particular kind.

dnnl_engine_get_kind

Returns the kind of an engine.

dnnl_gemm_s8s8s32

Performs integer matrix-matrix multiply on 8-bit signed matrix A, 8-bit signed matrix B, and 32-bit signed resulting matrix C.

dnnl_gemm_u8s8s32

Performs integer matrix-matrix multiply on 8-bit unsigned matrix A, 8-bit signed matrix B, and 32-bit signed resulting matrix C.

dnnl_get_effective_cpu_isa

Gets the maximal ISA the library can dispatch to on the CPU. See #dnnl_cpu_isa_t and #dnnl::cpu_isa for the list of the values returned by the C and C++ API functions respectively.

dnnl_get_primitive_cache_capacity

Returns the number of primitives that can be held in the primitive cache at the same time.

dnnl_gru_backward_desc_init

Initializes a descriptor for GRU backward propagation primitive.

dnnl_gru_forward_desc_init

Initializes a descriptor for GRU forward propagation primitive.

dnnl_inner_product_backward_data_desc_init

Initializes descriptor for inner product backward propagation.

dnnl_inner_product_backward_weights_desc_init

Initializes descriptor for inner product weights gradient primitive.

dnnl_inner_product_forward_desc_init

Initializes descriptor for inner product forward propagation.

dnnl_layer_normalization_backward_desc_init

Initializes a descriptor for a layer normalization backward propagation primitive.

dnnl_layer_normalization_forward_desc_init

Initializes a descriptor for layer normalization forward propagation primitive.

dnnl_lbr_gru_backward_desc_init

Initializes a descriptor for LBR GRU backward propagation primitive.

dnnl_lbr_gru_forward_desc_init

Initializes a descriptor for LBR GRU forward propagation primitive.

dnnl_logsoftmax_backward_desc_init

Initializes a descriptor for logsoftmax backward propagation primitive.

dnnl_logsoftmax_forward_desc_init

Initializes a descriptor for logsoftmax forward propagation primitive.

dnnl_lrn_backward_desc_init

Initializes a descriptor for LRN backward propagation primitive.

dnnl_lrn_forward_desc_init

Initializes a descriptor for LRN forward propagation primitive.

dnnl_lstm_backward_desc_init

Initializes a descriptor for an LSTM backward propagation primitive.

dnnl_lstm_backward_desc_init_v2

Initializes a descriptor for an LSTM (with or without peephole) backward propagation primitive.

dnnl_lstm_backward_desc_init_v3

Initializes a descriptor for an LSTM (with or without peephole and with or with out recurrent projection layer) backward propagation primitive.

dnnl_lstm_forward_desc_init

Initializes a descriptor for LSTM forward propagation primitive.

dnnl_lstm_forward_desc_init_v2

Initializes a descriptor for an LSTM (with or without peephole) forward propagation primitive.

dnnl_lstm_forward_desc_init_v3

Initializes a descriptor for an LSTM (with or without peephole and with or without recurrent projection layer) forward propagation primitive.

dnnl_matmul_desc_init

Initializes a matrix multiplication descriptor.

dnnl_memory_create

Creates a memory object.

dnnl_memory_desc_equal

Compares two memory descriptors.

dnnl_memory_desc_get_size

Returns the size of a memory descriptor.

dnnl_memory_desc_init_by_strides

Initializes a memory descriptor using dimensions and strides.

dnnl_memory_desc_init_by_tag

Initializes a memory descriptor using dimensions and memory format tag.

dnnl_memory_desc_init_submemory

@param memory_desc Output memory descriptor. @param parent_memory_desc An existing memory descriptor. @param dims Sizes of the region. @param offsets Offsets to the region from the encompassing memory object in each dimension @returns #dnnl_success on success and a status describing the error otherwise.

dnnl_memory_desc_permute_axes

Initializes a memory descriptor by permuting axes in an existing one.

dnnl_memory_desc_reshape

Initializes a memory descriptor by reshaping an existing one. The new memory descriptor inherits the data type. This operation is valid only for memory descriptors that have format_kind set to #dnnl_blocked or #dnnl_format_kind_any.

dnnl_memory_destroy

Destroys a memory object.

dnnl_memory_get_data_handle

Returns memory object's data handle.

dnnl_memory_get_engine

Returns the engine of a memory object.

dnnl_memory_get_memory_desc

Returns the memory descriptor for a memory object.

dnnl_memory_map_data

Maps a memory object and returns a host-side pointer to a memory buffer with a copy of its contents.

dnnl_memory_set_data_handle

Sets the underlying memory buffer.

dnnl_memory_set_data_handle_v2

Sets the underlying memory buffer.

dnnl_memory_unmap_data

Unmaps a memory object and writes back any changes made to the previously mapped memory buffer. The pointer to the mapped buffer must be obtained via the dnnl_memory_map_data() call.

dnnl_pooling_backward_desc_init

Initializes a descriptor for pooling backward propagation primitive.

dnnl_pooling_forward_desc_init

Initializes a descriptor for pooling forward propagation primitive.

dnnl_post_ops_append_dw_k3s1p1

Appends a depthwise post-op convolution with stride 1.

dnnl_post_ops_append_dw_k3s2p1

Appends a depthwise post-op convolution with stride 2.

dnnl_post_ops_append_eltwise

Appends an elementwise post-op.

dnnl_post_ops_append_sum

Appends an accumulation (sum) to post-ops. Prior to accumulating the result, the previous value is multiplied by a scale.

dnnl_post_ops_append_sum_v2

Appends an accumulation v2 (sum) to post-ops. Prior to accumulating the result, the previous value is multiplied by a scale.

dnnl_post_ops_create

Creates empty post-ops sequence.

dnnl_post_ops_destroy

Destroys post-ops.

dnnl_post_ops_get_kind

Returns the kind of a post-op entry.

dnnl_post_ops_get_params_dw_k3s1p1

Returns the parameters of an depthwise post-op with stride 1.

dnnl_post_ops_get_params_dw_k3s2p1

Returns the parameters of an depthwise post-op with stride 2.

dnnl_post_ops_get_params_eltwise

Returns the parameters of an elementwise post-up.

dnnl_post_ops_get_params_sum

Returns the parameters of an accumulation (sum) post-op.

dnnl_post_ops_get_params_sum_v2

Returns the parameters of an accumulation (sum) post-op with a data type parameter.

dnnl_post_ops_len

Returns the length of post-ops.

dnnl_primitive_attr_clone

Clones primitive attributes.

dnnl_primitive_attr_create

Creates an empty (default) primitive attributes with all the parameters set to their default values.

dnnl_primitive_attr_destroy

Destroys primitive attributes.

dnnl_primitive_attr_get_output_scales

Returns primitive attributes output scaling factors correspondence mask and values.

dnnl_primitive_attr_get_post_ops

Returns primitive attributes post-ops.

dnnl_primitive_attr_get_scales

Returns primitive attributes scaling factors correspondence mask and values for a given memory argument.

dnnl_primitive_attr_get_scratchpad_mode

Returns the primitive attributes scratchpad mode.

dnnl_primitive_attr_get_zero_points

Returns @p count, correspondence zero point @p mask, and a pointer to a constant int32_t array of @p zero_points for given @p attr and memory argument (index), previously set by dnnl_primitive_attr_set_zero_points.

dnnl_primitive_attr_set_output_scales

Sets output scaling factors correspondence mask and values.

dnnl_primitive_attr_set_post_ops

Sets primitive attributes post-ops.

dnnl_primitive_attr_set_rnn_data_qparams

Set quantization scale and shift parameters for RNN data tensors.

dnnl_primitive_attr_set_rnn_weights_qparams

Sets quantization scaling factors for RNN weights tensors. The low-precision configuration of the RNN primitives expects input weights to use the signed 8-bit integer data type. The scaling factors are used to quantize floating-point data to signed integer and must be passed to RNN primitives using attributes.

dnnl_primitive_attr_set_scales

Sets primitive attributes scaling factors for primitive operations for a given memory argument.

dnnl_primitive_attr_set_scratchpad_mode

Sets primitive attributes scratchpad mode.

dnnl_primitive_attr_set_zero_points

Sets primitive attributes zero points for primitive operations for a given memory argument.

dnnl_primitive_create

Creates a primitive.

dnnl_primitive_desc_clone

Clones a primitive descriptor. The resulting primitive descriptor must be destroyed separately.

dnnl_primitive_desc_create

Creates a primitive descriptor. This function is equivalent to a sequence of #dnnl_primitive_desc_iterator_create() and #dnnl_primitive_desc_iterator_fetch(). In other words, the library will pick the first suitable implementation.

dnnl_primitive_desc_destroy

Destroys a primitive descriptor.

dnnl_primitive_desc_get_attr

Returns a constant reference to the attributes of a primitive descriptor.

dnnl_primitive_desc_iterator_create

Creates a primitive descriptor iterator.

dnnl_primitive_desc_iterator_destroy

Destroys a primitive descriptor iterator.

dnnl_primitive_desc_iterator_fetch

Fetches the current primitive descriptor from a primitive descriptor iterator.

dnnl_primitive_desc_iterator_next

Advances the primitive descriptor iterator to point to the next available implementation.

dnnl_primitive_desc_query

Queries a primitive descriptor for various pieces of information.

dnnl_primitive_desc_query_md

Queries primitive descriptor for a memory descriptor.

dnnl_primitive_desc_query_s32

Queries primitive descriptor for a signed 32bit int.

dnnl_primitive_destroy

Destroys a primitive.

dnnl_primitive_execute

Executes a primitive.

dnnl_primitive_get_primitive_desc

Retrieves a constant reference to the primitive descriptor of a given primitive.

dnnl_reorder_primitive_desc_create

Creates a primitive descriptor for a reorder primitive.

dnnl_resampling_backward_desc_init

Initializes a descriptor for resampling backward propagation primitive.

dnnl_resampling_forward_desc_init

Initializes a descriptor for a resampling forward propagation primitive.

dnnl_set_jit_dump

Configures dumping of JIT-generated code.

dnnl_set_jit_profiling_flags

Sets library profiling flags. The flags define which profilers are supported.

dnnl_set_jit_profiling_jitdumpdir

Sets JIT dump output path. Only applicable to Linux and is only used when profiling flags have DNNL_JIT_PROFILE_LINUX_PERF bit set.

dnnl_set_max_cpu_isa

Sets the maximal ISA the library can dispatch to on the CPU. See #dnnl_cpu_isa_t and #dnnl::cpu_isa for the list of the values accepted by the C and C++ API functions respectively.

dnnl_set_primitive_cache_capacity

Sets a number of primitives that can be held in the primitive cache at a time.

dnnl_set_verbose

Configures verbose output to stdout.

dnnl_sgemm

Performs single-precision matrix-matrix multiply.

dnnl_shuffle_backward_desc_init

Initializes a descriptor for shuffle backward propagation primitive.

dnnl_shuffle_forward_desc_init

Initializes a descriptor for shuffle forward propagation primitive.

dnnl_softmax_backward_desc_init

Initializes a descriptor for softmax backward propagation primitive.

dnnl_softmax_forward_desc_init

Initializes a descriptor for softmax forward propagation primitive.

dnnl_stream_attr_create

Creates execution stream attributes for a stream that runs on an engine of a particular kind.

dnnl_stream_attr_destroy

Destroys execution stream attributes.

dnnl_stream_create

Creates an execution stream.

dnnl_stream_create_v2

Creates an execution stream.

dnnl_stream_destroy

Destroys an execution stream.

dnnl_stream_wait

Waits for all primitives in the execution stream to finish computations.

dnnl_sum_primitive_desc_create

Creates a primitive descriptor for an (out-of-place) sum primitive.

dnnl_vanilla_rnn_backward_desc_init

Initializes a descriptor for vanilla RNN backward propagation primitive.

dnnl_vanilla_rnn_forward_desc_init

Initializes a descriptor for vanilla RNN forward propagation primitive.

dnnl_version

Returns library version information. @returns Pointer to a constant structure containing

Type Definitions

__blkcnt64_t
__blkcnt_t
__blksize_t
__caddr_t
__clock_t
__clockid_t
__daddr_t
__dev_t
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__intmax_t
__intptr_t
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uintmax_t
__useconds_t
const_dnnl_memory_t

A constant memory handle.

const_dnnl_op_desc_t

A pointer to any of the operation descriptors (constant variant).

const_dnnl_post_ops_t

@brief A constant post operation chain handle.

const_dnnl_primitive_attr_t

@brief A constant primitive descriptor attributes handle.

const_dnnl_primitive_desc_iterator_t

@brief A constant primitive descriptor iterator handle.

const_dnnl_primitive_desc_t

@brief A constant primitive descriptor handle.

const_dnnl_primitive_t

A constant primitive handle.

const_dnnl_stream_attr_t

A constant execution stream attributes handle.

const_dnnl_stream_t

A constant execution stream handle.

dnnl_deconvolution_desc_t

A descriptor of a deconvolution operation.

dnnl_dim_t

A type to describe tensor dimension.

dnnl_dims_t

A type to describe tensor dimensions.

dnnl_engine_t

@brief An engine handle.

dnnl_logsoftmax_desc_t

A descriptor of a LogSoftmax operation. An alias of Softmax structure, but primitive_kind must be #dnnl_logsoftmax.

dnnl_memory_t

A memory handle.

dnnl_op_desc_t

A pointer to any of the operation descriptors.

dnnl_post_ops_t

@brief A post operation chain handle.

dnnl_primitive_attr_t

@brief A primitive descriptor attributes handle that controls primitive behavior.

dnnl_primitive_desc_iterator_t

@brief A primitive descriptor iterator handle.

dnnl_primitive_desc_t

@brief A primitive descriptor handle.

dnnl_primitive_t

A primitive handle.

dnnl_stream_attr_t

An execution stream attributes handle.

dnnl_stream_t

An execution stream handle.

int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t

Unions

_bindgen_ty_1

@cond DO_NOT_DOCUMENT_THIS Hex representation for a special quiet NAN (!= NAN from math.h)

dnnl_memory_desc_t__bindgen_ty_1