.. meta::
  :description: rocSPARSE data types documentation
  :keywords: rocSPARSE, ROCm, API, documentation, data types

.. _rocsparse_types_:

********************************************************************
rocSPARSE data types
********************************************************************

rocsparse_handle
----------------

.. doxygentypedef:: rocsparse_handle

rocsparse_error
---------------

.. doxygentypedef:: rocsparse_error

rocsparse_int
-------------

.. doxygentypedef:: rocsparse_int

rocsparse_bfloat16
------------------

.. doxygenstruct:: rocsparse_bfloat16

rocsparse_float_complex
-----------------------

.. doxygenstruct:: rocsparse_float_complex

rocsparse_double_complex
------------------------

.. doxygenstruct:: rocsparse_double_complex

rocsparse_mat_descr
-------------------

.. doxygentypedef:: rocsparse_mat_descr

rocsparse_mat_info
------------------

.. doxygentypedef:: rocsparse_mat_info

rocsparse_hyb_mat
-----------------

.. doxygentypedef:: rocsparse_hyb_mat

For more details on the HYB format, see :ref:`HYB storage format`.

rocsparse_spvec_descr
---------------------

.. doxygentypedef:: rocsparse_spvec_descr

rocsparse_const_spvec_descr
---------------------------

.. doxygentypedef:: rocsparse_const_spvec_descr

rocsparse_spmat_descr
---------------------

.. doxygentypedef:: rocsparse_spmat_descr

rocsparse_const_spmat_descr
---------------------------

.. doxygentypedef:: rocsparse_const_spmat_descr

rocsparse_dnvec_descr
---------------------

.. doxygentypedef:: rocsparse_dnvec_descr

rocsparse_const_dnvec_descr
---------------------------

.. doxygentypedef:: rocsparse_const_dnvec_descr

rocsparse_dnmat_descr
---------------------

.. doxygentypedef:: rocsparse_dnmat_descr

rocsparse_const_dnmat_descr
---------------------------

.. doxygentypedef:: rocsparse_const_dnmat_descr

rocsparse_color_info
--------------------

.. doxygentypedef:: rocsparse_color_info

rocsparse_sparse_to_sparse_descr
--------------------------------

.. doxygentypedef:: rocsparse_sparse_to_sparse_descr

rocsparse_extract_descr
-----------------------

.. doxygentypedef:: rocsparse_extract_descr
