text: #pragma once
  
  // level1
  
  #define axpy_plain axpy_z_plain
  #define gthr_plain gthr_z_plain
  #define gthrz_plain gthrz_z_plain
  #define sctr_plain sctr_z_plain
  #define dotui_sub_plain dotui_z_sub_plain
  #define dotci_sub_plain dotci_z_sub_plain
  
  // coo
  #define update_values_coo_plain update_values_z_coo_plain
  #define set_value_coo_plain set_value_z_coo_plain
  
  #define add_coo_plain add_z_coo_plain
  #define add_coo_trans_plain add_z_coo_trans_plain
  #define add_coo_conj_plain add_z_coo_conj_plain
  
  #define gemv_coo_plain gemv_z_coo_plain
  #define gemv_coo_trans_plain gemv_z_coo_trans_plain
  #define gemv_coo_conj_plain gemv_z_coo_conj_plain
  #define symv_coo_n_lo_plain symv_z_coo_n_lo_plain
  #define symv_coo_u_lo_plain symv_z_coo_u_lo_plain
  #define symv_coo_n_hi_plain symv_z_coo_n_hi_plain
  #define symv_coo_u_hi_plain symv_z_coo_u_hi_plain
  #define symv_coo_n_lo_conj_plain symv_z_coo_n_lo_conj_plain
  #define symv_coo_u_lo_conj_plain symv_z_coo_u_lo_conj_plain
  #define symv_coo_n_hi_conj_plain symv_z_coo_n_hi_conj_plain
  #define symv_coo_u_hi_conj_plain symv_z_coo_u_hi_conj_plain
  #define hermv_coo_n_lo_plain hermv_z_coo_n_lo_plain
  #define hermv_coo_u_lo_plain hermv_z_coo_u_lo_plain
  #define hermv_coo_n_hi_plain hermv_z_coo_n_hi_plain
  #define hermv_coo_u_hi_plain hermv_z_coo_u_hi_plain
  #define hermv_coo_n_lo_trans_plain hermv_z_coo_n_lo_trans_plain
  #define hermv_coo_u_lo_trans_plain hermv_z_coo_u_lo_trans_plain
  #define hermv_coo_n_hi_trans_plain hermv_z_coo_n_hi_trans_plain
  #define hermv_coo_u_hi_trans_plain hermv_z_coo_u_hi_trans_plain
  #define trmv_coo_n_lo_plain trmv_z_coo_n_lo_plain
  #define trmv_coo_u_lo_plain trmv_z_coo_u_lo_plain
  #define trmv_coo_n_hi_plain trmv_z_coo_n_hi_plain
  #define trmv_coo_u_hi_plain trmv_z_coo_u_hi_plain
  #define trmv_coo_n_lo_trans_plain trmv_z_coo_n_lo_trans_plain
  #define trmv_coo_u_lo_trans_plain trmv_z_coo_u_lo_trans_plain
  #define trmv_coo_n_hi_trans_plain trmv_z_coo_n_hi_trans_plain
  #define trmv_coo_u_hi_trans_plain trmv_z_coo_u_hi_trans_plain
  #define trmv_coo_n_lo_conj_plain trmv_z_coo_n_lo_conj_plain
  #define trmv_coo_u_lo_conj_plain trmv_z_coo_u_lo_conj_plain
  #define trmv_coo_n_hi_conj_plain trmv_z_coo_n_hi_conj_plain
  #define trmv_coo_u_hi_conj_plain trmv_z_coo_u_hi_conj_plain
  #define diagmv_coo_n_plain diagmv_z_coo_n_plain
  #define diagmv_coo_u_plain diagmv_z_coo_u_plain
  
  #define gemm_coo_row_plain gemm_z_coo_row_plain
  #define gemm_coo_col_plain gemm_z_coo_col_plain
  #define gemm_coo_row_trans_plain gemm_z_coo_row_trans_plain
  #define gemm_coo_col_trans_plain gemm_z_coo_col_trans_plain
  #define gemm_coo_row_conj_plain gemm_z_coo_row_conj_plain
  #define gemm_coo_col_conj_plain gemm_z_coo_col_conj_plain
  #define symm_coo_n_lo_row_plain symm_z_coo_n_lo_row_plain
  #define symm_coo_u_lo_row_plain symm_z_coo_u_lo_row_plain
  #define symm_coo_n_hi_row_plain symm_z_coo_n_hi_row_plain
  #define symm_coo_u_hi_row_plain symm_z_coo_u_hi_row_plain
  #define symm_coo_n_lo_col_plain symm_z_coo_n_lo_col_plain
  #define symm_coo_u_lo_col_plain symm_z_coo_u_lo_col_plain
  #define symm_coo_n_hi_col_plain symm_z_coo_n_hi_col_plain
  #define symm_coo_u_hi_col_plain symm_z_coo_u_hi_col_plain
  #define symm_coo_n_lo_row_conj_plain symm_z_coo_n_lo_row_conj_plain
  #define symm_coo_u_lo_row_conj_plain symm_z_coo_u_lo_row_conj_plain
  #define symm_coo_n_hi_row_conj_plain symm_z_coo_n_hi_row_conj_plain
  #define symm_coo_u_hi_row_conj_plain symm_z_coo_u_hi_row_conj_plain
  #define symm_coo_n_lo_col_conj_plain symm_z_coo_n_lo_col_conj_plain
  #define symm_coo_u_lo_col_conj_plain symm_z_coo_u_lo_col_conj_plain
  #define symm_coo_n_hi_col_conj_plain symm_z_coo_n_hi_col_conj_plain
  #define symm_coo_u_hi_col_conj_plain symm_z_coo_u_hi_col_conj_plain
  #define hermm_coo_n_lo_row_plain hermm_z_coo_n_lo_row_plain
  #define hermm_coo_u_lo_row_plain hermm_z_coo_u_lo_row_plain
  #define hermm_coo_n_hi_row_plain hermm_z_coo_n_hi_row_plain
  #define hermm_coo_u_hi_row_plain hermm_z_coo_u_hi_row_plain
  #define hermm_coo_n_lo_col_plain hermm_z_coo_n_lo_col_plain
  #define hermm_coo_u_lo_col_plain hermm_z_coo_u_lo_col_plain
  #define hermm_coo_n_hi_col_plain hermm_z_coo_n_hi_col_plain
  #define hermm_coo_u_hi_col_plain hermm_z_coo_u_hi_col_plain
  #define hermm_coo_n_lo_row_trans_plain hermm_z_coo_n_lo_row_trans_plain
  #define hermm_coo_u_lo_row_trans_plain hermm_z_coo_u_lo_row_trans_plain
  #define hermm_coo_n_hi_row_trans_plain hermm_z_coo_n_hi_row_trans_plain
  #define hermm_coo_u_hi_row_trans_plain hermm_z_coo_u_hi_row_trans_plain
  #define hermm_coo_n_lo_col_trans_plain hermm_z_coo_n_lo_col_trans_plain
  #define hermm_coo_u_lo_col_trans_plain hermm_z_coo_u_lo_col_trans_plain
  #define hermm_coo_n_hi_col_trans_plain hermm_z_coo_n_hi_col_trans_plain
  #define hermm_coo_u_hi_col_trans_plain hermm_z_coo_u_hi_col_trans_plain
  #define trmm_coo_n_lo_row_plain trmm_z_coo_n_lo_row_plain
  #define trmm_coo_u_lo_row_plain trmm_z_coo_u_lo_row_plain
  #define trmm_coo_n_hi_row_plain trmm_z_coo_n_hi_row_plain
  #define trmm_coo_u_hi_row_plain trmm_z_coo_u_hi_row_plain
  #define trmm_coo_n_lo_col_plain trmm_z_coo_n_lo_col_plain
  #define trmm_coo_u_lo_col_plain trmm_z_coo_u_lo_col_plain
  #define trmm_coo_n_hi_col_plain trmm_z_coo_n_hi_col_plain
  #define trmm_coo_u_hi_col_plain trmm_z_coo_u_hi_col_plain
  #define trmm_coo_n_lo_row_trans_plain trmm_z_coo_n_lo_row_trans_plain
  #define trmm_coo_u_lo_row_trans_plain trmm_z_coo_u_lo_row_trans_plain
  #define trmm_coo_n_hi_row_trans_plain trmm_z_coo_n_hi_row_trans_plain
  #define trmm_coo_u_hi_row_trans_plain trmm_z_coo_u_hi_row_trans_plain
  #define trmm_coo_n_lo_col_trans_plain trmm_z_coo_n_lo_col_trans_plain
  #define trmm_coo_u_lo_col_trans_plain trmm_z_coo_u_lo_col_trans_plain
  #define trmm_coo_n_hi_col_trans_plain trmm_z_coo_n_hi_col_trans_plain
  #define trmm_coo_u_hi_col_trans_plain trmm_z_coo_u_hi_col_trans_plain
  #define trmm_coo_n_lo_row_conj_plain trmm_z_coo_n_lo_row_conj_plain
  #define trmm_coo_u_lo_row_conj_plain trmm_z_coo_u_lo_row_conj_plain
  #define trmm_coo_n_hi_row_conj_plain trmm_z_coo_n_hi_row_conj_plain
  #define trmm_coo_u_hi_row_conj_plain trmm_z_coo_u_hi_row_conj_plain
  #define trmm_coo_n_lo_col_conj_plain trmm_z_coo_n_lo_col_conj_plain
  #define trmm_coo_u_lo_col_conj_plain trmm_z_coo_u_lo_col_conj_plain
  #define trmm_coo_n_hi_col_conj_plain trmm_z_coo_n_hi_col_conj_plain
  #define trmm_coo_u_hi_col_conj_plain trmm_z_coo_u_hi_col_conj_plain
  #define diagmm_coo_n_row_plain diagmm_z_coo_n_row_plain
  #define diagmm_coo_u_row_plain diagmm_z_coo_u_row_plain
  #define diagmm_coo_n_col_plain diagmm_z_coo_n_col_plain
  #define diagmm_coo_u_col_plain diagmm_z_coo_u_col_plain
  
  #define spmmd_coo_row_plain spmmd_z_coo_row_plain
  #define spmmd_coo_col_plain spmmd_z_coo_col_plain
  #define spmmd_coo_row_trans_plain spmmd_z_coo_row_trans_plain
  #define spmmd_coo_col_trans_plain spmmd_z_coo_col_trans_plain
  #define spmmd_coo_row_conj_plain spmmd_z_coo_row_conj_plain
  #define spmmd_coo_col_conj_plain spmmd_z_coo_col_conj_plain
  
  #define spmm_coo_plain spmm_z_coo_plain
  #define spmm_coo_trans_plain spmm_z_coo_trans_plain
  #define spmm_coo_conj_plain spmm_z_coo_conj_plain
  
  #define trsv_coo_n_lo_plain trsv_z_coo_n_lo_plain
  #define trsv_coo_u_lo_plain trsv_z_coo_u_lo_plain
  #define trsv_coo_n_hi_plain trsv_z_coo_n_hi_plain
  #define trsv_coo_u_hi_plain trsv_z_coo_u_hi_plain
  #define trsv_coo_n_lo_trans_plain trsv_z_coo_n_lo_trans_plain
  #define trsv_coo_u_lo_trans_plain trsv_z_coo_u_lo_trans_plain
  #define trsv_coo_n_hi_trans_plain trsv_z_coo_n_hi_trans_plain
  #define trsv_coo_u_hi_trans_plain trsv_z_coo_u_hi_trans_plain
  #define trsv_coo_n_lo_conj_plain trsv_z_coo_n_lo_conj_plain
  #define trsv_coo_u_lo_conj_plain trsv_z_coo_u_lo_conj_plain
  #define trsv_coo_n_hi_conj_plain trsv_z_coo_n_hi_conj_plain
  #define trsv_coo_u_hi_conj_plain trsv_z_coo_u_hi_conj_plain
  #define diagsv_coo_n_plain diagsv_z_coo_n_plain
  #define diagsv_coo_u_plain diagsv_z_coo_u_plain
  
  #define trsm_coo_n_lo_row_plain trsm_z_coo_n_lo_row_plain
  #define trsm_coo_u_lo_row_plain trsm_z_coo_u_lo_row_plain
  #define trsm_coo_n_hi_row_plain trsm_z_coo_n_hi_row_plain
  #define trsm_coo_u_hi_row_plain trsm_z_coo_u_hi_row_plain
  #define trsm_coo_n_lo_col_plain trsm_z_coo_n_lo_col_plain
  #define trsm_coo_u_lo_col_plain trsm_z_coo_u_lo_col_plain
  #define trsm_coo_n_hi_col_plain trsm_z_coo_n_hi_col_plain
  #define trsm_coo_u_hi_col_plain trsm_z_coo_u_hi_col_plain
  #define trsm_coo_n_lo_row_trans_plain trsm_z_coo_n_lo_row_trans_plain
  #define trsm_coo_u_lo_row_trans_plain trsm_z_coo_u_lo_row_trans_plain
  #define trsm_coo_n_hi_row_trans_plain trsm_z_coo_n_hi_row_trans_plain
  #define trsm_coo_u_hi_row_trans_plain trsm_z_coo_u_hi_row_trans_plain
  #define trsm_coo_n_lo_col_trans_plain trsm_z_coo_n_lo_col_trans_plain
  #define trsm_coo_u_lo_col_trans_plain trsm_z_coo_u_lo_col_trans_plain
  #define trsm_coo_n_hi_col_trans_plain trsm_z_coo_n_hi_col_trans_plain
  #define trsm_coo_u_hi_col_trans_plain trsm_z_coo_u_hi_col_trans_plain
  #define trsm_coo_n_lo_row_conj_plain trsm_z_coo_n_lo_row_conj_plain
  #define trsm_coo_u_lo_row_conj_plain trsm_z_coo_u_lo_row_conj_plain
  #define trsm_coo_n_hi_row_conj_plain trsm_z_coo_n_hi_row_conj_plain
  #define trsm_coo_u_hi_row_conj_plain trsm_z_coo_u_hi_row_conj_plain
  #define trsm_coo_n_lo_col_conj_plain trsm_z_coo_n_lo_col_conj_plain
  #define trsm_coo_u_lo_col_conj_plain trsm_z_coo_u_lo_col_conj_plain
  #define trsm_coo_n_hi_col_conj_plain trsm_z_coo_n_hi_col_conj_plain
  #define trsm_coo_u_hi_col_conj_plain trsm_z_coo_u_hi_col_conj_plain
  #define diagsm_coo_n_row_plain diagsm_z_coo_n_row_plain
  #define diagsm_coo_u_row_plain diagsm_z_coo_u_row_plain
  #define diagsm_coo_n_col_plain diagsm_z_coo_n_col_plain
  #define diagsm_coo_u_col_plain diagsm_z_coo_u_col_plain
  
  // csr
  #define update_values_csr_plain update_values_z_csr_plain
  #define set_value_csr_plain set_value_z_csr_plain
  
  #define add_csr_plain add_z_csr_plain
  #define add_csr_trans_plain add_z_csr_trans_plain
  #define add_csr_conj_plain add_z_csr_conj_plain
  
  #define gemv_csr_plain gemv_z_csr_plain
  #define gemv_csr_trans_plain gemv_z_csr_trans_plain
  #define gemv_csr_conj_plain gemv_z_csr_conj_plain
  #define symv_csr_n_lo_plain symv_z_csr_n_lo_plain
  #define symv_csr_u_lo_plain symv_z_csr_u_lo_plain
  #define symv_csr_n_hi_plain symv_z_csr_n_hi_plain
  #define symv_csr_u_hi_plain symv_z_csr_u_hi_plain
  #define symv_csr_n_lo_conj_plain symv_z_csr_n_lo_conj_plain
  #define symv_csr_u_lo_conj_plain symv_z_csr_u_lo_conj_plain
  #define symv_csr_n_hi_conj_plain symv_z_csr_n_hi_conj_plain
  #define symv_csr_u_hi_conj_plain symv_z_csr_u_hi_conj_plain
  #define hermv_csr_n_lo_plain hermv_z_csr_n_lo_plain
  #define hermv_csr_u_lo_plain hermv_z_csr_u_lo_plain
  #define hermv_csr_n_hi_plain hermv_z_csr_n_hi_plain
  #define hermv_csr_u_hi_plain hermv_z_csr_u_hi_plain
  #define hermv_csr_n_lo_trans_plain hermv_z_csr_n_lo_trans_plain
  #define hermv_csr_u_lo_trans_plain hermv_z_csr_u_lo_trans_plain
  #define hermv_csr_n_hi_trans_plain hermv_z_csr_n_hi_trans_plain
  #define hermv_csr_u_hi_trans_plain hermv_z_csr_u_hi_trans_plain
  #define trmv_csr_n_lo_plain trmv_z_csr_n_lo_plain
  #define trmv_csr_u_lo_plain trmv_z_csr_u_lo_plain
  #define trmv_csr_n_hi_plain trmv_z_csr_n_hi_plain
  #define trmv_csr_u_hi_plain trmv_z_csr_u_hi_plain
  #define trmv_csr_n_lo_trans_plain trmv_z_csr_n_lo_trans_plain
  #define trmv_csr_u_lo_trans_plain trmv_z_csr_u_lo_trans_plain
  #define trmv_csr_n_hi_trans_plain trmv_z_csr_n_hi_trans_plain
  #define trmv_csr_u_hi_trans_plain trmv_z_csr_u_hi_trans_plain
  #define trmv_csr_n_lo_conj_plain trmv_z_csr_n_lo_conj_plain
  #define trmv_csr_u_lo_conj_plain trmv_z_csr_u_lo_conj_plain
  #define trmv_csr_n_hi_conj_plain trmv_z_csr_n_hi_conj_plain
  #define trmv_csr_u_hi_conj_plain trmv_z_csr_u_hi_conj_plain
  #define diagmv_csr_n_plain diagmv_z_csr_n_plain
  #define diagmv_csr_u_plain diagmv_z_csr_u_plain
  
  #define gemm_csr_row_plain gemm_z_csr_row_plain
  #define gemm_csr_col_plain gemm_z_csr_col_plain
  #define gemm_csr_row_trans_plain gemm_z_csr_row_trans_plain
  #define gemm_csr_col_trans_plain gemm_z_csr_col_trans_plain
  #define gemm_csr_row_conj_plain gemm_z_csr_row_conj_plain
  #define gemm_csr_col_conj_plain gemm_z_csr_col_conj_plain
  #define symm_csr_n_lo_row_plain symm_z_csr_n_lo_row_plain
  #define symm_csr_u_lo_row_plain symm_z_csr_u_lo_row_plain
  #define symm_csr_n_hi_row_plain symm_z_csr_n_hi_row_plain
  #define symm_csr_u_hi_row_plain symm_z_csr_u_hi_row_plain
  #define symm_csr_n_lo_col_plain symm_z_csr_n_lo_col_plain
  #define symm_csr_u_lo_col_plain symm_z_csr_u_lo_col_plain
  #define symm_csr_n_hi_col_plain symm_z_csr_n_hi_col_plain
  #define symm_csr_u_hi_col_plain symm_z_csr_u_hi_col_plain
  #define symm_csr_n_lo_row_conj_plain symm_z_csr_n_lo_row_conj_plain
  #define symm_csr_u_lo_row_conj_plain symm_z_csr_u_lo_row_conj_plain
  #define symm_csr_n_hi_row_conj_plain symm_z_csr_n_hi_row_conj_plain
  #define symm_csr_u_hi_row_conj_plain symm_z_csr_u_hi_row_conj_plain
  #define symm_csr_n_lo_col_conj_plain symm_z_csr_n_lo_col_conj_plain
  #define symm_csr_u_lo_col_conj_plain symm_z_csr_u_lo_col_conj_plain
  #define symm_csr_n_hi_col_conj_plain symm_z_csr_n_hi_col_conj_plain
  #define symm_csr_u_hi_col_conj_plain symm_z_csr_u_hi_col_conj_plain
  #define hermm_csr_n_lo_row_plain hermm_z_csr_n_lo_row_plain
  #define hermm_csr_u_lo_row_plain hermm_z_csr_u_lo_row_plain
  #define hermm_csr_n_hi_row_plain hermm_z_csr_n_hi_row_plain
  #define hermm_csr_u_hi_row_plain hermm_z_csr_u_hi_row_plain
  #define hermm_csr_n_lo_col_plain hermm_z_csr_n_lo_col_plain
  #define hermm_csr_u_lo_col_plain hermm_z_csr_u_lo_col_plain
  #define hermm_csr_n_hi_col_plain hermm_z_csr_n_hi_col_plain
  #define hermm_csr_u_hi_col_plain hermm_z_csr_u_hi_col_plain
  #define hermm_csr_n_lo_row_trans_plain hermm_z_csr_n_lo_row_trans_plain
  #define hermm_csr_u_lo_row_trans_plain hermm_z_csr_u_lo_row_trans_plain
  #define hermm_csr_n_hi_row_trans_plain hermm_z_csr_n_hi_row_trans_plain
  #define hermm_csr_u_hi_row_trans_plain hermm_z_csr_u_hi_row_trans_plain
  #define hermm_csr_n_lo_col_trans_plain hermm_z_csr_n_lo_col_trans_plain
  #define hermm_csr_u_lo_col_trans_plain hermm_z_csr_u_lo_col_trans_plain
  #define hermm_csr_n_hi_col_trans_plain hermm_z_csr_n_hi_col_trans_plain
  #define hermm_csr_u_hi_col_trans_plain hermm_z_csr_u_hi_col_trans_plain
  #define trmm_csr_n_lo_row_plain trmm_z_csr_n_lo_row_plain
  #define trmm_csr_u_lo_row_plain trmm_z_csr_u_lo_row_plain
  #define trmm_csr_n_hi_row_plain trmm_z_csr_n_hi_row_plain
  #define trmm_csr_u_hi_row_plain trmm_z_csr_u_hi_row_plain
  #define trmm_csr_n_lo_col_plain trmm_z_csr_n_lo_col_plain
  #define trmm_csr_u_lo_col_plain trmm_z_csr_u_lo_col_plain
  #define trmm_csr_n_hi_col_plain trmm_z_csr_n_hi_col_plain
  #define trmm_csr_u_hi_col_plain trmm_z_csr_u_hi_col_plain
  #define trmm_csr_n_lo_row_trans_plain trmm_z_csr_n_lo_row_trans_plain
  #define trmm_csr_u_lo_row_trans_plain trmm_z_csr_u_lo_row_trans_plain
  #define trmm_csr_n_hi_row_trans_plain trmm_z_csr_n_hi_row_trans_plain
  #define trmm_csr_u_hi_row_trans_plain trmm_z_csr_u_hi_row_trans_plain
  #define trmm_csr_n_lo_col_trans_plain trmm_z_csr_n_lo_col_trans_plain
  #define trmm_csr_u_lo_col_trans_plain trmm_z_csr_u_lo_col_trans_plain
  #define trmm_csr_n_hi_col_trans_plain trmm_z_csr_n_hi_col_trans_plain
  #define trmm_csr_u_hi_col_trans_plain trmm_z_csr_u_hi_col_trans_plain
  #define trmm_csr_n_lo_row_conj_plain trmm_z_csr_n_lo_row_conj_plain
  #define trmm_csr_u_lo_row_conj_plain trmm_z_csr_u_lo_row_conj_plain
  #define trmm_csr_n_hi_row_conj_plain trmm_z_csr_n_hi_row_conj_plain
  #define trmm_csr_u_hi_row_conj_plain trmm_z_csr_u_hi_row_conj_plain
  #define trmm_csr_n_lo_col_conj_plain trmm_z_csr_n_lo_col_conj_plain
  #define trmm_csr_u_lo_col_conj_plain trmm_z_csr_u_lo_col_conj_plain
  #define trmm_csr_n_hi_col_conj_plain trmm_z_csr_n_hi_col_conj_plain
  #define trmm_csr_u_hi_col_conj_plain trmm_z_csr_u_hi_col_conj_plain
  #define diagmm_csr_n_row_plain diagmm_z_csr_n_row_plain
  #define diagmm_csr_u_row_plain diagmm_z_csr_u_row_plain
  #define diagmm_csr_n_col_plain diagmm_z_csr_n_col_plain
  #define diagmm_csr_u_col_plain diagmm_z_csr_u_col_plain
  
  #define spmmd_csr_row_plain spmmd_z_csr_row_plain
  #define spmmd_csr_col_plain spmmd_z_csr_col_plain
  #define spmmd_csr_row_trans_plain spmmd_z_csr_row_trans_plain
  #define spmmd_csr_col_trans_plain spmmd_z_csr_col_trans_plain
  #define spmmd_csr_row_conj_plain spmmd_z_csr_row_conj_plain
  #define spmmd_csr_col_conj_plain spmmd_z_csr_col_conj_plain
  
  #define spmm_csr_plain spmm_z_csr_plain
  #define spmm_csr_trans_plain spmm_z_csr_trans_plain
  #define spmm_csr_conj_plain spmm_z_csr_conj_plain
  
  #define trsv_csr_n_lo_plain trsv_z_csr_n_lo_plain
  #define trsv_csr_u_lo_plain trsv_z_csr_u_lo_plain
  #define trsv_csr_n_hi_plain trsv_z_csr_n_hi_plain
  #define trsv_csr_u_hi_plain trsv_z_csr_u_hi_plain
  #define trsv_csr_n_lo_trans_plain trsv_z_csr_n_lo_trans_plain
  #define trsv_csr_u_lo_trans_plain trsv_z_csr_u_lo_trans_plain
  #define trsv_csr_n_hi_trans_plain trsv_z_csr_n_hi_trans_plain
  #define trsv_csr_u_hi_trans_plain trsv_z_csr_u_hi_trans_plain
  #define trsv_csr_n_lo_conj_plain trsv_z_csr_n_lo_conj_plain
  #define trsv_csr_u_lo_conj_plain trsv_z_csr_u_lo_conj_plain
  #define trsv_csr_n_hi_conj_plain trsv_z_csr_n_hi_conj_plain
  #define trsv_csr_u_hi_conj_plain trsv_z_csr_u_hi_conj_plain
  #define diagsv_csr_n_plain diagsv_z_csr_n_plain
  #define diagsv_csr_u_plain diagsv_z_csr_u_plain
  
  #define trsm_csr_n_lo_row_plain trsm_z_csr_n_lo_row_plain
  #define trsm_csr_u_lo_row_plain trsm_z_csr_u_lo_row_plain
  #define trsm_csr_n_hi_row_plain trsm_z_csr_n_hi_row_plain
  #define trsm_csr_u_hi_row_plain trsm_z_csr_u_hi_row_plain
  #define trsm_csr_n_lo_col_plain trsm_z_csr_n_lo_col_plain
  #define trsm_csr_u_lo_col_plain trsm_z_csr_u_lo_col_plain
  #define trsm_csr_n_hi_col_plain trsm_z_csr_n_hi_col_plain
  #define trsm_csr_u_hi_col_plain trsm_z_csr_u_hi_col_plain
  #define trsm_csr_n_lo_row_trans_plain trsm_z_csr_n_lo_row_trans_plain
  #define trsm_csr_u_lo_row_trans_plain trsm_z_csr_u_lo_row_trans_plain
  #define trsm_csr_n_hi_row_trans_plain trsm_z_csr_n_hi_row_trans_plain
  #define trsm_csr_u_hi_row_trans_plain trsm_z_csr_u_hi_row_trans_plain
  #define trsm_csr_n_lo_col_trans_plain trsm_z_csr_n_lo_col_trans_plain
  #define trsm_csr_u_lo_col_trans_plain trsm_z_csr_u_lo_col_trans_plain
  #define trsm_csr_n_hi_col_trans_plain trsm_z_csr_n_hi_col_trans_plain
  #define trsm_csr_u_hi_col_trans_plain trsm_z_csr_u_hi_col_trans_plain
  #define trsm_csr_n_lo_row_conj_plain trsm_z_csr_n_lo_row_conj_plain
  #define trsm_csr_u_lo_row_conj_plain trsm_z_csr_u_lo_row_conj_plain
  #define trsm_csr_n_hi_row_conj_plain trsm_z_csr_n_hi_row_conj_plain
  #define trsm_csr_u_hi_row_conj_plain trsm_z_csr_u_hi_row_conj_plain
  #define trsm_csr_n_lo_col_conj_plain trsm_z_csr_n_lo_col_conj_plain
  #define trsm_csr_u_lo_col_conj_plain trsm_z_csr_u_lo_col_conj_plain
  #define trsm_csr_n_hi_col_conj_plain trsm_z_csr_n_hi_col_conj_plain
  #define trsm_csr_u_hi_col_conj_plain trsm_z_csr_u_hi_col_conj_plain
  #define diagsm_csr_n_row_plain diagsm_z_csr_n_row_plain
  #define diagsm_csr_u_row_plain diagsm_z_csr_u_row_plain
  #define diagsm_csr_n_col_plain diagsm_z_csr_n_col_plain
  #define diagsm_csr_u_col_plain diagsm_z_csr_u_col_plain
  
  // csc
  #define update_values_csc_plain update_values_z_csc_plain
  #define set_value_csc_plain set_value_z_csc_plain
  
  #define add_csc_plain add_z_csc_plain
  #define add_csc_trans_plain add_z_csc_trans_plain
  #define add_csc_conj_plain add_z_csc_conj_plain
  
  #define gemv_csc_plain gemv_z_csc_plain
  #define gemv_csc_trans_plain gemv_z_csc_trans_plain
  #define gemv_csc_conj_plain gemv_z_csc_conj_plain
  #define symv_csc_n_lo_plain symv_z_csc_n_lo_plain
  #define symv_csc_u_lo_plain symv_z_csc_u_lo_plain
  #define symv_csc_n_hi_plain symv_z_csc_n_hi_plain
  #define symv_csc_u_hi_plain symv_z_csc_u_hi_plain
  #define symv_csc_n_lo_conj_plain symv_z_csc_n_lo_conj_plain
  #define symv_csc_u_lo_conj_plain symv_z_csc_u_lo_conj_plain
  #define symv_csc_n_hi_conj_plain symv_z_csc_n_hi_conj_plain
  #define symv_csc_u_hi_conj_plain symv_z_csc_u_hi_conj_plain
  #define hermv_csc_n_lo_plain hermv_z_csc_n_lo_plain
  #define hermv_csc_u_lo_plain hermv_z_csc_u_lo_plain
  #define hermv_csc_n_hi_plain hermv_z_csc_n_hi_plain
  #define hermv_csc_u_hi_plain hermv_z_csc_u_hi_plain
  #define hermv_csc_n_lo_trans_plain hermv_z_csc_n_lo_trans_plain
  #define hermv_csc_u_lo_trans_plain hermv_z_csc_u_lo_trans_plain
  #define hermv_csc_n_hi_trans_plain hermv_z_csc_n_hi_trans_plain
  #define hermv_csc_u_hi_trans_plain hermv_z_csc_u_hi_trans_plain
  #define trmv_csc_n_lo_plain trmv_z_csc_n_lo_plain
  #define trmv_csc_u_lo_plain trmv_z_csc_u_lo_plain
  #define trmv_csc_n_hi_plain trmv_z_csc_n_hi_plain
  #define trmv_csc_u_hi_plain trmv_z_csc_u_hi_plain
  #define trmv_csc_n_lo_trans_plain trmv_z_csc_n_lo_trans_plain
  #define trmv_csc_u_lo_trans_plain trmv_z_csc_u_lo_trans_plain
  #define trmv_csc_n_hi_trans_plain trmv_z_csc_n_hi_trans_plain
  #define trmv_csc_u_hi_trans_plain trmv_z_csc_u_hi_trans_plain
  #define trmv_csc_n_lo_conj_plain trmv_z_csc_n_lo_conj_plain
  #define trmv_csc_u_lo_conj_plain trmv_z_csc_u_lo_conj_plain
  #define trmv_csc_n_hi_conj_plain trmv_z_csc_n_hi_conj_plain
  #define trmv_csc_u_hi_conj_plain trmv_z_csc_u_hi_conj_plain
  #define diagmv_csc_n_plain diagmv_z_csc_n_plain
  #define diagmv_csc_u_plain diagmv_z_csc_u_plain
  
  #define gemm_csc_row_plain gemm_z_csc_row_plain
  #define gemm_csc_col_plain gemm_z_csc_col_plain
  #define gemm_csc_row_trans_plain gemm_z_csc_row_trans_plain
  #define gemm_csc_col_trans_plain gemm_z_csc_col_trans_plain
  #define gemm_csc_row_conj_plain gemm_z_csc_row_conj_plain
  #define gemm_csc_col_conj_plain gemm_z_csc_col_conj_plain
  #define symm_csc_n_lo_row_plain symm_z_csc_n_lo_row_plain
  #define symm_csc_u_lo_row_plain symm_z_csc_u_lo_row_plain
  #define symm_csc_n_hi_row_plain symm_z_csc_n_hi_row_plain
  #define symm_csc_u_hi_row_plain symm_z_csc_u_hi_row_plain
  #define symm_csc_n_lo_col_plain symm_z_csc_n_lo_col_plain
  #define symm_csc_u_lo_col_plain symm_z_csc_u_lo_col_plain
  #define symm_csc_n_hi_col_plain symm_z_csc_n_hi_col_plain
  #define symm_csc_u_hi_col_plain symm_z_csc_u_hi_col_plain
  #define symm_csc_n_lo_row_conj_plain symm_z_csc_n_lo_row_conj_plain
  #define symm_csc_u_lo_row_conj_plain symm_z_csc_u_lo_row_conj_plain
  #define symm_csc_n_hi_row_conj_plain symm_z_csc_n_hi_row_conj_plain
  #define symm_csc_u_hi_row_conj_plain symm_z_csc_u_hi_row_conj_plain
  #define symm_csc_n_lo_col_conj_plain symm_z_csc_n_lo_col_conj_plain
  #define symm_csc_u_lo_col_conj_plain symm_z_csc_u_lo_col_conj_plain
  #define symm_csc_n_hi_col_conj_plain symm_z_csc_n_hi_col_conj_plain
  #define symm_csc_u_hi_col_conj_plain symm_z_csc_u_hi_col_conj_plain
  #define hermm_csc_n_lo_row_plain hermm_z_csc_n_lo_row_plain
  #define hermm_csc_u_lo_row_plain hermm_z_csc_u_lo_row_plain
  #define hermm_csc_n_hi_row_plain hermm_z_csc_n_hi_row_plain
  #define hermm_csc_u_hi_row_plain hermm_z_csc_u_hi_row_plain
  #define hermm_csc_n_lo_col_plain hermm_z_csc_n_lo_col_plain
  #define hermm_csc_u_lo_col_plain hermm_z_csc_u_lo_col_plain
  #define hermm_csc_n_hi_col_plain hermm_z_csc_n_hi_col_plain
  #define hermm_csc_u_hi_col_plain hermm_z_csc_u_hi_col_plain
  #define hermm_csc_n_lo_row_trans_plain hermm_z_csc_n_lo_row_trans_plain
  #define hermm_csc_u_lo_row_trans_plain hermm_z_csc_u_lo_row_trans_plain
  #define hermm_csc_n_hi_row_trans_plain hermm_z_csc_n_hi_row_trans_plain
  #define hermm_csc_u_hi_row_trans_plain hermm_z_csc_u_hi_row_trans_plain
  #define hermm_csc_n_lo_col_trans_plain hermm_z_csc_n_lo_col_trans_plain
  #define hermm_csc_u_lo_col_trans_plain hermm_z_csc_u_lo_col_trans_plain
  #define hermm_csc_n_hi_col_trans_plain hermm_z_csc_n_hi_col_trans_plain
  #define hermm_csc_u_hi_col_trans_plain hermm_z_csc_u_hi_col_trans_plain
  #define trmm_csc_n_lo_row_plain trmm_z_csc_n_lo_row_plain
  #define trmm_csc_u_lo_row_plain trmm_z_csc_u_lo_row_plain
  #define trmm_csc_n_hi_row_plain trmm_z_csc_n_hi_row_plain
  #define trmm_csc_u_hi_row_plain trmm_z_csc_u_hi_row_plain
  #define trmm_csc_n_lo_col_plain trmm_z_csc_n_lo_col_plain
  #define trmm_csc_u_lo_col_plain trmm_z_csc_u_lo_col_plain
  #define trmm_csc_n_hi_col_plain trmm_z_csc_n_hi_col_plain
  #define trmm_csc_u_hi_col_plain trmm_z_csc_u_hi_col_plain
  #define trmm_csc_n_lo_row_trans_plain trmm_z_csc_n_lo_row_trans_plain
  #define trmm_csc_u_lo_row_trans_plain trmm_z_csc_u_lo_row_trans_plain
  #define trmm_csc_n_hi_row_trans_plain trmm_z_csc_n_hi_row_trans_plain
  #define trmm_csc_u_hi_row_trans_plain trmm_z_csc_u_hi_row_trans_plain
  #define trmm_csc_n_lo_col_trans_plain trmm_z_csc_n_lo_col_trans_plain
  #define trmm_csc_u_lo_col_trans_plain trmm_z_csc_u_lo_col_trans_plain
  #define trmm_csc_n_hi_col_trans_plain trmm_z_csc_n_hi_col_trans_plain
  #define trmm_csc_u_hi_col_trans_plain trmm_z_csc_u_hi_col_trans_plain
  #define trmm_csc_n_lo_row_conj_plain trmm_z_csc_n_lo_row_conj_plain
  #define trmm_csc_u_lo_row_conj_plain trmm_z_csc_u_lo_row_conj_plain
  #define trmm_csc_n_hi_row_conj_plain trmm_z_csc_n_hi_row_conj_plain
  #define trmm_csc_u_hi_row_conj_plain trmm_z_csc_u_hi_row_conj_plain
  #define trmm_csc_n_lo_col_conj_plain trmm_z_csc_n_lo_col_conj_plain
  #define trmm_csc_u_lo_col_conj_plain trmm_z_csc_u_lo_col_conj_plain
  #define trmm_csc_n_hi_col_conj_plain trmm_z_csc_n_hi_col_conj_plain
  #define trmm_csc_u_hi_col_conj_plain trmm_z_csc_u_hi_col_conj_plain
  #define diagmm_csc_n_row_plain diagmm_z_csc_n_row_plain
  #define diagmm_csc_u_row_plain diagmm_z_csc_u_row_plain
  #define diagmm_csc_n_col_plain diagmm_z_csc_n_col_plain
  #define diagmm_csc_u_col_plain diagmm_z_csc_u_col_plain
  
  #define spmmd_csc_row_plain spmmd_z_csc_row_plain
  #define spmmd_csc_col_plain spmmd_z_csc_col_plain
  #define spmmd_csc_row_trans_plain spmmd_z_csc_row_trans_plain
  #define spmmd_csc_col_trans_plain spmmd_z_csc_col_trans_plain
  #define spmmd_csc_row_conj_plain spmmd_z_csc_row_conj_plain
  #define spmmd_csc_col_conj_plain spmmd_z_csc_col_conj_plain
  
  #define spmm_csc_plain spmm_z_csc_plain
  #define spmm_csc_trans_plain spmm_z_csc_trans_plain
  #define spmm_csc_conj_plain spmm_z_csc_conj_plain
  
  #define trsv_csc_n_lo_plain trsv_z_csc_n_lo_plain
  #define trsv_csc_u_lo_plain trsv_z_csc_u_lo_plain
  #define trsv_csc_n_hi_plain trsv_z_csc_n_hi_plain
  #define trsv_csc_u_hi_plain trsv_z_csc_u_hi_plain
  #define trsv_csc_n_lo_trans_plain trsv_z_csc_n_lo_trans_plain
  #define trsv_csc_u_lo_trans_plain trsv_z_csc_u_lo_trans_plain
  #define trsv_csc_n_hi_trans_plain trsv_z_csc_n_hi_trans_plain
  #define trsv_csc_u_hi_trans_plain trsv_z_csc_u_hi_trans_plain
  #define trsv_csc_n_lo_conj_plain trsv_z_csc_n_lo_conj_plain
  #define trsv_csc_u_lo_conj_plain trsv_z_csc_u_lo_conj_plain
  #define trsv_csc_n_hi_conj_plain trsv_z_csc_n_hi_conj_plain
  #define trsv_csc_u_hi_conj_plain trsv_z_csc_u_hi_conj_plain
  #define diagsv_csc_n_plain diagsv_z_csc_n_plain
  #define diagsv_csc_u_plain diagsv_z_csc_u_plain
  
  #define trsm_csc_n_lo_row_plain trsm_z_csc_n_lo_row_plain
  #define trsm_csc_u_lo_row_plain trsm_z_csc_u_lo_row_plain
  #define trsm_csc_n_hi_row_plain trsm_z_csc_n_hi_row_plain
  #define trsm_csc_u_hi_row_plain trsm_z_csc_u_hi_row_plain
  #define trsm_csc_n_lo_col_plain trsm_z_csc_n_lo_col_plain
  #define trsm_csc_u_lo_col_plain trsm_z_csc_u_lo_col_plain
  #define trsm_csc_n_hi_col_plain trsm_z_csc_n_hi_col_plain
  #define trsm_csc_u_hi_col_plain trsm_z_csc_u_hi_col_plain
  #define trsm_csc_n_lo_row_trans_plain trsm_z_csc_n_lo_row_trans_plain
  #define trsm_csc_u_lo_row_trans_plain trsm_z_csc_u_lo_row_trans_plain
  #define trsm_csc_n_hi_row_trans_plain trsm_z_csc_n_hi_row_trans_plain
  #define trsm_csc_u_hi_row_trans_plain trsm_z_csc_u_hi_row_trans_plain
  #define trsm_csc_n_lo_col_trans_plain trsm_z_csc_n_lo_col_trans_plain
  #define trsm_csc_u_lo_col_trans_plain trsm_z_csc_u_lo_col_trans_plain
  #define trsm_csc_n_hi_col_trans_plain trsm_z_csc_n_hi_col_trans_plain
  #define trsm_csc_u_hi_col_trans_plain trsm_z_csc_u_hi_col_trans_plain
  #define trsm_csc_n_lo_row_conj_plain trsm_z_csc_n_lo_row_conj_plain
  #define trsm_csc_u_lo_row_conj_plain trsm_z_csc_u_lo_row_conj_plain
  #define trsm_csc_n_hi_row_conj_plain trsm_z_csc_n_hi_row_conj_plain
  #define trsm_csc_u_hi_row_conj_plain trsm_z_csc_u_hi_row_conj_plain
  #define trsm_csc_n_lo_col_conj_plain trsm_z_csc_n_lo_col_conj_plain
  #define trsm_csc_u_lo_col_conj_plain trsm_z_csc_u_lo_col_conj_plain
  #define trsm_csc_n_hi_col_conj_plain trsm_z_csc_n_hi_col_conj_plain
  #define trsm_csc_u_hi_col_conj_plain trsm_z_csc_u_hi_col_conj_plain
  #define diagsm_csc_n_row_plain diagsm_z_csc_n_row_plain
  #define diagsm_csc_u_row_plain diagsm_z_csc_u_row_plain
  #define diagsm_csc_n_col_plain diagsm_z_csc_n_col_plain
  #define diagsm_csc_u_col_plain diagsm_z_csc_u_col_plain
  
  // bsr 
  #define update_values_bsr_plain update_values_z_bsr_plain
  #define set_value_bsr_plain set_value_z_bsr_plain
  
  #define add_bsr_plain add_z_bsr_plain
  #define add_bsr_trans_plain add_z_bsr_trans_plain
  #define add_bsr_conj_plain add_z_bsr_conj_plain
  #define gemv_bsr_plain gemv_z_bsr_plain
  #define gemv_bsr_trans_plain gemv_z_bsr_trans_plain
  #define gemv_bsr_conj_plain gemv_z_bsr_conj_plain
  #define symv_bsr_n_lo_plain symv_z_bsr_n_lo_plain
  #define symv_bsr_u_lo_plain symv_z_bsr_u_lo_plain
  #define symv_bsr_n_hi_plain symv_z_bsr_n_hi_plain
  #define symv_bsr_u_hi_plain symv_z_bsr_u_hi_plain
  #define symv_bsr_n_lo_conj_plain symv_z_bsr_n_lo_conj_plain
  #define symv_bsr_u_lo_conj_plain symv_z_bsr_u_lo_conj_plain
  #define symv_bsr_n_hi_conj_plain symv_z_bsr_n_hi_conj_plain
  #define symv_bsr_u_hi_conj_plain symv_z_bsr_u_hi_conj_plain
  #define hermv_bsr_n_lo_plain hermv_z_bsr_n_lo_plain
  #define hermv_bsr_u_lo_plain hermv_z_bsr_u_lo_plain
  #define hermv_bsr_n_hi_plain hermv_z_bsr_n_hi_plain
  #define hermv_bsr_u_hi_plain hermv_z_bsr_u_hi_plain
  #define hermv_bsr_n_lo_trans_plain hermv_z_bsr_n_lo_trans_plain
  #define hermv_bsr_u_lo_trans_plain hermv_z_bsr_u_lo_trans_plain
  #define hermv_bsr_n_hi_trans_plain hermv_z_bsr_n_hi_trans_plain
  #define hermv_bsr_u_hi_trans_plain hermv_z_bsr_u_hi_trans_plain
  #define trmv_bsr_n_lo_plain trmv_z_bsr_n_lo_plain
  #define trmv_bsr_u_lo_plain trmv_z_bsr_u_lo_plain
  #define trmv_bsr_n_hi_plain trmv_z_bsr_n_hi_plain
  #define trmv_bsr_u_hi_plain trmv_z_bsr_u_hi_plain
  #define trmv_bsr_n_lo_trans_plain trmv_z_bsr_n_lo_trans_plain
  #define trmv_bsr_u_lo_trans_plain trmv_z_bsr_u_lo_trans_plain
  #define trmv_bsr_n_hi_trans_plain trmv_z_bsr_n_hi_trans_plain
  #define trmv_bsr_u_hi_trans_plain trmv_z_bsr_u_hi_trans_plain
  #define trmv_bsr_n_lo_conj_plain trmv_z_bsr_n_lo_conj_plain
  #define trmv_bsr_u_lo_conj_plain trmv_z_bsr_u_lo_conj_plain
  #define trmv_bsr_n_hi_conj_plain trmv_z_bsr_n_hi_conj_plain
  #define trmv_bsr_u_hi_conj_plain trmv_z_bsr_u_hi_conj_plain
  #define diagmv_bsr_n_plain diagmv_z_bsr_n_plain
  #define diagmv_bsr_u_plain diagmv_z_bsr_u_plain
  #define gemm_bsr_row_plain gemm_z_bsr_row_plain
  #define gemm_bsr_col_plain gemm_z_bsr_col_plain
  #define gemm_bsr_row_trans_plain gemm_z_bsr_row_trans_plain
  #define gemm_bsr_col_trans_plain gemm_z_bsr_col_trans_plain
  #define gemm_bsr_row_conj_plain gemm_z_bsr_row_conj_plain
  #define gemm_bsr_col_conj_plain gemm_z_bsr_col_conj_plain
  #define symm_bsr_n_lo_row_plain symm_z_bsr_n_lo_row_plain
  #define symm_bsr_u_lo_row_plain symm_z_bsr_u_lo_row_plain
  #define symm_bsr_n_hi_row_plain symm_z_bsr_n_hi_row_plain
  #define symm_bsr_u_hi_row_plain symm_z_bsr_u_hi_row_plain
  #define symm_bsr_n_lo_col_plain symm_z_bsr_n_lo_col_plain
  #define symm_bsr_u_lo_col_plain symm_z_bsr_u_lo_col_plain
  #define symm_bsr_n_hi_col_plain symm_z_bsr_n_hi_col_plain
  #define symm_bsr_u_hi_col_plain symm_z_bsr_u_hi_col_plain
  #define symm_bsr_n_lo_row_conj_plain symm_z_bsr_n_lo_row_conj_plain
  #define symm_bsr_u_lo_row_conj_plain symm_z_bsr_u_lo_row_conj_plain
  #define symm_bsr_n_hi_row_conj_plain symm_z_bsr_n_hi_row_conj_plain
  #define symm_bsr_u_hi_row_conj_plain symm_z_bsr_u_hi_row_conj_plain
  #define symm_bsr_n_lo_col_conj_plain symm_z_bsr_n_lo_col_conj_plain
  #define symm_bsr_u_lo_col_conj_plain symm_z_bsr_u_lo_col_conj_plain
  #define symm_bsr_n_hi_col_conj_plain symm_z_bsr_n_hi_col_conj_plain
  #define symm_bsr_u_hi_col_conj_plain symm_z_bsr_u_hi_col_conj_plain
  #define hermm_bsr_n_lo_row_plain hermm_z_bsr_n_lo_row_plain
  #define hermm_bsr_u_lo_row_plain hermm_z_bsr_u_lo_row_plain
  #define hermm_bsr_n_hi_row_plain hermm_z_bsr_n_hi_row_plain
  #define hermm_bsr_u_hi_row_plain hermm_z_bsr_u_hi_row_plain
  #define hermm_bsr_n_lo_col_plain hermm_z_bsr_n_lo_col_plain
  #define hermm_bsr_u_lo_col_plain hermm_z_bsr_u_lo_col_plain
  #define hermm_bsr_n_hi_col_plain hermm_z_bsr_n_hi_col_plain
  #define hermm_bsr_u_hi_col_plain hermm_z_bsr_u_hi_col_plain
  #define hermm_bsr_n_lo_row_trans_plain hermm_z_bsr_n_lo_row_trans_plain
  #define hermm_bsr_u_lo_row_trans_plain hermm_z_bsr_u_lo_row_trans_plain
  #define hermm_bsr_n_hi_row_trans_plain hermm_z_bsr_n_hi_row_trans_plain
  #define hermm_bsr_u_hi_row_trans_plain hermm_z_bsr_u_hi_row_trans_plain
  #define hermm_bsr_n_lo_col_trans_plain hermm_z_bsr_n_lo_col_trans_plain
  #define hermm_bsr_u_lo_col_trans_plain hermm_z_bsr_u_lo_col_trans_plain
  #define hermm_bsr_n_hi_col_trans_plain hermm_z_bsr_n_hi_col_trans_plain
  #define hermm_bsr_u_hi_col_trans_plain hermm_z_bsr_u_hi_col_trans_plain
  #define trmm_bsr_n_lo_row_plain trmm_z_bsr_n_lo_row_plain
  #define trmm_bsr_u_lo_row_plain trmm_z_bsr_u_lo_row_plain
  #define trmm_bsr_n_hi_row_plain trmm_z_bsr_n_hi_row_plain
  #define trmm_bsr_u_hi_row_plain trmm_z_bsr_u_hi_row_plain
  #define trmm_bsr_n_lo_col_plain trmm_z_bsr_n_lo_col_plain
  #define trmm_bsr_u_lo_col_plain trmm_z_bsr_u_lo_col_plain
  #define trmm_bsr_n_hi_col_plain trmm_z_bsr_n_hi_col_plain
  #define trmm_bsr_u_hi_col_plain trmm_z_bsr_u_hi_col_plain
  #define trmm_bsr_n_lo_row_trans_plain trmm_z_bsr_n_lo_row_trans_plain
  #define trmm_bsr_u_lo_row_trans_plain trmm_z_bsr_u_lo_row_trans_plain
  #define trmm_bsr_n_hi_row_trans_plain trmm_z_bsr_n_hi_row_trans_plain
  #define trmm_bsr_u_hi_row_trans_plain trmm_z_bsr_u_hi_row_trans_plain
  #define trmm_bsr_n_lo_col_trans_plain trmm_z_bsr_n_lo_col_trans_plain
  #define trmm_bsr_u_lo_col_trans_plain trmm_z_bsr_u_lo_col_trans_plain
  #define trmm_bsr_n_hi_col_trans_plain trmm_z_bsr_n_hi_col_trans_plain
  #define trmm_bsr_u_hi_col_trans_plain trmm_z_bsr_u_hi_col_trans_plain
  #define trmm_bsr_n_lo_row_conj_plain trmm_z_bsr_n_lo_row_conj_plain
  #define trmm_bsr_u_lo_row_conj_plain trmm_z_bsr_u_lo_row_conj_plain
  #define trmm_bsr_n_hi_row_conj_plain trmm_z_bsr_n_hi_row_conj_plain
  #define trmm_bsr_u_hi_row_conj_plain trmm_z_bsr_u_hi_row_conj_plain
  #define trmm_bsr_n_lo_col_conj_plain trmm_z_bsr_n_lo_col_conj_plain
  #define trmm_bsr_u_lo_col_conj_plain trmm_z_bsr_u_lo_col_conj_plain
  #define trmm_bsr_n_hi_col_conj_plain trmm_z_bsr_n_hi_col_conj_plain
  #define trmm_bsr_u_hi_col_conj_plain trmm_z_bsr_u_hi_col_conj_plain
  #define diagmm_bsr_n_row_plain diagmm_z_bsr_n_row_plain
  #define diagmm_bsr_u_row_plain diagmm_z_bsr_u_row_plain
  #define diagmm_bsr_n_col_plain diagmm_z_bsr_n_col_plain
  #define diagmm_bsr_u_col_plain diagmm_z_bsr_u_col_plain
  #define spmmd_bsr_row_plain spmmd_z_bsr_row_plain
  #define spmmd_bsr_col_plain spmmd_z_bsr_col_plain
  #define spmmd_bsr_row_trans_plain spmmd_z_bsr_row_trans_plain
  #define spmmd_bsr_col_trans_plain spmmd_z_bsr_col_trans_plain
  #define spmmd_bsr_row_conj_plain spmmd_z_bsr_row_conj_plain
  #define spmmd_bsr_col_conj_plain spmmd_z_bsr_col_conj_plain
  #define spmm_bsr_plain spmm_z_bsr_plain
  #define spmm_bsr_trans_plain spmm_z_bsr_trans_plain
  #define spmm_bsr_conj_plain spmm_z_bsr_conj_plain
  #define trsv_bsr_n_lo_plain trsv_z_bsr_n_lo_plain
  #define trsv_bsr_u_lo_plain trsv_z_bsr_u_lo_plain
  #define trsv_bsr_n_hi_plain trsv_z_bsr_n_hi_plain
  #define trsv_bsr_u_hi_plain trsv_z_bsr_u_hi_plain
  #define trsv_bsr_n_lo_trans_plain trsv_z_bsr_n_lo_trans_plain
  #define trsv_bsr_u_lo_trans_plain trsv_z_bsr_u_lo_trans_plain
  #define trsv_bsr_n_hi_trans_plain trsv_z_bsr_n_hi_trans_plain
  #define trsv_bsr_u_hi_trans_plain trsv_z_bsr_u_hi_trans_plain
  #define trsv_bsr_n_lo_conj_plain trsv_z_bsr_n_lo_conj_plain
  #define trsv_bsr_u_lo_conj_plain trsv_z_bsr_u_lo_conj_plain
  #define trsv_bsr_n_hi_conj_plain trsv_z_bsr_n_hi_conj_plain
  #define trsv_bsr_u_hi_conj_plain trsv_z_bsr_u_hi_conj_plain
  #define diagsv_bsr_n_plain diagsv_z_bsr_n_plain
  #define diagsv_bsr_u_plain diagsv_z_bsr_u_plain
  #define trsm_bsr_n_lo_row_plain trsm_z_bsr_n_lo_row_plain
  #define trsm_bsr_u_lo_row_plain trsm_z_bsr_u_lo_row_plain
  #define trsm_bsr_n_hi_row_plain trsm_z_bsr_n_hi_row_plain
  #define trsm_bsr_u_hi_row_plain trsm_z_bsr_u_hi_row_plain
  #define trsm_bsr_n_lo_col_plain trsm_z_bsr_n_lo_col_plain
  #define trsm_bsr_u_lo_col_plain trsm_z_bsr_u_lo_col_plain
  #define trsm_bsr_n_hi_col_plain trsm_z_bsr_n_hi_col_plain
  #define trsm_bsr_u_hi_col_plain trsm_z_bsr_u_hi_col_plain
  #define trsm_bsr_n_lo_row_trans_plain trsm_z_bsr_n_lo_row_trans_plain
  #define trsm_bsr_u_lo_row_trans_plain trsm_z_bsr_u_lo_row_trans_plain
  #define trsm_bsr_n_hi_row_trans_plain trsm_z_bsr_n_hi_row_trans_plain
  #define trsm_bsr_u_hi_row_trans_plain trsm_z_bsr_u_hi_row_trans_plain
  #define trsm_bsr_n_lo_col_trans_plain trsm_z_bsr_n_lo_col_trans_plain
  #define trsm_bsr_u_lo_col_trans_plain trsm_z_bsr_u_lo_col_trans_plain
  #define trsm_bsr_n_hi_col_trans_plain trsm_z_bsr_n_hi_col_trans_plain
  #define trsm_bsr_u_hi_col_trans_plain trsm_z_bsr_u_hi_col_trans_plain
  #define trsm_bsr_n_lo_row_conj_plain trsm_z_bsr_n_lo_row_conj_plain
  #define trsm_bsr_u_lo_row_conj_plain trsm_z_bsr_u_lo_row_conj_plain
  #define trsm_bsr_n_hi_row_conj_plain trsm_z_bsr_n_hi_row_conj_plain
  #define trsm_bsr_u_hi_row_conj_plain trsm_z_bsr_u_hi_row_conj_plain
  #define trsm_bsr_n_lo_col_conj_plain trsm_z_bsr_n_lo_col_conj_plain
  #define trsm_bsr_u_lo_col_conj_plain trsm_z_bsr_u_lo_col_conj_plain
  #define trsm_bsr_n_hi_col_conj_plain trsm_z_bsr_n_hi_col_conj_plain
  #define trsm_bsr_u_hi_col_conj_plain trsm_z_bsr_u_hi_col_conj_plain
  #define diagsm_bsr_n_row_plain diagsm_z_bsr_n_row_plain
  #define diagsm_bsr_u_row_plain diagsm_z_bsr_u_row_plain
  #define diagsm_bsr_n_col_plain diagsm_z_bsr_n_col_plain
  #define diagsm_bsr_u_col_plain diagsm_z_bsr_u_col_plain
  
  // sky
  #define update_values_sky_plain update_values_z_sky_plain
  #define set_value_sky_plain set_value_z_sky_plain
  
  #define add_sky_plain add_z_sky_plain
  #define add_sky_trans_plain add_z_sky_trans_plain
  #define add_sky_conj_plain add_z_sky_conj_plain
  #define gemv_sky_plain gemv_z_sky_plain
  #define gemv_sky_trans_plain gemv_z_sky_trans_plain
  #define gemv_sky_conj_plain gemv_z_sky_conj_plain
  #define symv_sky_n_lo_plain symv_z_sky_n_lo_plain
  #define symv_sky_u_lo_plain symv_z_sky_u_lo_plain
  #define symv_sky_n_hi_plain symv_z_sky_n_hi_plain
  #define symv_sky_u_hi_plain symv_z_sky_u_hi_plain
  #define symv_sky_n_lo_conj_plain symv_z_sky_n_lo_conj_plain
  #define symv_sky_u_lo_conj_plain symv_z_sky_u_lo_conj_plain
  #define symv_sky_n_hi_conj_plain symv_z_sky_n_hi_conj_plain
  #define symv_sky_u_hi_conj_plain symv_z_sky_u_hi_conj_plain
  #define hermv_sky_n_lo_plain hermv_z_sky_n_lo_plain
  #define hermv_sky_u_lo_plain hermv_z_sky_u_lo_plain
  #define hermv_sky_n_hi_plain hermv_z_sky_n_hi_plain
  #define hermv_sky_u_hi_plain hermv_z_sky_u_hi_plain
  #define hermv_sky_n_lo_trans_plain hermv_z_sky_n_lo_trans_plain
  #define hermv_sky_u_lo_trans_plain hermv_z_sky_u_lo_trans_plain
  #define hermv_sky_n_hi_trans_plain hermv_z_sky_n_hi_trans_plain
  #define hermv_sky_u_hi_trans_plain hermv_z_sky_u_hi_trans_plain
  #define trmv_sky_n_lo_plain trmv_z_sky_n_lo_plain
  #define trmv_sky_u_lo_plain trmv_z_sky_u_lo_plain
  #define trmv_sky_n_hi_plain trmv_z_sky_n_hi_plain
  #define trmv_sky_u_hi_plain trmv_z_sky_u_hi_plain
  #define trmv_sky_n_lo_trans_plain trmv_z_sky_n_lo_trans_plain
  #define trmv_sky_u_lo_trans_plain trmv_z_sky_u_lo_trans_plain
  #define trmv_sky_n_hi_trans_plain trmv_z_sky_n_hi_trans_plain
  #define trmv_sky_u_hi_trans_plain trmv_z_sky_u_hi_trans_plain
  #define trmv_sky_n_lo_conj_plain trmv_z_sky_n_lo_conj_plain
  #define trmv_sky_u_lo_conj_plain trmv_z_sky_u_lo_conj_plain
  #define trmv_sky_n_hi_conj_plain trmv_z_sky_n_hi_conj_plain
  #define trmv_sky_u_hi_conj_plain trmv_z_sky_u_hi_conj_plain
  #define diagmv_sky_n_plain diagmv_z_sky_n_plain
  #define diagmv_sky_u_plain diagmv_z_sky_u_plain
  #define gemm_sky_row_plain gemm_z_sky_row_plain
  #define gemm_sky_col_plain gemm_z_sky_col_plain
  #define gemm_sky_row_trans_plain gemm_z_sky_row_trans_plain
  #define gemm_sky_col_trans_plain gemm_z_sky_col_trans_plain
  #define gemm_sky_row_conj_plain gemm_z_sky_row_conj_plain
  #define gemm_sky_col_conj_plain gemm_z_sky_col_conj_plain
  #define symm_sky_n_lo_row_plain symm_z_sky_n_lo_row_plain
  #define symm_sky_u_lo_row_plain symm_z_sky_u_lo_row_plain
  #define symm_sky_n_hi_row_plain symm_z_sky_n_hi_row_plain
  #define symm_sky_u_hi_row_plain symm_z_sky_u_hi_row_plain
  #define symm_sky_n_lo_col_plain symm_z_sky_n_lo_col_plain
  #define symm_sky_u_lo_col_plain symm_z_sky_u_lo_col_plain
  #define symm_sky_n_hi_col_plain symm_z_sky_n_hi_col_plain
  #define symm_sky_u_hi_col_plain symm_z_sky_u_hi_col_plain
  #define symm_sky_n_lo_row_conj_plain symm_z_sky_n_lo_row_conj_plain
  #define symm_sky_u_lo_row_conj_plain symm_z_sky_u_lo_row_conj_plain
  #define symm_sky_n_hi_row_conj_plain symm_z_sky_n_hi_row_conj_plain
  #define symm_sky_u_hi_row_conj_plain symm_z_sky_u_hi_row_conj_plain
  #define symm_sky_n_lo_col_conj_plain symm_z_sky_n_lo_col_conj_plain
  #define symm_sky_u_lo_col_conj_plain symm_z_sky_u_lo_col_conj_plain
  #define symm_sky_n_hi_col_conj_plain symm_z_sky_n_hi_col_conj_plain
  #define symm_sky_u_hi_col_conj_plain symm_z_sky_u_hi_col_conj_plain
  #define hermm_sky_n_lo_row_plain hermm_z_sky_n_lo_row_plain
  #define hermm_sky_u_lo_row_plain hermm_z_sky_u_lo_row_plain
  #define hermm_sky_n_hi_row_plain hermm_z_sky_n_hi_row_plain
  #define hermm_sky_u_hi_row_plain hermm_z_sky_u_hi_row_plain
  #define hermm_sky_n_lo_col_plain hermm_z_sky_n_lo_col_plain
  #define hermm_sky_u_lo_col_plain hermm_z_sky_u_lo_col_plain
  #define hermm_sky_n_hi_col_plain hermm_z_sky_n_hi_col_plain
  #define hermm_sky_u_hi_col_plain hermm_z_sky_u_hi_col_plain
  #define hermm_sky_n_lo_row_trans_plain hermm_z_sky_n_lo_row_trans_plain
  #define hermm_sky_u_lo_row_trans_plain hermm_z_sky_u_lo_row_trans_plain
  #define hermm_sky_n_hi_row_trans_plain hermm_z_sky_n_hi_row_trans_plain
  #define hermm_sky_u_hi_row_trans_plain hermm_z_sky_u_hi_row_trans_plain
  #define hermm_sky_n_lo_col_trans_plain hermm_z_sky_n_lo_col_trans_plain
  #define hermm_sky_u_lo_col_trans_plain hermm_z_sky_u_lo_col_trans_plain
  #define hermm_sky_n_hi_col_trans_plain hermm_z_sky_n_hi_col_trans_plain
  #define hermm_sky_u_hi_col_trans_plain hermm_z_sky_u_hi_col_trans_plain
  #define trmm_sky_n_lo_row_plain trmm_z_sky_n_lo_row_plain
  #define trmm_sky_u_lo_row_plain trmm_z_sky_u_lo_row_plain
  #define trmm_sky_n_hi_row_plain trmm_z_sky_n_hi_row_plain
  #define trmm_sky_u_hi_row_plain trmm_z_sky_u_hi_row_plain
  #define trmm_sky_n_lo_col_plain trmm_z_sky_n_lo_col_plain
  #define trmm_sky_u_lo_col_plain trmm_z_sky_u_lo_col_plain
  #define trmm_sky_n_hi_col_plain trmm_z_sky_n_hi_col_plain
  #define trmm_sky_u_hi_col_plain trmm_z_sky_u_hi_col_plain
  #define trmm_sky_n_lo_row_trans_plain trmm_z_sky_n_lo_row_trans_plain
  #define trmm_sky_u_lo_row_trans_plain trmm_z_sky_u_lo_row_trans_plain
  #define trmm_sky_n_hi_row_trans_plain trmm_z_sky_n_hi_row_trans_plain
  #define trmm_sky_u_hi_row_trans_plain trmm_z_sky_u_hi_row_trans_plain
  #define trmm_sky_n_lo_col_trans_plain trmm_z_sky_n_lo_col_trans_plain
  #define trmm_sky_u_lo_col_trans_plain trmm_z_sky_u_lo_col_trans_plain
  #define trmm_sky_n_hi_col_trans_plain trmm_z_sky_n_hi_col_trans_plain
  #define trmm_sky_u_hi_col_trans_plain trmm_z_sky_u_hi_col_trans_plain
  #define trmm_sky_n_lo_row_conj_plain trmm_z_sky_n_lo_row_conj_plain
  #define trmm_sky_u_lo_row_conj_plain trmm_z_sky_u_lo_row_conj_plain
  #define trmm_sky_n_hi_row_conj_plain trmm_z_sky_n_hi_row_conj_plain
  #define trmm_sky_u_hi_row_conj_plain trmm_z_sky_u_hi_row_conj_plain
  #define trmm_sky_n_lo_col_conj_plain trmm_z_sky_n_lo_col_conj_plain
  #define trmm_sky_u_lo_col_conj_plain trmm_z_sky_u_lo_col_conj_plain
  #define trmm_sky_n_hi_col_conj_plain trmm_z_sky_n_hi_col_conj_plain
  #define trmm_sky_u_hi_col_conj_plain trmm_z_sky_u_hi_col_conj_plain
  #define diagmm_sky_n_row_plain diagmm_z_sky_n_row_plain
  #define diagmm_sky_u_row_plain diagmm_z_sky_u_row_plain
  #define diagmm_sky_n_col_plain diagmm_z_sky_n_col_plain
  #define diagmm_sky_u_col_plain diagmm_z_sky_u_col_plain
  #define spmmd_sky_row_plain spmmd_z_sky_row_plain
  #define spmmd_sky_col_plain spmmd_z_sky_col_plain
  #define spmmd_sky_row_trans_plain spmmd_z_sky_row_trans_plain
  #define spmmd_sky_col_trans_plain spmmd_z_sky_col_trans_plain
  #define spmmd_sky_row_conj_plain spmmd_z_sky_row_conj_plain
  #define spmmd_sky_col_conj_plain spmmd_z_sky_col_conj_plain
  #define spmm_sky_plain spmm_z_sky_plain
  #define spmm_sky_trans_plain spmm_z_sky_trans_plain
  #define spmm_sky_conj_plain spmm_z_sky_conj_plain
  #define trsv_sky_n_lo_plain trsv_z_sky_n_lo_plain
  #define trsv_sky_u_lo_plain trsv_z_sky_u_lo_plain
  #define trsv_sky_n_hi_plain trsv_z_sky_n_hi_plain
  #define trsv_sky_u_hi_plain trsv_z_sky_u_hi_plain
  #define trsv_sky_n_lo_trans_plain trsv_z_sky_n_lo_trans_plain
  #define trsv_sky_u_lo_trans_plain trsv_z_sky_u_lo_trans_plain
  #define trsv_sky_n_hi_trans_plain trsv_z_sky_n_hi_trans_plain
  #define trsv_sky_u_hi_trans_plain trsv_z_sky_u_hi_trans_plain
  #define trsv_sky_n_lo_conj_plain trsv_z_sky_n_lo_conj_plain
  #define trsv_sky_u_lo_conj_plain trsv_z_sky_u_lo_conj_plain
  #define trsv_sky_n_hi_conj_plain trsv_z_sky_n_hi_conj_plain
  #define trsv_sky_u_hi_conj_plain trsv_z_sky_u_hi_conj_plain
  #define diagsv_sky_n_plain diagsv_z_sky_n_plain
  #define diagsv_sky_u_plain diagsv_z_sky_u_plain
  #define trsm_sky_n_lo_row_plain trsm_z_sky_n_lo_row_plain
  #define trsm_sky_u_lo_row_plain trsm_z_sky_u_lo_row_plain
  #define trsm_sky_n_hi_row_plain trsm_z_sky_n_hi_row_plain
  #define trsm_sky_u_hi_row_plain trsm_z_sky_u_hi_row_plain
  #define trsm_sky_n_lo_col_plain trsm_z_sky_n_lo_col_plain
  #define trsm_sky_u_lo_col_plain trsm_z_sky_u_lo_col_plain
  #define trsm_sky_n_hi_col_plain trsm_z_sky_n_hi_col_plain
  #define trsm_sky_u_hi_col_plain trsm_z_sky_u_hi_col_plain
  #define trsm_sky_n_lo_row_trans_plain trsm_z_sky_n_lo_row_trans_plain
  #define trsm_sky_u_lo_row_trans_plain trsm_z_sky_u_lo_row_trans_plain
  #define trsm_sky_n_hi_row_trans_plain trsm_z_sky_n_hi_row_trans_plain
  #define trsm_sky_u_hi_row_trans_plain trsm_z_sky_u_hi_row_trans_plain
  #define trsm_sky_n_lo_col_trans_plain trsm_z_sky_n_lo_col_trans_plain
  #define trsm_sky_u_lo_col_trans_plain trsm_z_sky_u_lo_col_trans_plain
  #define trsm_sky_n_hi_col_trans_plain trsm_z_sky_n_hi_col_trans_plain
  #define trsm_sky_u_hi_col_trans_plain trsm_z_sky_u_hi_col_trans_plain
  #define trsm_sky_n_lo_row_conj_plain trsm_z_sky_n_lo_row_conj_plain
  #define trsm_sky_u_lo_row_conj_plain trsm_z_sky_u_lo_row_conj_plain
  #define trsm_sky_n_hi_row_conj_plain trsm_z_sky_n_hi_row_conj_plain
  #define trsm_sky_u_hi_row_conj_plain trsm_z_sky_u_hi_row_conj_plain
  #define trsm_sky_n_lo_col_conj_plain trsm_z_sky_n_lo_col_conj_plain
  #define trsm_sky_u_lo_col_conj_plain trsm_z_sky_u_lo_col_conj_plain
  #define trsm_sky_n_hi_col_conj_plain trsm_z_sky_n_hi_col_conj_plain
  #define trsm_sky_u_hi_col_conj_plain trsm_z_sky_u_hi_col_conj_plain
  #define diagsm_sky_n_row_plain diagsm_z_sky_n_row_plain
  #define diagsm_sky_u_row_plain diagsm_z_sky_u_row_plain
  #define diagsm_sky_n_col_plain diagsm_z_sky_n_col_plain
  #define diagsm_sky_u_col_plain diagsm_z_sky_u_col_plain
  
  // dia
  #define update_values_dia_plain update_values_z_dia_plain
  #define set_value_dia_plain set_value_z_dia_plain
  
  #define add_dia_plain add_z_dia_plain
  #define add_dia_trans_plain add_z_dia_trans_plain
  #define add_dia_conj_plain add_z_dia_conj_plain
  #define gemv_dia_plain gemv_z_dia_plain
  #define gemv_dia_trans_plain gemv_z_dia_trans_plain
  #define gemv_dia_conj_plain gemv_z_dia_conj_plain
  #define symv_dia_n_lo_plain symv_z_dia_n_lo_plain
  #define symv_dia_u_lo_plain symv_z_dia_u_lo_plain
  #define symv_dia_n_hi_plain symv_z_dia_n_hi_plain
  #define symv_dia_u_hi_plain symv_z_dia_u_hi_plain
  #define symv_dia_n_lo_conj_plain symv_z_dia_n_lo_conj_plain
  #define symv_dia_u_lo_conj_plain symv_z_dia_u_lo_conj_plain
  #define symv_dia_n_hi_conj_plain symv_z_dia_n_hi_conj_plain
  #define symv_dia_u_hi_conj_plain symv_z_dia_u_hi_conj_plain
  #define hermv_dia_n_lo_plain hermv_z_dia_n_lo_plain
  #define hermv_dia_u_lo_plain hermv_z_dia_u_lo_plain
  #define hermv_dia_n_hi_plain hermv_z_dia_n_hi_plain
  #define hermv_dia_u_hi_plain hermv_z_dia_u_hi_plain
  #define hermv_dia_n_lo_trans_plain hermv_z_dia_n_lo_trans_plain
  #define hermv_dia_u_lo_trans_plain hermv_z_dia_u_lo_trans_plain
  #define hermv_dia_n_hi_trans_plain hermv_z_dia_n_hi_trans_plain
  #define hermv_dia_u_hi_trans_plain hermv_z_dia_u_hi_trans_plain
  #define trmv_dia_n_lo_plain trmv_z_dia_n_lo_plain
  #define trmv_dia_u_lo_plain trmv_z_dia_u_lo_plain
  #define trmv_dia_n_hi_plain trmv_z_dia_n_hi_plain
  #define trmv_dia_u_hi_plain trmv_z_dia_u_hi_plain
  #define trmv_dia_n_lo_trans_plain trmv_z_dia_n_lo_trans_plain
  #define trmv_dia_u_lo_trans_plain trmv_z_dia_u_lo_trans_plain
  #define trmv_dia_n_hi_trans_plain trmv_z_dia_n_hi_trans_plain
  #define trmv_dia_u_hi_trans_plain trmv_z_dia_u_hi_trans_plain
  #define trmv_dia_n_lo_conj_plain trmv_z_dia_n_lo_conj_plain
  #define trmv_dia_u_lo_conj_plain trmv_z_dia_u_lo_conj_plain
  #define trmv_dia_n_hi_conj_plain trmv_z_dia_n_hi_conj_plain
  #define trmv_dia_u_hi_conj_plain trmv_z_dia_u_hi_conj_plain
  #define diagmv_dia_n_plain diagmv_z_dia_n_plain
  #define diagmv_dia_u_plain diagmv_z_dia_u_plain
  #define gemm_dia_row_plain gemm_z_dia_row_plain
  #define gemm_dia_col_plain gemm_z_dia_col_plain
  #define gemm_dia_row_trans_plain gemm_z_dia_row_trans_plain
  #define gemm_dia_col_trans_plain gemm_z_dia_col_trans_plain
  #define gemm_dia_row_conj_plain gemm_z_dia_row_conj_plain
  #define gemm_dia_col_conj_plain gemm_z_dia_col_conj_plain
  #define symm_dia_n_lo_row_plain symm_z_dia_n_lo_row_plain
  #define symm_dia_u_lo_row_plain symm_z_dia_u_lo_row_plain
  #define symm_dia_n_hi_row_plain symm_z_dia_n_hi_row_plain
  #define symm_dia_u_hi_row_plain symm_z_dia_u_hi_row_plain
  #define symm_dia_n_lo_col_plain symm_z_dia_n_lo_col_plain
  #define symm_dia_u_lo_col_plain symm_z_dia_u_lo_col_plain
  #define symm_dia_n_hi_col_plain symm_z_dia_n_hi_col_plain
  #define symm_dia_u_hi_col_plain symm_z_dia_u_hi_col_plain
  #define symm_dia_n_lo_row_conj_plain symm_z_dia_n_lo_row_conj_plain
  #define symm_dia_u_lo_row_conj_plain symm_z_dia_u_lo_row_conj_plain
  #define symm_dia_n_hi_row_conj_plain symm_z_dia_n_hi_row_conj_plain
  #define symm_dia_u_hi_row_conj_plain symm_z_dia_u_hi_row_conj_plain
  #define symm_dia_n_lo_col_conj_plain symm_z_dia_n_lo_col_conj_plain
  #define symm_dia_u_lo_col_conj_plain symm_z_dia_u_lo_col_conj_plain
  #define symm_dia_n_hi_col_conj_plain symm_z_dia_n_hi_col_conj_plain
  #define symm_dia_u_hi_col_conj_plain symm_z_dia_u_hi_col_conj_plain
  #define hermm_dia_n_lo_row_plain hermm_z_dia_n_lo_row_plain
  #define hermm_dia_u_lo_row_plain hermm_z_dia_u_lo_row_plain
  #define hermm_dia_n_hi_row_plain hermm_z_dia_n_hi_row_plain
  #define hermm_dia_u_hi_row_plain hermm_z_dia_u_hi_row_plain
  #define hermm_dia_n_lo_col_plain hermm_z_dia_n_lo_col_plain
  #define hermm_dia_u_lo_col_plain hermm_z_dia_u_lo_col_plain
  #define hermm_dia_n_hi_col_plain hermm_z_dia_n_hi_col_plain
  #define hermm_dia_u_hi_col_plain hermm_z_dia_u_hi_col_plain
  #define hermm_dia_n_lo_row_trans_plain hermm_z_dia_n_lo_row_trans_plain
  #define hermm_dia_u_lo_row_trans_plain hermm_z_dia_u_lo_row_trans_plain
  #define hermm_dia_n_hi_row_trans_plain hermm_z_dia_n_hi_row_trans_plain
  #define hermm_dia_u_hi_row_trans_plain hermm_z_dia_u_hi_row_trans_plain
  #define hermm_dia_n_lo_col_trans_plain hermm_z_dia_n_lo_col_trans_plain
  #define hermm_dia_u_lo_col_trans_plain hermm_z_dia_u_lo_col_trans_plain
  #define hermm_dia_n_hi_col_trans_plain hermm_z_dia_n_hi_col_trans_plain
  #define hermm_dia_u_hi_col_trans_plain hermm_z_dia_u_hi_col_trans_plain
  #define trmm_dia_n_lo_row_plain trmm_z_dia_n_lo_row_plain
  #define trmm_dia_u_lo_row_plain trmm_z_dia_u_lo_row_plain
  #define trmm_dia_n_hi_row_plain trmm_z_dia_n_hi_row_plain
  #define trmm_dia_u_hi_row_plain trmm_z_dia_u_hi_row_plain
  #define trmm_dia_n_lo_col_plain trmm_z_dia_n_lo_col_plain
  #define trmm_dia_u_lo_col_plain trmm_z_dia_u_lo_col_plain
  #define trmm_dia_n_hi_col_plain trmm_z_dia_n_hi_col_plain
  #define trmm_dia_u_hi_col_plain trmm_z_dia_u_hi_col_plain
  #define trmm_dia_n_lo_row_trans_plain trmm_z_dia_n_lo_row_trans_plain
  #define trmm_dia_u_lo_row_trans_plain trmm_z_dia_u_lo_row_trans_plain
  #define trmm_dia_n_hi_row_trans_plain trmm_z_dia_n_hi_row_trans_plain
  #define trmm_dia_u_hi_row_trans_plain trmm_z_dia_u_hi_row_trans_plain
  #define trmm_dia_n_lo_col_trans_plain trmm_z_dia_n_lo_col_trans_plain
  #define trmm_dia_u_lo_col_trans_plain trmm_z_dia_u_lo_col_trans_plain
  #define trmm_dia_n_hi_col_trans_plain trmm_z_dia_n_hi_col_trans_plain
  #define trmm_dia_u_hi_col_trans_plain trmm_z_dia_u_hi_col_trans_plain
  #define trmm_dia_n_lo_row_conj_plain trmm_z_dia_n_lo_row_conj_plain
  #define trmm_dia_u_lo_row_conj_plain trmm_z_dia_u_lo_row_conj_plain
  #define trmm_dia_n_hi_row_conj_plain trmm_z_dia_n_hi_row_conj_plain
  #define trmm_dia_u_hi_row_conj_plain trmm_z_dia_u_hi_row_conj_plain
  #define trmm_dia_n_lo_col_conj_plain trmm_z_dia_n_lo_col_conj_plain
  #define trmm_dia_u_lo_col_conj_plain trmm_z_dia_u_lo_col_conj_plain
  #define trmm_dia_n_hi_col_conj_plain trmm_z_dia_n_hi_col_conj_plain
  #define trmm_dia_u_hi_col_conj_plain trmm_z_dia_u_hi_col_conj_plain
  #define diagmm_dia_n_row_plain diagmm_z_dia_n_row_plain
  #define diagmm_dia_u_row_plain diagmm_z_dia_u_row_plain
  #define diagmm_dia_n_col_plain diagmm_z_dia_n_col_plain
  #define diagmm_dia_u_col_plain diagmm_z_dia_u_col_plain
  #define spmmd_dia_row_plain spmmd_z_dia_row_plain
  #define spmmd_dia_col_plain spmmd_z_dia_col_plain
  #define spmmd_dia_row_trans_plain spmmd_z_dia_row_trans_plain
  #define spmmd_dia_col_trans_plain spmmd_z_dia_col_trans_plain
  #define spmmd_dia_row_conj_plain spmmd_z_dia_row_conj_plain
  #define spmmd_dia_col_conj_plain spmmd_z_dia_col_conj_plain
  #define spmm_dia_plain spmm_z_dia_plain
  #define spmm_dia_trans_plain spmm_z_dia_trans_plain
  #define spmm_dia_conj_plain spmm_z_dia_conj_plain
  #define trsv_dia_n_lo_plain trsv_z_dia_n_lo_plain
  #define trsv_dia_u_lo_plain trsv_z_dia_u_lo_plain
  #define trsv_dia_n_hi_plain trsv_z_dia_n_hi_plain
  #define trsv_dia_u_hi_plain trsv_z_dia_u_hi_plain
  #define trsv_dia_n_lo_trans_plain trsv_z_dia_n_lo_trans_plain
  #define trsv_dia_u_lo_trans_plain trsv_z_dia_u_lo_trans_plain
  #define trsv_dia_n_hi_trans_plain trsv_z_dia_n_hi_trans_plain
  #define trsv_dia_u_hi_trans_plain trsv_z_dia_u_hi_trans_plain
  #define trsv_dia_n_lo_conj_plain trsv_z_dia_n_lo_conj_plain
  #define trsv_dia_u_lo_conj_plain trsv_z_dia_u_lo_conj_plain
  #define trsv_dia_n_hi_conj_plain trsv_z_dia_n_hi_conj_plain
  #define trsv_dia_u_hi_conj_plain trsv_z_dia_u_hi_conj_plain
  #define diagsv_dia_n_plain diagsv_z_dia_n_plain
  #define diagsv_dia_u_plain diagsv_z_dia_u_plain
  #define trsm_dia_n_lo_row_plain trsm_z_dia_n_lo_row_plain
  #define trsm_dia_u_lo_row_plain trsm_z_dia_u_lo_row_plain
  #define trsm_dia_n_hi_row_plain trsm_z_dia_n_hi_row_plain
  #define trsm_dia_u_hi_row_plain trsm_z_dia_u_hi_row_plain
  #define trsm_dia_n_lo_col_plain trsm_z_dia_n_lo_col_plain
  #define trsm_dia_u_lo_col_plain trsm_z_dia_u_lo_col_plain
  #define trsm_dia_n_hi_col_plain trsm_z_dia_n_hi_col_plain
  #define trsm_dia_u_hi_col_plain trsm_z_dia_u_hi_col_plain
  #define trsm_dia_n_lo_row_trans_plain trsm_z_dia_n_lo_row_trans_plain
  #define trsm_dia_u_lo_row_trans_plain trsm_z_dia_u_lo_row_trans_plain
  #define trsm_dia_n_hi_row_trans_plain trsm_z_dia_n_hi_row_trans_plain
  #define trsm_dia_u_hi_row_trans_plain trsm_z_dia_u_hi_row_trans_plain
  #define trsm_dia_n_lo_col_trans_plain trsm_z_dia_n_lo_col_trans_plain
  #define trsm_dia_u_lo_col_trans_plain trsm_z_dia_u_lo_col_trans_plain
  #define trsm_dia_n_hi_col_trans_plain trsm_z_dia_n_hi_col_trans_plain
  #define trsm_dia_u_hi_col_trans_plain trsm_z_dia_u_hi_col_trans_plain
  #define trsm_dia_n_lo_row_conj_plain trsm_z_dia_n_lo_row_conj_plain
  #define trsm_dia_u_lo_row_conj_plain trsm_z_dia_u_lo_row_conj_plain
  #define trsm_dia_n_hi_row_conj_plain trsm_z_dia_n_hi_row_conj_plain
  #define trsm_dia_u_hi_row_conj_plain trsm_z_dia_u_hi_row_conj_plain
  #define trsm_dia_n_lo_col_conj_plain trsm_z_dia_n_lo_col_conj_plain
  #define trsm_dia_u_lo_col_conj_plain trsm_z_dia_u_lo_col_conj_plain
  #define trsm_dia_n_hi_col_conj_plain trsm_z_dia_n_hi_col_conj_plain
  #define trsm_dia_u_hi_col_conj_plain trsm_z_dia_u_hi_col_conj_plain
  #define diagsm_dia_n_row_plain diagsm_z_dia_n_row_plain
  #define diagsm_dia_u_row_plain diagsm_z_dia_u_row_plain
  #define diagsm_dia_n_col_plain diagsm_z_dia_n_col_plain
  #define diagsm_dia_u_col_plain diagsm_z_dia_u_col_plain
  