Loading src/estimate_work.c +3 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ void estimate_work( int npatches, estimate total work ------------------- */ const double giga = 1000.0 * 1000.0 * 1000.0; assert( ptotal_gflops != NULL ); assert( pgmemA != NULL ); assert( pgmemB != NULL ); Loading Loading @@ -66,7 +68,7 @@ void estimate_work( int npatches, }; }; double total_gflops = total_flops/(1000.0*1000.0*1000.0); double total_gflops = total_flops/(giga); *ptotal_gflops = total_gflops; *pgmemA = gmemA; Loading src/test_vbatch.c +1 −0 Original line number Diff line number Diff line Loading @@ -274,6 +274,7 @@ int main(int argc, char *argv[]) double gmemB_gbytes = gmemB * sizeof(FpType)/giga; double gmemBX_gbytes = gmemBX * sizeof(FpType)/giga; printf("total_gflops=%lf \n", total_gflops ); printf("test_vbatch:memory for Amat=%lf GBytes\n", gmemA_gbytes ); printf("test_vbatch:memory for Bmat=%lf GBytes\n", gmemB_gbytes ); Loading Loading
src/estimate_work.c +3 −1 Original line number Diff line number Diff line Loading @@ -17,6 +17,8 @@ void estimate_work( int npatches, estimate total work ------------------- */ const double giga = 1000.0 * 1000.0 * 1000.0; assert( ptotal_gflops != NULL ); assert( pgmemA != NULL ); assert( pgmemB != NULL ); Loading Loading @@ -66,7 +68,7 @@ void estimate_work( int npatches, }; }; double total_gflops = total_flops/(1000.0*1000.0*1000.0); double total_gflops = total_flops/(giga); *ptotal_gflops = total_gflops; *pgmemA = gmemA; Loading
src/test_vbatch.c +1 −0 Original line number Diff line number Diff line Loading @@ -274,6 +274,7 @@ int main(int argc, char *argv[]) double gmemB_gbytes = gmemB * sizeof(FpType)/giga; double gmemBX_gbytes = gmemBX * sizeof(FpType)/giga; printf("total_gflops=%lf \n", total_gflops ); printf("test_vbatch:memory for Amat=%lf GBytes\n", gmemA_gbytes ); printf("test_vbatch:memory for Bmat=%lf GBytes\n", gmemB_gbytes ); Loading