This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipfort_hipsparse_enums Module Reference

hipfort_hipsparse_enums Module Reference#

HIPFORT API Reference: hipfort_hipsparse_enums Module Reference
hipfort_hipsparse_enums Module Reference

Enumerations

enum  {
  hipsparse_status_success = 0 , hipsparse_status_not_initialized = 1 , hipsparse_status_alloc_failed = 2 , hipsparse_status_invalid_value = 3 ,
  hipsparse_status_arch_mismatch = 4 , hipsparse_status_mapping_error = 5 , hipsparse_status_execution_failed = 6 , hipsparse_status_internal_error = 7 ,
  hipsparse_status_matrix_type_not_supported = 8 , hipsparse_status_zero_pivot = 9 , hipsparse_status_not_supported = 10 , hipsparse_status_insufficient_resources = 11
}
 
enum  { hipsparse_pointer_mode_host = 0 , hipsparse_pointer_mode_device = 1 }
 
enum  { hipsparse_action_symbolic = 0 , hipsparse_action_numeric = 1 }
 
enum  { hipsparse_matrix_type_general = 0 , hipsparse_matrix_type_symmetric = 1 , hipsparse_matrix_type_hermitian = 2 , hipsparse_matrix_type_triangular = 3 }
 
enum  { hipsparse_fill_mode_lower = 0 , hipsparse_fill_mode_upper = 1 }
 
enum  { hipsparse_diag_type_non_unit = 0 , hipsparse_diag_type_unit = 1 }
 
enum  { hipsparse_index_base_zero = 0 , hipsparse_index_base_one = 1 }
 
enum  { hipsparse_operation_non_transpose = 0 , hipsparse_operation_transpose = 1 , hipsparse_operation_conjugate_transpose = 2 }
 
enum  { hipsparse_hyb_partition_auto = 0 , hipsparse_hyb_partition_user = 1 , hipsparse_hyb_partition_max = 2 }
 
enum  { hipsparse_solve_policy_no_level = 0 , hipsparse_solve_policy_use_level = 1 }
 
enum  { hipsparse_side_left = 0 , hipsparse_side_right = 1 }
 
enum  { hipsparse_direction_row = 0 , hipsparse_direction_column = 1 }
 
enum  { hipsparse_format_csr = 1 , hipsparse_format_coo = 3 , hipsparse_format_coo_aos = 4 , hipsparse_format_blocked_ell = 5 }
 
enum  { hipsparse_order_row = 0 , hipsparse_order_column = 1 }
 
enum  { hipsparse_index_16u = 1 , hipsparse_index_32i = 2 , hipsparse_index_64i = 3 }
 
enum  {
  hipsparse_mv_alg_default = 0 , hipsparse_coomv_alg = 1 , hipsparse_csrmv_alg1 = 2 , hipsparse_csrmv_alg2 = 3 ,
  hipsparse_spmv_alg_default = 4 , hipsparse_spmv_coo_alg1 = 5 , hipsparse_spmv_coo_alg2 = 6 , hipsparse_spmv_csr_alg1 = 7 ,
  hipsparse_spmv_csr_alg2 = 8
}
 
enum  {
  hipsparse_mm_alg_default = 0 , hipsparse_coomm_alg1 = 1 , hipsparse_coomm_alg2 = 2 , hipsparse_coomm_alg3 = 3 ,
  hipsparse_csrmm_alg1 = 4 , hipsparse_spmm_alg_default = 5 , hipsparse_spmm_coo_alg1 = 6 , hipsparse_spmm_coo_alg2 = 7 ,
  hipsparse_spmm_coo_alg3 = 8 , hipsparse_spmm_coo_alg4 = 9 , hipsparse_spmm_csr_alg1 = 10 , hipsparse_spmm_csr_alg2 = 11 ,
  hipsparse_spmm_blocked_ell_alg1 = 12 , hipsparse_spmm_csr_alg3 = 13
}
 
enum  { hipsparse_sparsetodense_alg_default = 0 }
 
enum  { hipsparse_densetosparse_alg_default = 0 }
 
enum  { hipsparse_sddmm_alg_default = 0 }
 
enum  { hipsparse_spsv_alg_default = 0 }
 
enum  { hipsparse_spsm_alg_default = 0 }
 
enum  { hipsparse_spmat_fill_mode = 0 , hipsparse_spmat_diag_type = 1 }
 
enum  { hipsparse_spgemm_default = 0 }
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_status_success 
hipsparse_status_not_initialized 
hipsparse_status_alloc_failed 
hipsparse_status_invalid_value 
hipsparse_status_arch_mismatch 
hipsparse_status_mapping_error 
hipsparse_status_execution_failed 
hipsparse_status_internal_error 
hipsparse_status_matrix_type_not_supported 
hipsparse_status_zero_pivot 
hipsparse_status_not_supported 
hipsparse_status_insufficient_resources 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_pointer_mode_host 
hipsparse_pointer_mode_device 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_side_left 
hipsparse_side_right 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_direction_row 
hipsparse_direction_column 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_format_csr 
hipsparse_format_coo 
hipsparse_format_coo_aos 
hipsparse_format_blocked_ell 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_order_row 
hipsparse_order_column 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_index_16u 
hipsparse_index_32i 
hipsparse_index_64i 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_mv_alg_default 
hipsparse_coomv_alg 
hipsparse_csrmv_alg1 
hipsparse_csrmv_alg2 
hipsparse_spmv_alg_default 
hipsparse_spmv_coo_alg1 
hipsparse_spmv_coo_alg2 
hipsparse_spmv_csr_alg1 
hipsparse_spmv_csr_alg2 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_mm_alg_default 
hipsparse_coomm_alg1 
hipsparse_coomm_alg2 
hipsparse_coomm_alg3 
hipsparse_csrmm_alg1 
hipsparse_spmm_alg_default 
hipsparse_spmm_coo_alg1 
hipsparse_spmm_coo_alg2 
hipsparse_spmm_coo_alg3 
hipsparse_spmm_coo_alg4 
hipsparse_spmm_csr_alg1 
hipsparse_spmm_csr_alg2 
hipsparse_spmm_blocked_ell_alg1 
hipsparse_spmm_csr_alg3 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_sparsetodense_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_densetosparse_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_sddmm_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_action_symbolic 
hipsparse_action_numeric 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_spsv_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_spsm_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_spmat_fill_mode 
hipsparse_spmat_diag_type 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_spgemm_default 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_matrix_type_general 
hipsparse_matrix_type_symmetric 
hipsparse_matrix_type_hermitian 
hipsparse_matrix_type_triangular 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_fill_mode_lower 
hipsparse_fill_mode_upper 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_diag_type_non_unit 
hipsparse_diag_type_unit 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_index_base_zero 
hipsparse_index_base_one 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_operation_non_transpose 
hipsparse_operation_transpose 
hipsparse_operation_conjugate_transpose 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_hyb_partition_auto 
hipsparse_hyb_partition_user 
hipsparse_hyb_partition_max 

◆ anonymous enum

anonymous enum
Enumerator
hipsparse_solve_policy_no_level 
hipsparse_solve_policy_use_level