Data types#
Data Structures | |
| struct | hipsparseLtHandle_t |
| Handle to the hipSPARSELt library context queue. More... | |
| struct | hipsparseLtMatDescriptor_t |
| Descriptor of the matrix. More... | |
| struct | hipsparseLtMatmulDescriptor_t |
| Descriptor of the matrix multiplication operation. More... | |
| struct | hipsparseLtMatmulAlgSelection_t |
| Descriptor of the matrix multiplication algorithm. More... | |
| struct | hipsparseLtMatmulPlan_t |
| Descriptor of the matrix multiplication execution plan. More... | |
Detailed Description
HIP = Heterogeneous-compute Interface for Portability
Define a extremely thin runtime layer that allows source code to be compiled unmodified through either AMD HCC or NVCC. Key features tend to be in the spirit and terminology of CUDA, but with a portable path to other GPUs as well.
This is the master include file for hipSPARSELt, wrapping around hipSPARSELt and cuSPARSELt "version 0.3".
Enumeration Type Documentation
◆ hipsparseLtComputetype_t
Specify the compute precision modes of the matrix.
◆ hipsparseLtMatDescAttribute_t
Specify the additional attributes of a matrix descriptor.
The hipsparseLtMatDescAttribute_t enumeration is used in the hipsparseLtMatDescSetAttribute and hipsparseLtMatDescGetAttribute functions.
◆ hipsparseLtMatmulAlg_t
Specify the algorithm for matrix-matrix multiplication.
The hipsparseLtMatmulAlg_t enumeration is used in the hipsparseLtMatmulAlgSelectionInit function.
| Enumerator | |
|---|---|
| HIPSPARSELT_MATMUL_ALG_DEFAULT | |
◆ hipsparseLtMatmulAlgAttribute_t
Specify the matrix multiplication algorithm attributes.
The hipsparseLtMatmulAlgAttribute_t enumeration is used in the hipsparseLtMatmulAlgGetAttribute and hipsparseLtMatmulAlgSetAttribute functions.
◆ hipsparseLtMatmulDescAttribute_t
Specify the additional attributes of a matrix multiplication descriptor.
The hipsparseLtMatmulDescAttribute_t enumeration is used in the hipsparseLtMatmulDescSetAttribute and hipsparseLtMatmulDescGetAttribute functions.
◆ hipsparseLtPruneAlg_t
Specify the pruning algorithm to apply to the structured matrix before the compression.
The hipsparseLtPruneAlg_t enumeration is used in the hipsparseLtSpMMAPrune and hipsparseLtSpMMAPrune2 functions.
◆ hipsparseLtSparsity_t
Specify the sparsity of the structured matrix.
The enumerator specifies the sparsity ratio of the structured matrix as sparsity = nnz / total elements. The sparsity property is used in the hipsparseLtStructuredDescriptorInit function.
| Enumerator | |
|---|---|
| HIPSPARSELT_SPARSITY_50_PERCENT | 50% sparsity ratio:
|
◆ hipsparseLtSplitKMode_t
Specify the Split-K mode value.
The hipsparseLtSplitKMode_t enumeration is used by the HIPSPARSELT_MATMUL_SPLIT_K_MODE attribute in hipsparseLtMatmulAlgAttribute_t.
| Enumerator | |
|---|---|
| HIPSPARSELT_SPLIT_K_MODE_ONE_KERNEL | Use the same SP-MM kernel to do the final reduction. |
| HIPSPARSELT_SPLIT_K_MODE_TWO_KERNELS | Use another kernel to do the final reduction. |