Loading src/apply_Htarget_sparse.c +9 −0 Original line number Diff line number Diff line Loading @@ -40,9 +40,12 @@ void apply_Htarget_sparse( #define X(i) X_[(i)-1] #define Y(i) Y_[(i)-1] { const int idebug = 1; const int ialign = 32; double total_time = -dmrg_get_wtime(); double gflops1 = 0.0; double gflops2 = 0.0; double time_1st_vbatch = 0.0; Loading Loading @@ -512,6 +515,12 @@ void apply_Htarget_sparse( }; #endif total_time += dmrg_get_wtime(); if (idebug >= 1) { printf("apply_Htarget_sparse: total_time=%lf \n", total_time); }; } src/setup_sparse_batch.c +11 −2 Original line number Diff line number Diff line Loading @@ -75,9 +75,13 @@ void setup_sparse_batch( #define ld_Bmatrix(ipatch,jpatch,ioperator) ld_Bmatrix_[ index3(ipatch,jpatch,ioperator) ] { const int idebug = 0; const int idebug = 1; const int ialign = 32; const int use_Xlacpy = 0; const int false = 0; const int true = !false; const int use_Xlacpy = true ; double total_time = -dmrg_get_wtime(); int ipatch = 0; Loading Loading @@ -464,6 +468,11 @@ void setup_sparse_batch( *pld_gAbatch = ld_gAbatch_; *pld_gBbatch = ld_gBbatch_; total_time += dmrg_get_wtime(); if (idebug >= 1) { printf("setup_sparse_batch: total_time = %lf \n", total_time ); }; } Loading Loading
src/apply_Htarget_sparse.c +9 −0 Original line number Diff line number Diff line Loading @@ -40,9 +40,12 @@ void apply_Htarget_sparse( #define X(i) X_[(i)-1] #define Y(i) Y_[(i)-1] { const int idebug = 1; const int ialign = 32; double total_time = -dmrg_get_wtime(); double gflops1 = 0.0; double gflops2 = 0.0; double time_1st_vbatch = 0.0; Loading Loading @@ -512,6 +515,12 @@ void apply_Htarget_sparse( }; #endif total_time += dmrg_get_wtime(); if (idebug >= 1) { printf("apply_Htarget_sparse: total_time=%lf \n", total_time); }; }
src/setup_sparse_batch.c +11 −2 Original line number Diff line number Diff line Loading @@ -75,9 +75,13 @@ void setup_sparse_batch( #define ld_Bmatrix(ipatch,jpatch,ioperator) ld_Bmatrix_[ index3(ipatch,jpatch,ioperator) ] { const int idebug = 0; const int idebug = 1; const int ialign = 32; const int use_Xlacpy = 0; const int false = 0; const int true = !false; const int use_Xlacpy = true ; double total_time = -dmrg_get_wtime(); int ipatch = 0; Loading Loading @@ -464,6 +468,11 @@ void setup_sparse_batch( *pld_gAbatch = ld_gAbatch_; *pld_gBbatch = ld_gBbatch_; total_time += dmrg_get_wtime(); if (idebug >= 1) { printf("setup_sparse_batch: total_time = %lf \n", total_time ); }; } Loading