.. index:: pair: page; Verbose Message Catalogue
.. _doxid-dev_guide_verbose_table:

Verbose Message Catalogue
=========================

The following catalogue lists verbose messages, explanations, and additional information for: primitive creation and dispatch checks for primitive implementations; and implementation failures that occur during engine/memory object creation.

Primitive Creation/Dispatching
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

===============================================================================  ===========================================================================================================================  ============================  =======================================================================================================================================================================================================================================================================================================================================================================================  
VERBOSE MESSAGE                                                                  SUBSTRING                                                                                                                    PRIMITIVE                     EXPLANATION                                                                                                                                                                                                                                                                                                                                                                              
===============================================================================  ===========================================================================================================================  ============================  =======================================================================================================================================================================================================================================================================================================================================================================================  
**Bad/Invalid Arguments**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
``bad algorithm``                                                                                                                                                                                             all                           Bad or invalid algorithm ``:ref:`dnnl::algorithm <doxid-group__dnnl__api__attributes_1ga00377dd4982333e42e8ae1d09a309640>``` selected for the current primitive implementation. The choice and availability of the algorithm depends on the specific implementation selected for the primitive. For example, oneDNN supports Winograd convolution only on GPU and AArch64 CPU systems.   
``bad propagation kind``                                                                                                                                                                                      all                           Incorrect propagation kind ``:ref:`dnnl::prop_kind <doxid-group__dnnl__api__attributes_1gac7db48f6583aa9903e54c2a39d65438f>``` ( ``forward_training`` , ``backward_weights`` , ``backward_data`` , etc.) selected for the primitive.                                                                                                                                                     
``bad param <p>``                                                                ``p`` - initialization parameter for ``:ref:`dnnl::primitive_desc <doxid-structdnnl_1_1primitive__desc>```                   all                           Invalid parameter passed for the initialization of the primitive descriptor. **Example** : For the ``group_normalization`` primitive, this message is displayed when the value passed for the ``groups`` parameter does not evenly divide the number of channels for the source tensor.                                                                                                  
``one of the mandatory arguments is nullptr``                                                                                                                                                                 all                           A NULL pointer argument exception for the primitive methods.                                                                                                                                                                                                                                                                                                                             
``bad flags``                                                                                                                                                                                                 all                           Bad or unsupported flags specified for the initialization of the primitive descriptor ``:ref:`dnnl::primitive_desc <doxid-structdnnl_1_1primitive__desc>``` .                                                                                                                                                                                                                            
**Unsupported Arguments/Parameters**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
``unsupported isa``                                                                                                                                                                                           all                           Primitive implementation does not support the current ISA. This typically results in the dispatching to the next best supporting implementation for the ISA.                                                                                                                                                                                                                             
``unsupported datatype``                                                                                                                                                                                      all                           Tensor data type is not supported for the current primitive implementation. Depending on the primitive, this may correspond to the source, weights, bias or destination tensors.                                                                                                                                                                                                         
``unsupported datatype combination``                                                                                                                                                                          all                           Datatype combination for source, weights, bias or destination tensors is not supported for the current primitive implementation.                                                                                                                                                                                                                                                         
``unsupported attr``                                                                                                                                                                                          all                           Bad or unsupported attributes ``:ref:`dnnl::primitive_attr <doxid-structdnnl_1_1primitive__attr>``` passed to the primitive descriptor for the current implementation. Since attributes are separately created from the corresponding primitive descriptor, the selected primitive implementation may not support the attribute configuration.                                           
``unsupported post-ops``                                                                                                                                                                                      all                           Unsupported post-ops configuration ``:ref:`dnnl::post_ops <doxid-structdnnl_1_1post__ops>``` passed on to the primitive descriptor. Similar to ``:ref:`dnnl::primitive_attr <doxid-structdnnl_1_1primitive__attr>``` , the selected implementation may not support the postop configuration during primitive creation.                                                                   
``unsupported scales configuration``                                                                                                                                                                          all                           Unsupported scales configuration specified for the primitive attributes ``:ref:`dnnl::primitive_attr <doxid-structdnnl_1_1primitive__attr>``` .                                                                                                                                                                                                                                          
``unsupported zero-point configuration``                                                                                                                                                                      all                           Unsupported zero-point configuration specified for the primitive attributes ``:ref:`dnnl::primitive_attr <doxid-structdnnl_1_1primitive__attr>``` .                                                                                                                                                                                                                                      
``unsupported bias configuration``                                                                                                                                                                            compute-based primitives      Unsupported bias data configuration specified for the descriptors.                                                                                                                                                                                                                                                                                                                       
``unsupported sparse md configuration``                                                                                                                                                                       all                           Current primitive implementation does not support sparse data operations.                                                                                                                                                                                                                                                                                                                
``unsupported format tag``                                                                                                                                                                                    all                           Unsupported format tag ``:ref:`dnnl::memory::format_tag <doxid-structdnnl_1_1memory_1a8e71077ed6a5f7fb7b3e6e1a5a2ecf3f>``` encountered during primitive operation.                                                                                                                                                                                                                       
``unsupported format tag for <t>``                                               ``t`` - tensor                                                                                                               all                           Unsupported format tag ``:ref:`dnnl::memory::format_tag <doxid-structdnnl_1_1memory_1a8e71077ed6a5f7fb7b3e6e1a5a2ecf3f>``` specified for tensor ``t`` during primitive operation.                                                                                                                                                                                                        
``unsupported format kind``                                                                                                                                                                                   all                           Unsupported format kind ``:ref:`dnnl::memory::format_kind <doxid-structdnnl_1_1memory_1aabcadfb0e23a36a91272fc571cff105f>``` encountered during primitive operation.                                                                                                                                                                                                                     
``runtime dimension is not supported``                                                                                                                                                                        all                           Current implementation does not support processing runtime-specified shapes and strides using ``DNNL_RUNTIME_DIM_VAL`` .                                                                                                                                                                                                                                                                 
``runtime dimension <d> is inconsistent across tensors``                         ``d`` - dimension                                                                                                            all                           Runtime dimension specified using ``DNNL_RUNTIME_DIM_VAL`` is not consistent with every tensor in the primitive operation.                                                                                                                                                                                                                                                               
``unsupported <t> md flags``                                                     ``t`` - tensor                                                                                                               all                           Unsupported flags specified for the memory descriptor for the tensor ``t`` .                                                                                                                                                                                                                                                                                                             
**Tensor Operations**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
``tensor <t> has no elements``                                                   ``t`` - tensor                                                                                                               all                           Empty tensor passed as data to the primitive. Depending on the primitive, this may correspond to the source, weights or destination tensors.                                                                                                                                                                                                                                             
``<t> has a bad number of dimensions <ndims>``                                   ``t`` - tensor, ``ndims`` - number of tensor dimensions                                                                      all                           Tensor data has bad or invalid number of dimensions for the current primitive operation. **Example** : The ``convolution`` primitive expects only 1D-, 2D- or 3D-spatial tensors for operations and prints this message for any other data with higher dimensions.                                                                                                                       
``bad dimensions <t>:<axis>``                                                    ``t`` - tensor, ``axis`` - axis                                                                                              all                           Tensor ``<t>`` has an invalid dimension along the specified axis. **Example** : The ``concat`` primitive prints this message when the destination tensor dimension along the concatenated axis does not match the sum of the dimensions of the concatenated tensors.                                                                                                                     
``dimension <t0>:<a0> is inconsistent with <t1>:<a1>``                           ``t0, t1`` - tensors, ``a0, a1`` - tensor axes                                                                               all                           Tensors ``t0, t1`` have inconsistent dimensions along axes ``a0`` and ``a1`` respectively. **Example** : This is encountered for the ``matmul`` primitive when the input matrices have mismatching dimensions.                                                                                                                                                                           
``out-of-range dimensions for <t>``                                              ``t`` - tensor                                                                                                               all                           One of the dimensions of tensor ``t`` is beyond the maximum range that can be processed by the current implementation.                                                                                                                                                                                                                                                                   
``tensors <t0> and <t1> have inconsistent number of dimensions``                 ``t0, t1`` - tensors                                                                                                         all                           Tensors ``t0, t1`` have inconsistent dimensions for primitive operation.                                                                                                                                                                                                                                                                                                                 
``tensors <t0> and <t1> have inconsistent number of dimensions (d0) and (d1)``   ``t0, t1`` - tensors                                                                                                         all                           Tensors ``t0, t1`` have inconsistent dimensions ( ``d0`` , ``d1`` ) for primitive operation.                                                                                                                                                                                                                                                                                             
``tensors <t0> and <t1> have inconsistent datatypes``                            ``t0, t1`` - tensors                                                                                                         all                           Tensors ``t0, t1`` have inconsistent data types for primitive operation.                                                                                                                                                                                                                                                                                                                 
``invalid broadcast semantic on <t>:<d>``                                        ``t`` - tensor, ``d`` - dimension                                                                                            all                           Broadcasting semantic is not consistent with tensor ``t`` on dimension ``d`` .                                                                                                                                                                                                                                                                                                           
``invalid datatype for <t>``                                                     ``t`` - tensor                                                                                                               all                           Tensor ``t`` has a datatype that is invalid for the primitive operation.                                                                                                                                                                                                                                                                                                                 
**Unsupported Combinations**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         
``sparse encoding is not supported on this isa``                                                                                                                                                              all                           Current ISA does not support the primitive operation with sparse encoded tensors.                                                                                                                                                                                                                                                                                                        
``datatype configuration not supported on this isa``                                                                                                                                                          all                           Datatype combination for the primitive tensors is not supported for the current ISA.                                                                                                                                                                                                                                                                                                     
``datatype and propagation kind mismatch``                                                                                                                                                                    all                           Tensor datatype is not supported for the current propagation kind ( ``:ref:`dnnl::impl::prop_kind <doxid-group__dnnl__api__primitives__common_1gga94efdd650364f4d9776cfb9b711cbdc1a2ba5356a73a761f488b6d9e5f028134f>``` ) of the primitive.                                                                                                                                              
``inconsistent <t0> and <t1> mds``                                               ``t0, t1`` - tensors                                                                                                         all                           Tensors ``t0, t1`` have inconsistent memory descriptors ``:ref:`dnnl::memory::desc <doxid-structdnnl_1_1memory_1_1desc>``` for the primitive operation.                                                                                                                                                                                                                                  
``memory formats for <t0> and <t1> tensors do not match``                        ``t0, t1`` - tensors                                                                                                         all                           Tensors ``t0, t1`` require similar `memory format <https://uxlfoundation.github.io/oneDNN/dev_guide_understanding_memory_formats.html>`__ kinds for the primitive operation.                                                                                                                                                                                                             
**Implementation Heuristics/Features**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
``unsupported feature for implementation: <msg>``                                ``msg`` - feature description                                                                                                all                           Current implementation is skipped because it does not support the specified feature for the primitive operation.                                                                                                                                                                                                                                                                         
``<msg> feature unavailable for device``                                         ``msg`` - feature description                                                                                                all                           Current implementation is skipped because the selected device does not support the specified feature for primitive operation.                                                                                                                                                                                                                                                            
``unsupported feature for padding: <msg>``                                       ``msg`` - feature description                                                                                                all                           Current implementation is skipped because of a padding inconsistency or unsupported feature related to padding.                                                                                                                                                                                                                                                                          
``heuristic fail: <h>``                                                          ``h`` - implementation heuristic                                                                                             all                           Implementation skipped due to specified heuristic.                                                                                                                                                                                                                                                                                                                                       
``blocking heuristic fail: <h>``                                                 ``h`` - implementation heuristic                                                                                             all                           Current implementation is skipped because of the specified inconsistency or implementation heuristic related to blocking.                                                                                                                                                                                                                                                                
**Primitive-Specific Messages**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
``heuristic fail for 1x1 convolution: <h>``                                      ``h`` - implementation heuristic                                                                                             ``convolution``               Implementation skipped due to specified heuristic related to 1x1 convolution.                                                                                                                                                                                                                                                                                                            
``<o> offsets do not fit into <dt> datatype``                                    ``o`` - { ``input`` , ``output`` }, ``dt`` - data type                                                                       ``convolution``               I/O dimension offsets do not fit into the specified datatype range for the kernel implementation.                                                                                                                                                                                                                                                                                        
``failed shape restrictions``                                                                                                                                                                                 ``convolution`` , ``gnorm``   Implementation skipped because the current data layout/shapes exceeds the range supported by the current implementation.                                                                                                                                                                                                                                                                 
``alpha and beta parameters are not properly set``                                                                                                                                                            ``eltwise``                   Alpha and beta parameters are not properly set for the elementwise algorithm.                                                                                                                                                                                                                                                                                                            
``large shapes fall back``                                                                                                                                                                                    ``gemm``                      Heuristic to skip current implementation for large tensor shapes for better performance.                                                                                                                                                                                                                                                                                                 
``only trivial strides are supported``                                                                                                                                                                        ``gemm`` , ``rnn``            Current implementation for the primitive does not process non-trivial stride values.                                                                                                                                                                                                                                                                                                     
``unsupported fpmath mode``                                                                                                                                                                                   ``matmul``                    `Floating-point math mode <https://uxlfoundation.github.io/oneDNN/group_dnnl_api_fpmath_mode.html?highlight=math%20mode>`__ is not supported by the current primitive implementation.                                                                                                                                                                                                    
``small shapes fall back``                                                                                                                                                                                    ``matmul``                    Heuristic to skip current implementation for small tensor shapes for better performance.                                                                                                                                                                                                                                                                                                 
``incompatible gemm format``                                                                                                                                                                                  ``matmul`` , ``ip``           Specified GeMM format is incompatible with the current primitive implementation.                                                                                                                                                                                                                                                                                                         
``unsupported <t> tensor layout``                                                ``t`` - tensor                                                                                                               ``reorder``                   The data layout for the source/destination tensor is not supported by the current implementation.                                                                                                                                                                                                                                                                                        
``bad axis``                                                                                                                                                                                                  ``softmax`` , ``shuffle``     Bad or invalid axis specified for softmax/shuffle operation.                                                                                                                                                                                                                                                                                                                             
``unsupported <d> architecture``                                                 ``d`` - ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>```                        ``gemm``                      Unsupported architecture for specified device-type. Typically encountered when current GPU device does not support the primitive.                                                                                                                                                                                                                                                        
``unsupported precomputed reductions configuration``                                                                                                                                                          ``matmul``                    Precomputed reductions for the parameter argument are not supported for the matmul operation.                                                                                                                                                                                                                                                                                            
**Miscellaneous**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
``failed to create nested <pm> primitive``                                       ``pm`` - ``:ref:`dnnl::primitive <doxid-structdnnl_1_1primitive>```                                                          all                           Descriptor initialization for the nested primitive implementation was unsuccessful.                                                                                                                                                                                                                                                                                                      
``failed to create <pm> descriptor``                                             ``pm`` - ``:ref:`dnnl::primitive <doxid-structdnnl_1_1primitive>``` , ``:ref:`dnnl::memory <doxid-structdnnl_1_1memory>```   all                           Descriptor initialization for the primitive or memory object was unsuccessful.                                                                                                                                                                                                                                                                                                           
``bad accumulation mode``                                                                                                                                                                                     all                           Bad or invalid `accumulation mode <https://uxlfoundation.github.io/oneDNN/enum_dnnl_accumulation_mode.html>`__ specified for primitive attribute ``:ref:`dnnl::primitive_attr <doxid-structdnnl_1_1primitive__attr>``` .                                                                                                                                                                 
``unsupported <t> md flag``                                                      ``t`` - tensor                                                                                                               all                           Bad or unsupported flags specified for the memory descriptor ``:ref:`dnnl::memory::desc <doxid-structdnnl_1_1memory_1_1desc>``` .                                                                                                                                                                                                                                                        
``problem is not mathematically consistent``                                                                                                                                                                  all                           Parameters provided for primitive creation are not mathematically consistent with the formula for computation. **Example** : Negative dilation values for the convolution primitive.                                                                                                                                                                                                     
``workspace mismatch between forward and backward primitive descriptors``                                                                                                                                     all                           Dispatch failure encountered when the backward and forward propagation primitives do not share the workspace memory.                                                                                                                                                                                                                                                                     
``workspace initialization failed``                                                                                                                                                                           all                           `Workspace <https://uxlfoundation.github.io/oneDNN/dev_guide_inference_and_training_aspects.html?highlight=workspace#workspace>`__ descriptor initialization was unsuccessful during primitive creation.                                                                                                                                                                                 
``invalid datatype for <t>``                                                     ``t`` - tensor                                                                                                               all                           The data type for the tensor/data processed by the primitive is invalid. **Example** : This is encountered when an undefined data type ``data_type::undef`` is specified for the accumulator.                                                                                                                                                                                            
``failed to run kernel deterministically``                                                                                                                                                                    all                           failed to run application in the `deterministic mode <https://uxlfoundation.github.io/oneDNN/dev_guide_attributes_deterministic.html?highlight=deterministic>`__ .                                                                                                                                                                                                                       
``skipping or dispatching to another implementation``                                                                                                                                                         all                           Printed when there is a failed heuristic that forces the implementation to be skipped in a favor of another one.                                                                                                                                                                                                                                                                         
``failed to create <k> kernel``                                                  ``k`` - kernel name                                                                                                          all                           Dispatch failure due to issues in kernel creation.                                                                                                                                                                                                                                                                                                                                       
===============================================================================  ===========================================================================================================================  ============================  =======================================================================================================================================================================================================================================================================================================================================================================================

Engine Creation
~~~~~~~~~~~~~~~

===================================================================  ======================================================================================================================================================================  ===============================  ====================================================================================================================================================================================================================  
VERBOSE MESSAGE                                                      SUBSTRING                                                                                                                                                               ENGINE                           EXPLANATION                                                                                                                                                                                                           
===================================================================  ======================================================================================================================================================================  ===============================  ====================================================================================================================================================================================================================  
``bad engine kind``                                                                                                                                                                                                                          all                              Invalid value for ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` encountered during engine creation.                                                                   
``invalid <d> device in environment: index <i>``                     ``d`` - ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` , ``i`` - device index                                            all                              Device of type ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` and index ``i`` is invalid for the current environment.                                                  
``no <d> <k> device is available``                                   ``d`` - ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` , ``k`` - ``dnnl::impl::runtime_kind``                            all                              No device of type ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` was found during engine creation.                                                                     
``<n> <d> devices are available but device index <i> was queried``   ``d`` - ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` , ``n`` - number of ``d`` devices, ``i`` - queried device index   all                              Queried index is out-of-range for device of type ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` .                                                                      
``device not found in the given context``                                                                                                                                                                                                    all                              Device mismatch with runtime context during engine creation.                                                                                                                                                          
``unsupported <d> platform (expected <d0> got <d1>)``                ``d`` - ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` , ``d0`` - queried platform, ``d1`` - available platform          ``sycl`` , ``opencl`` , ``ze``   Unsupported device platform encountered during engine creation.                                                                                                                                                       
``failed to create <d> engine with index <i>``                       ``d`` - ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>``` , ``i`` - device index                                            all                              Engine creation was unsuccessful for the specified device index and kind.                                                                                                                                             
``unsupported <d> backend``                                          ``d`` - ``:ref:`dnnl::engine::kind <doxid-structdnnl_1_1engine_1a2635da16314dcbdb9bd9ea431316bb1a>```                                                                   ``sycl``                         Unknown/unsupported backend encountered by the SYCL engine.                                                                                                                                                           
``profiling capabilities are not supported``                                                                                                                                                                                                 all                              Experimental profiling `ONEDNN_EXPERIMENTAL_PROFILING <https://uxlfoundation.github.io/oneDNN/dev_guide_experimental.html?highlight=profiling#onednn-experimental-profiling>`__ is not enabled for the application.   
===================================================================  ======================================================================================================================================================================  ===============================  ====================================================================================================================================================================================================================

Memory Creation and Related Operations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

===========================================  ========================================================================================================================================================================  
VERBOSE MESSAGE                              EXPLANATION                                                                                                                                                               
===========================================  ========================================================================================================================================================================  
``bad arguments for memory descriptor``      Bad or unsupported values passed to the memory descriptor ``:ref:`dnnl::memory::desc <doxid-structdnnl_1_1memory_1_1desc>``` during memory object creation.               
``invalid memory index``                     An out-of-range value encountered for memory handle during data mapping.                                                                                                  
``unsupported memory stride``                Memory descriptor initialization failed due to unsupported value for memory strides.                                                                                      
``scratchpad memory limit exceeded``         `Scratchpad <https://uxlfoundation.github.io/oneDNN/dev_guide_attributes_scratchpad.html?highlight=scratchpad>`__ space is exhausted during GEMM kernel initialization.   
``scratchpad initialization unsuccessful``   Dispatch failure to issue in scratch memory initialization.                                                                                                               
===========================================  ========================================================================================================================================================================

