/dports/math/librsb/librsb-1.2.0.10/ |
H A D | rsb_krnl_bcss_misc_u.h | 43 …c1_uu_sU_dE_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 47 …c1_uu_sU_dI_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 51 …c1_uu_sU_dE_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 55 …c1_uu_sU_dI_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 59 …c1_uu_sU_dE_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 63 …c1_uu_sU_dI_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 67 …c1_uu_sU_dE_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 71 …c1_uu_sU_dI_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 75 …c1_uu_sU_dE_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 79 …c1_uu_sU_dI_uG(const double * VA, double * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… [all …]
|
H A D | rsb_krnl_bcss_spsv_u.c | 56 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,0 in rsb__BCSR_spsv_uxua_double_C__tN_r1_c1_uu_sU_dE_uU() 158 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,0 in rsb__BCSR_spsv_uxua_double_H__tN_r1_c1_uu_sU_dE_uU() 293 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,1 in rsb__BCSR_spsv_uxua_double_C__tT_r1_c1_uu_sU_dE_uL() 361 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,1 in rsb__BCSR_spsv_uxua_double_H__tT_r1_c1_uu_sU_dE_uL() 429 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,1 in rsb__BCSR_spsv_uxua_double_C__tC_r1_c1_uu_sU_dE_uL() 497 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,1 in rsb__BCSR_spsv_uxua_double_H__tC_r1_c1_uu_sU_dE_uL() 856 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,0 in rsb__BCSR_spsv_uxua_double_C__tN_r1_c1_uu_sU_dI_uU() 952 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,0 in rsb__BCSR_spsv_uxua_double_H__tN_r1_c1_uu_sU_dI_uU() 1080 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,1 in rsb__BCSR_spsv_uxua_double_C__tT_r1_c1_uu_sU_dI_uL() 1146 for(i=Mdim-1; RSB_LIKELY((i+1)>0 /*trick for unsigned indices */);--i) //1,0,1 in rsb__BCSR_spsv_uxua_double_H__tT_r1_c1_uu_sU_dI_uL() [all …]
|
H A D | rsb_krnl_bcss_spmv_u.h | 45 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 49 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 53 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 57 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 61 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 65 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 69 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 73 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 77 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 81 … const double * restrict rhs, double * restrict out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… [all …]
|
H A D | rsb_krnl_bcss_spsv_u.h | 41 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 43 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 46 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 48 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 51 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 53 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 56 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 58 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 61 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 63 …ble * restrict VA, const double * rhs, double * out, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… [all …]
|
H A D | rsb_krnl_bcss_misc_u.c | 850 …return rsb__BCSR_infty_norm_double_C__tN_r1_c1_uu_sS_dE_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indpt… in rsb__BCSR_infty_norm_double_C__tT_r1_c1_uu_sS_dE_uG() 866 …return rsb__BCSR_infty_norm_double_C__tN_r1_c1_uu_sS_dI_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indpt… in rsb__BCSR_infty_norm_double_C__tT_r1_c1_uu_sS_dI_uG() 882 …return rsb__BCSR_infty_norm_double_H__tN_r1_c1_uu_sS_dE_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indpt… in rsb__BCSR_infty_norm_double_H__tT_r1_c1_uu_sS_dE_uG() 898 …return rsb__BCSR_infty_norm_double_H__tN_r1_c1_uu_sS_dI_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indpt… in rsb__BCSR_infty_norm_double_H__tT_r1_c1_uu_sS_dI_uG() 2094 …return rsb__BCSR_rowssums_double_C__tN_r1_c1_uu_sS_dE_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indptr,… in rsb__BCSR_rowssums_double_C__tT_r1_c1_uu_sS_dE_uG() 2110 …return rsb__BCSR_rowssums_double_C__tN_r1_c1_uu_sS_dI_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indptr,… in rsb__BCSR_rowssums_double_C__tT_r1_c1_uu_sS_dI_uG() 2126 …return rsb__BCSR_rowssums_double_H__tN_r1_c1_uu_sS_dE_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indptr,… in rsb__BCSR_rowssums_double_H__tT_r1_c1_uu_sS_dE_uG() 2142 …return rsb__BCSR_rowssums_double_H__tN_r1_c1_uu_sS_dI_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indptr,… in rsb__BCSR_rowssums_double_H__tT_r1_c1_uu_sS_dI_uG() 2158 …return rsb__BCSR_rowssums_double_C__tN_r1_c1_uu_sS_dE_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indptr,… in rsb__BCSR_rowssums_double_C__tC_r1_c1_uu_sS_dE_uG() 2174 …return rsb__BCSR_rowssums_double_C__tN_r1_c1_uu_sS_dI_uG(VA,row_sums,Mdim,mdim,bindx,bpntr,indptr,… in rsb__BCSR_rowssums_double_C__tC_r1_c1_uu_sS_dI_uG() [all …]
|
H A D | rsb_krnl_bcoo_spmv_u.h | 16352 …_C_u_tN_sU_dE_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16356 …_C_u_tN_sU_dI_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16368 …_C_u_tT_sU_dE_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16372 …_C_u_tT_sU_dI_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16384 …_C_u_tC_sU_dE_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16388 …_C_u_tC_sU_dI_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16400 …_C_u_tN_sS_dE_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16404 …_C_u_tN_sS_dI_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16416 …_C_u_tT_sS_dE_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… 16420 …_C_u_tT_sS_dI_uG(const float * VA, float * row_sums, const rsb_coo_idx_t Mdim,const rsb_coo_idx_t… [all …]
|
H A D | rsb_krnl_bcoo_spmv_u.c | 6980 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_C__tN_r1_c1_uu_sU_dE_uL() 7056 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_H__tN_r1_c1_uu_sU_dE_uL() 7094 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_C__tT_r1_c1_uu_sU_dE_uU() 7179 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_H__tT_r1_c1_uu_sU_dE_uU() 7264 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_C__tC_r1_c1_uu_sU_dE_uU() 7349 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_H__tC_r1_c1_uu_sU_dE_uU() 7472 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_C__tN_r1_c1_uu_sS_dE_uL() 7548 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_H__tN_r1_c1_uu_sS_dE_uL() 7586 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_C__tT_r1_c1_uu_sS_dE_uU() 7671 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) in rsb__BCOR_spsv_uxua_double_H__tT_r1_c1_uu_sS_dE_uU() [all …]
|
H A D | rsb_krnl.c | 105 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_spmv_uaua() 2130 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_spmv_uauz() 4155 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_spmv_uxua() 6180 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_spmv_unua() 8205 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_spmv_sasa() 10230 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_spsv_uxua() 13119 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_spmv_sxsa() 15144 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_spsv_sxsx() 18033 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_infty_norm() 20058 …rsb_int_t half_storage = rsb__do_is_candidate_size_for_halfword(mtxAp->Mdim,mtxAp->mdim,/*nnz*/0,m… in rsb__do_rowssums() [all …]
|
H A D | rsb_krnl_bcss_spmv_u.c | 1631 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_C__tN_r1_c1_uu_sU_dE_uG() 1683 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_H__tN_r1_c1_uu_sU_dE_uG() 1739 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_C__tT_r1_c1_uu_sU_dE_uG() 1792 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_H__tT_r1_c1_uu_sU_dE_uG() 1845 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_C__tC_r1_c1_uu_sU_dE_uG() 1898 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_H__tC_r1_c1_uu_sU_dE_uG() 1953 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_C__tN_r1_c1_uu_sS_dE_uG() 2035 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_H__tN_r1_c1_uu_sS_dE_uG() 2189 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_C__tN_r1_c1_uu_sH_dE_uG() 2271 for(i=0;RSB_LIKELY(i<Mdim);++i) in rsb__BCSR_spmv_uauz_double_H__tN_r1_c1_uu_sH_dE_uG() [all …]
|
H A D | rsb_swt.h | 45 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 48 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 51 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 72 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 76 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 80 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 84 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const …
|
H A D | rsb_is.c | 518 if( IA[n]>=mtxAp->Mdim || JA[n]>=mtxAp->mdim ) in rsb__mtx_chk() 541 if( IA[n]>=mtxAp->Mdim || JA[n]>=mtxAp->mdim ) in rsb__mtx_chk() 544 n,IA[n],mtxAp->Mdim,JA[n],mtxAp->mdim); in rsb__mtx_chk() 573 if( IA[n]>=mtxAp->Mdim || JA[n]>=mtxAp->mdim ) in rsb__mtx_chk() 576 n,IA[n],mtxAp->Mdim,JA[n],mtxAp->mdim); in rsb__mtx_chk() 632 if(mtxAp->bpntr[mtxAp->Mdim]!=mtxAp->nnz) in rsb__mtx_chk() 634 RSB_PERR_GOTO(err,"%d=bpntr[Mdim]!=nnz=%d\n",(int)mtxAp->bpntr[mtxAp->Mdim],(int)mtxAp->nnz); in rsb__mtx_chk() 636 if(!rsb__util_is_nnz_array_sorted_up_partial_order(mtxAp->bpntr,mtxAp->Mdim+1)) in rsb__mtx_chk() 643 for(n=0;RSB_LIKELY(n<mtxAp->Mdim);++n) in rsb__mtx_chk() 658 for(n=0;RSB_LIKELY(n<mtxAp->Mdim);++n) in rsb__mtx_chk() [all …]
|
H A D | rsb_swt.c | 288 if((mtxAp->nnz/mtxAp->Mdim) > RSB_CONST_MIN_NNZ_PER_ROW_FOR_COO_SWITCH) in rsb__do_is_candidate_for_halfword_coo() 398 for(i=0;i<mtxAp->Mdim;++i) in rsb__do_switch_to_halfword_coo() 473 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 491 nnz=bpntr[Mdim]; 533 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 552 nnz=bpntr[Mdim]; 624 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 640 nnz=bpntr[Mdim]; 684 …const rsb_coo_idx_t Mdim, const rsb_coo_idx_t mdim, const rsb_nnz_idx_t * restrict bindx, const … 701 nnz=bpntr[Mdim]; [all …]
|
H A D | rsb_coo_check.c | 102 rsb_coo_idx_t Mdim = 0,mdim = 0; in rsb__util_is_sorted_coo() local 124 Mdim = pinfop->M_b; in rsb__util_is_sorted_coo() 142 Mdim = pinfop->K_b; in rsb__util_is_sorted_coo() 194 RSB_GET_BLOCK_ROW_FOR_NZ_(MIndx+k+0,Mbndx,Mdim), in rsb__util_is_sorted_coo() 198 RSB_GET_BLOCK_ROW_FOR_NZ_(MIndx+k+1,Mbndx,Mdim), in rsb__util_is_sorted_coo() 271 while( i<Mdim && MIndx[k] > Mbndx[i+1] ) in rsb__util_is_sorted_coo()
|
H A D | rsb_perf.c | 1024 +mtxAp->Mdim /* the out vector, one time */ in rsb_spmv_memory_accessed_bytes_max() 1027 sizeof(rsb_nnz_idx_t) * ( mtxAp->Mdim /* bpntr */)*mtxAp->block_count in rsb_spmv_memory_accessed_bytes_max() 1054 +mtxAp->Mdim /* the out vector, one time */ in rsb_spmv_memory_accessed_bytes_min() 1058 sizeof(rsb_nnz_idx_t) * ( mtxAp->Mdim /* bpntr */) in rsb_spmv_memory_accessed_bytes_min() 1069 rsb_blk_idx_t Mdim, in rsb_spmv_memory_accessed_bytes_() argument 1088 sizeof(rsb_nnz_idx_t) * ( Mdim /* bpntr */) in rsb_spmv_memory_accessed_bytes_() 1121 sizeof(rsb_nnz_idx_t) * ( mtxAp->Mdim /* bpntr */) in rsb_spmv_memory_accessed_bytes_leaf() 1176 sizeof(rsb_nnz_idx_t) * ( mtxAp->Mdim /* bpntr */) in rsb_spmv_memory_accessed_bytes_wr_ratio() 1180 wb=(double)mtxAp->el_size*mtxAp->Mdim; /* the out vector, one time */ in rsb_spmv_memory_accessed_bytes_wr_ratio()
|
H A D | rsb_csr2coo.c | 131 IA = rsb__malloc(sizeof(rsb_coo_idx_t)*(mtxAp->Mdim+1)); in rsb_do_switch_in_place_csr_to_in_place_coo() 137 RSB_COA_MEMCPY(IA,mtxAp->bpntr,0,0,mtxAp->Mdim+1); in rsb_do_switch_in_place_csr_to_in_place_coo() 138 for(i=0;RSB_LIKELY(i<mtxAp->Mdim);++i) in rsb_do_switch_in_place_csr_to_in_place_coo()
|
H A D | rsb_krnl_bcoo_macros.m4 | 106 pushdef(`total_columns',ifelse(RSB_M4_IS_FORMAT_COLUMN_MAJOR(matrix_storage),1,`Mdim',`mdim'))dnl 107 pushdef(`total_rows',ifelse(RSB_M4_IS_FORMAT_COLUMN_MAJOR(matrix_storage),1,`mdim',`Mdim'))dnl 323 dnl assert(i< Mdim); 341 dnl assert(i< Mdim); 368 for(n=nnz-1,ii=Mdim-1;RSB_LIKELY(ii+1>0) ;--ii) 370 for(n=0,ii=0;RSB_LIKELY(ii<Mdim);++ii) 625 pushdef(`matrix_structs',`const itype Mdim,const itype mdim,const citype * RSB_M4_RESTRICT bindx,co…
|
H A D | rsb_krnl_bcss_macros.m4 | 379 …* Computes \f$ \|A\|_{1} \f$ (or rather, \f$ row\_sums_i \leftarrow \sum_{i=0}^{Mdim} A^{T}_{ij} )… 470 pushdef(`total_block_columns',ifelse(RSB_M4_IS_FORMAT_COLUMN_MAJOR(matrix_storage),1,`Mdim',`mdim')… 471 pushdef(`total_block_rows',ifelse(RSB_M4_IS_FORMAT_COLUMN_MAJOR(matrix_storage),1,`mdim',`Mdim'))dnl 570 will write the output vector in the 0,Mdim and -roff+coff,-roff+coff+Mdim range. 709 …for(Mi=Mdim-1; RSB_LIKELY((Mi+1)>0 /*trick for unsigned indices */);--Mi) //RSB_M4_IS_SPSX_KERNEL_… 717 for(Mi=0;RSB_LIKELY(Mi<Mdim);++Mi) 1160 //for(Mi=tn;Mi<Mdim;Mi+=nt) 1161 size_t ui=((Mdim/nt)*(tn+1)); 1162 size_t li=(Mdim/nt)*tn; 1163 if(ui>Mdim)ui=Mdim; [all …]
|
H A D | rsb_coo.h | 43 …rsb_nnz_idx_t nnz, rsb_coo_idx_t roff, rsb_coo_idx_t coff, rsb_coo_idx_t Mdim, rsb_coo_idx_t mdim…
|
H A D | rsb_bio.c | 204 for(n=0;n<mtxAp->Mdim+1;++n) in rsb_do_rw_matrix_xdr_ia() 209 *smp = (struct rsb_mtx_t*)(bpntr+mtxAp->Mdim+1); in rsb_do_rw_matrix_xdr_ia() 348 *ia_size += sizeof(struct rsb_mtx_t)+sizeof(rsb_nnz_idx_t)*(mtxAp->Mdim+1); in rsb_do_compute_total_bytes_for_binary_dump_recursive()
|
H A D | rsb_coo.c | 430 …rsb_nnz_idx_t nnz, rsb_coo_idx_t roff, rsb_coo_idx_t coff, rsb_coo_idx_t Mdim, rsb_coo_idx_t mdim… in rsb_do_util_compact_out_of_range() argument 463 if(RSB_UNLIKELY( IA[k]<roff || IA[k]>=roff+Mdim || JA[k]<coff || JA[k]>=coff+mdim )) in rsb_do_util_compact_out_of_range() 469 …while( k+lzc<nnz && ( IA[k+lzc]<roff || IA[k+lzc]>=roff+Mdim || JA[k+lzc]<coff || JA[k+lzc]>=coff+… in rsb_do_util_compact_out_of_range()
|
H A D | rsb_internals.c | 586 if( mtxAp->bpntr ) count += sizeof(rsb_nnz_idx_t)*(mtxAp->Mdim+1); in rsb__get_sizeof() 1092 bitmap = rsb__allocate_bitmap(mtxAp->Mdim,mtxAp->mdim); in rsb_element_block_count_and_bitmap_from_coo_partitioning() 1127 if(MI>=mtxAp->Mdim) in rsb_element_block_count_and_bitmap_from_coo_partitioning() 1129 RSB_PERR_GOTO(err," i=%d >= o->M_b=%d\n ",MI,mtxAp->Mdim); in rsb_element_block_count_and_bitmap_from_coo_partitioning() 1137 if(!(RSB_BITMAP_GET(bitmap,mtxAp->Mdim,mtxAp->mdim,MI,mI))) in rsb_element_block_count_and_bitmap_from_coo_partitioning() 1145 RSB_BITMAP_SET(bitmap,mtxAp->Mdim,mtxAp->mdim,MI,mI) ; in rsb_element_block_count_and_bitmap_from_coo_partitioning() 1341 mtxAp->Mdim = mtxAp->K_b; in rsb__set_init_flags_and_stuff() 1348 mtxAp->Mdim = mtxAp->M_b; in rsb__set_init_flags_and_stuff() 1872 blocks_per_block_row = rsb__calloc(sizeof(rsb_nnz_idx_t)*(1+mtxAp->Mdim)); in rsb__allocate_from_coo_sorted() 1896 for(MI=0;MI<mtxAp->Mdim;++MI)element_count += elements_per_block_row[MI]; in rsb__allocate_from_coo_sorted() [all …]
|
H A D | rsb_perf.h | 153 rsb_blk_idx_t Mdim,
|
H A D | rsb_krnl_vb_macros.m4 | 77 pushdef(`matrix_structs',`const itype Mdim, const itype mdim, const rsb_nnz_idx_t * RSB_M4_RESTRICT… 173 pushdef(`out_dim',rpntr[Mdim])dnl 207 for(Mi=0;Mi<Mdim;++Mi)
|
H A D | rsb_srt.c | 73 rsb_blk_idx_t Mdim = 0, mdim = 0; in rsb__do_util_sortcoo() local 170 mdim=m, Mdim=k; in rsb__do_util_sortcoo() 179 Mdim=m, mdim=k; in rsb__do_util_sortcoo() 188 …errval = rsb__do_index_based_recursive_bcsr_sort(Mindx,mindx,VA,rMindx,rmindx,rVA,Mdim,mdim,MIb,mI… in rsb__do_util_sortcoo() 192 …errval = rsb__do_index_based_bcsr_msort(rMindx,rmindx,rVA,Mdim,mdim,MIb,mIb,nnz,typecode,flags,op_… in rsb__do_util_sortcoo() 194 …errval = rsb__do_index_based_bcsr_sort(Mindx,mindx,VA,rMindx,rmindx,rVA,Mdim,mdim,MIb,mIb,nnz,type… in rsb__do_util_sortcoo()
|
H A D | rsb_krnl_linked_lists.m4 | 19 pushdef(`matrix_structs',`const itype Mdim, const itype mdim, const rsb_nnz_idx_t * RSB_M4_RESTRICT… 117 pushdef(`out_dim',rpntr[Mdim])dnl 335 pushdef(`matrix_structs',`const itype Mdim, const itype mdim, const rsb_nnz_idx_t * bindx, const rs…
|