Files
TheRock/rocm-libraries/projects/rocsparse/docs/reference/generic.rst
T
derek.holloway 7502bf64a4
CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

209 lines
4.3 KiB
ReStructuredText

.. meta::
:description: rocSPARSE generic functions API documentation
:keywords: rocSPARSE, ROCm, API, documentation, generic functions
.. _rocsparse_generic_functions_:
********************************************************************
Sparse generic functions
********************************************************************
This module contains all sparse generic routines.
The sparse generic routines describe some of the most common operations that manipulate sparse matrices and
vectors. The generic API is more flexible than the other rocSPARSE APIs because it is easy to set
different index types, data types, and compute types. For some generic routines, for example, SpMV, the generic
API also lets users select different algorithms which have different performance characteristics depending
on the sparse matrix being operated on.
rocsparse_axpby()
-----------------
.. doxygenfunction:: rocsparse_axpby
rocsparse_gather()
------------------
.. doxygenfunction:: rocsparse_gather
rocsparse_scatter()
-------------------
.. doxygenfunction:: rocsparse_scatter
rocsparse_rot()
---------------
.. doxygenfunction:: rocsparse_rot
rocsparse_spvv()
----------------
.. doxygenfunction:: rocsparse_spvv
rocsparse_spmv()
----------------
.. doxygenfunction:: rocsparse_spmv
rocsparse_v2_spmv_buffer_size()
-------------------------------
.. doxygenfunction:: rocsparse_v2_spmv_buffer_size
rocsparse_v2_spmv()
-------------------
.. doxygenfunction:: rocsparse_v2_spmv
rocsparse_spmv_set_extra()
--------------------------
.. doxygenfunction:: rocsparse_spmv_set_extra
rocsparse_spmv_clear_extra()
----------------------------
.. doxygenfunction:: rocsparse_spmv_clear_extra
rocsparse_spsv()
----------------
.. doxygenfunction:: rocsparse_spsv
rocsparse_sptrsv_buffer_size()
------------------------------
.. doxygenfunction:: rocsparse_sptrsv_buffer_size
rocsparse_sptrsv()
------------------
.. doxygenfunction:: rocsparse_sptrsv
rocsparse_spilu0_buffer_size()
------------------------------
.. doxygenfunction:: rocsparse_spilu0_buffer_size
rocsparse_spilu0()
------------------
.. doxygenfunction:: rocsparse_spilu0
rocsparse_spic0_buffer_size()
-----------------------------
.. doxygenfunction:: rocsparse_spic0_buffer_size
rocsparse_spic0()
-----------------
.. doxygenfunction:: rocsparse_spic0
rocsparse_spildlt0_buffer_size()
--------------------------------
.. doxygenfunction:: rocsparse_spildlt0_buffer_size
rocsparse_spildlt0()
--------------------
.. doxygenfunction:: rocsparse_spildlt0
rocsparse_spsm()
----------------
.. doxygenfunction:: rocsparse_spsm
rocsparse_sptrsm_buffer_size()
------------------------------
.. doxygenfunction:: rocsparse_sptrsm_buffer_size
rocsparse_sptrsm()
------------------
.. doxygenfunction:: rocsparse_sptrsm
rocsparse_spmm()
----------------
.. doxygenfunction:: rocsparse_spmm
rocsparse_spgemm()
------------------
.. doxygenfunction:: rocsparse_spgemm
rocsparse_spgeam_buffer_size()
------------------------------
.. doxygenfunction:: rocsparse_spgeam_buffer_size
rocsparse_spgeam()
------------------
.. doxygenfunction:: rocsparse_spgeam
rocsparse_sddmm_buffer_size()
-----------------------------
.. doxygenfunction:: rocsparse_sddmm_buffer_size
rocsparse_sddmm_preprocess()
----------------------------
.. doxygenfunction:: rocsparse_sddmm_preprocess
rocsparse_sddmm()
-----------------
.. doxygenfunction:: rocsparse_sddmm
rocsparse_dense_to_sparse()
---------------------------
.. doxygenfunction:: rocsparse_dense_to_sparse
rocsparse_sparse_to_dense()
---------------------------
.. doxygenfunction:: rocsparse_sparse_to_dense
rocsparse_sparse_to_sparse_buffer_size()
----------------------------------------
.. doxygenfunction:: rocsparse_sparse_to_sparse_buffer_size
rocsparse_sparse_to_sparse()
----------------------------
.. doxygenfunction:: rocsparse_sparse_to_sparse
rocsparse_extract_buffer_size()
-------------------------------
.. doxygenfunction:: rocsparse_extract_buffer_size
rocsparse_extract_nnz
---------------------
.. doxygenfunction:: rocsparse_extract_nnz
rocsparse_extract()
-------------------
.. doxygenfunction:: rocsparse_extract
rocsparse_check_spmat
---------------------
.. doxygenfunction:: rocsparse_check_spmat
rocsparse_spitsv
----------------
.. doxygenfunction:: rocsparse_spitsv