Skip to content
Snippets Groups Projects
Commit edee8b89 authored by Marco D'Antonio's avatar Marco D'Antonio
Browse files

Adjusted bandwidth calculation

parent 5b1986be
No related branches found
No related tags found
No related merge requests found
......@@ -148,9 +148,7 @@ int test_curls_convergence(int geometric_order, int approximation_order)
std::cout << flops/(1e9*time) << " GFlops/s" << std::endl;
double gbytes = (3*field_size // output curls
+9*field_size*ed.num_bf // input curls and accumulators
+ed.num_orientations*ed.num_bf*ed.num_bf*ed.num_bf // differentiation matrix
double gbytes = (6*field_size // input curls and accumulators
+num_cells*3*3)*8/1e9;
std::cout << "Kernel bandwidth: " << gbytes/time << " GB/s" << std::endl;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment