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

hipfort_rocsparse_enums Module Reference

hipfort_rocsparse_enums Module Reference#

HIPFORT API Reference: hipfort_rocsparse_enums Module Reference
hipfort_rocsparse_enums Module Reference

Enumerations

enum  { rocsparse_operation_none = 111 , rocsparse_operation_transpose = 112 , rocsparse_operation_conjugate_transpose = 113 }
 
enum  { rocsparse_index_base_zero = 0 , rocsparse_index_base_one = 1 }
 
enum  { rocsparse_matrix_type_general = 0 , rocsparse_matrix_type_symmetric = 1 , rocsparse_matrix_type_hermitian = 2 , rocsparse_matrix_type_triangular = 3 }
 
enum  { rocsparse_diag_type_non_unit = 0 , rocsparse_diag_type_unit = 1 }
 
enum  { rocsparse_fill_mode_lower = 0 , rocsparse_fill_mode_upper = 1 }
 
enum  { rocsparse_action_symbolic = 0 , rocsparse_action_numeric = 1 }
 
enum  { rocsparse_direction_row = 0 , rocsparse_direction_column = 1 }
 
enum  { rocsparse_hyb_partition_auto = 0 , rocsparse_hyb_partition_user = 1 , rocsparse_hyb_partition_max = 2 }
 
enum  { rocsparse_analysis_policy_reuse = 0 , rocsparse_analysis_policy_force = 1 }
 
enum  { rocsparse_solve_policy_auto = 0 }
 
enum  { rocsparse_pointer_mode_host = 0 , rocsparse_pointer_mode_device = 1 }
 
enum  { rocsparse_layer_mode_none = 0 , rocsparse_layer_mode_log_trace = 1 , rocsparse_layer_mode_log_bench = 2 }
 
enum  {
  rocsparse_status_success = 0 , rocsparse_status_invalid_handle = 1 , rocsparse_status_not_implemented = 2 , rocsparse_status_invalid_pointer = 3 ,
  rocsparse_status_invalid_size = 4 , rocsparse_status_memory_error = 5 , rocsparse_status_internal_error = 6 , rocsparse_status_invalid_value = 7 ,
  rocsparse_status_arch_mismatch = 8 , rocsparse_status_zero_pivot = 9 , rocsparse_status_not_initialized = 10 , rocsparse_status_type_mismatch = 11
}
 
enum  { rocsparse_indextype_u16 = 1 , rocsparse_indextype_i32 = 2 , rocsparse_indextype_i64 = 3 }
 
enum  { rocsparse_datatype_f32_r = 151 , rocsparse_datatype_f64_r = 152 , rocsparse_datatype_f32_c = 154 , rocsparse_datatype_f64_c = 155 }
 
enum  {
  rocsparse_format_coo = 0 , rocsparse_format_coo_aos = 1 , rocsparse_format_csr = 2 , rocsparse_format_csc = 3 ,
  rocsparse_format_ell = 4 , rocsparse_format_bell = 5
}
 
enum  { rocsparse_order_row = 0 , rocsparse_order_column = 1 }
 
enum  { rocsparse_spmat_fill_mode = 0 , rocsparse_spmat_diag_type = 1 , rocsparse_spmat_matrix_type = 2 }
 
enum  {
  rocsparse_spmv_alg_default = 0 , rocsparse_spmv_alg_coo = 1 , rocsparse_spmv_alg_csr_adaptive = 2 , rocsparse_spmv_alg_csr_stream = 3 ,
  rocsparse_spmv_alg_ell = 4
}
 
enum  { rocsparse_spsv_alg_default = 0 }
 
enum  { rocsparse_spsv_stage_auto = 0 , rocsparse_spsv_stage_buffer_size = 1 , rocsparse_spsv_stage_preprocess = 2 , rocsparse_spsv_stage_compute = 3 }
 
enum  { rocsparse_spsm_alg_default = 0 }
 
enum  { rocsparse_spsm_stage_auto = 0 , rocsparse_spsm_stage_buffer_size = 1 , rocsparse_spsm_stage_preprocess = 2 , rocsparse_spsm_stage_compute = 3 }
 
enum  {
  rocsparse_spmm_alg_default = 0 , rocsparse_spmm_alg_csr , rocsparse_spmm_alg_coo_segmented , rocsparse_spmm_alg_coo_atomic ,
  rocsparse_spmm_alg_csr_row_split , rocsparse_spmm_alg_csr_merge , rocsparse_spmm_alg_coo_segmented_atomic , rocsparse_spmm_alg_bell
}
 
enum  { rocsparse_sddmm_alg_default = 0 }
 
enum  { rocsparse_sparse_to_dense_alg_default = 0 }
 
enum  { rocsparse_dense_to_sparse_alg_default = 0 }
 
enum  { rocsparse_spmm_stage_auto = 0 , rocsparse_spmm_stage_buffer_size = 1 , rocsparse_spmm_stage_preprocess = 2 , rocsparse_spmm_stage_compute = 3 }
 
enum  { rocsparse_spgemm_stage_auto = 0 , rocsparse_spgemm_stage_buffer_size = 1 , rocsparse_spgemm_stage_nnz = 2 , rocsparse_spgemm_stage_compute = 3 }
 
enum  { rocsparse_spgemm_alg_default = 0 }
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_operation_none 
rocsparse_operation_transpose 
rocsparse_operation_conjugate_transpose 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_index_base_zero 
rocsparse_index_base_one 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_pointer_mode_host 
rocsparse_pointer_mode_device 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_layer_mode_none 
rocsparse_layer_mode_log_trace 
rocsparse_layer_mode_log_bench 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_status_success 
rocsparse_status_invalid_handle 
rocsparse_status_not_implemented 
rocsparse_status_invalid_pointer 
rocsparse_status_invalid_size 
rocsparse_status_memory_error 
rocsparse_status_internal_error 
rocsparse_status_invalid_value 
rocsparse_status_arch_mismatch 
rocsparse_status_zero_pivot 
rocsparse_status_not_initialized 
rocsparse_status_type_mismatch 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_indextype_u16 
rocsparse_indextype_i32 
rocsparse_indextype_i64 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_datatype_f32_r 
rocsparse_datatype_f64_r 
rocsparse_datatype_f32_c 
rocsparse_datatype_f64_c 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_format_coo 
rocsparse_format_coo_aos 
rocsparse_format_csr 
rocsparse_format_csc 
rocsparse_format_ell 
rocsparse_format_bell 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_order_row 
rocsparse_order_column 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spmat_fill_mode 
rocsparse_spmat_diag_type 
rocsparse_spmat_matrix_type 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spmv_alg_default 
rocsparse_spmv_alg_coo 
rocsparse_spmv_alg_csr_adaptive 
rocsparse_spmv_alg_csr_stream 
rocsparse_spmv_alg_ell 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spsv_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_matrix_type_general 
rocsparse_matrix_type_symmetric 
rocsparse_matrix_type_hermitian 
rocsparse_matrix_type_triangular 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spsv_stage_auto 
rocsparse_spsv_stage_buffer_size 
rocsparse_spsv_stage_preprocess 
rocsparse_spsv_stage_compute 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spsm_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spsm_stage_auto 
rocsparse_spsm_stage_buffer_size 
rocsparse_spsm_stage_preprocess 
rocsparse_spsm_stage_compute 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spmm_alg_default 
rocsparse_spmm_alg_csr 
rocsparse_spmm_alg_coo_segmented 
rocsparse_spmm_alg_coo_atomic 
rocsparse_spmm_alg_csr_row_split 
rocsparse_spmm_alg_csr_merge 
rocsparse_spmm_alg_coo_segmented_atomic 
rocsparse_spmm_alg_bell 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_sddmm_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_sparse_to_dense_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_dense_to_sparse_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spmm_stage_auto 
rocsparse_spmm_stage_buffer_size 
rocsparse_spmm_stage_preprocess 
rocsparse_spmm_stage_compute 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spgemm_stage_auto 
rocsparse_spgemm_stage_buffer_size 
rocsparse_spgemm_stage_nnz 
rocsparse_spgemm_stage_compute 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_spgemm_alg_default 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_diag_type_non_unit 
rocsparse_diag_type_unit 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_fill_mode_lower 
rocsparse_fill_mode_upper 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_action_symbolic 
rocsparse_action_numeric 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_direction_row 
rocsparse_direction_column 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_hyb_partition_auto 
rocsparse_hyb_partition_user 
rocsparse_hyb_partition_max 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_analysis_policy_reuse 
rocsparse_analysis_policy_force 

◆ anonymous enum

anonymous enum
Enumerator
rocsparse_solve_policy_auto