tChanged output format for profiling statistics - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 3582254c57dfe0c7c27896b797fee592315f2694
(DIR) parent 4b919b6a8263cf9bfd4189ac025fc1fc27a5025d
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Fri, 19 Oct 2012 16:11:29 +0200
Changed output format for profiling statistics
Diffstat:
M src/device.cu | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
(DIR) diff --git a/src/device.cu b/src/device.cu
t@@ -717,21 +717,21 @@ __host__ void gpuMain(Float4* host_x,
+ t_topology + t_interact + t_summation + t_integrateWalls;
cout << "\nKernel profiling statistics:\n"
<< " - calcParticleCellID:\t" << t_calcParticleCellID/1000.0 << " s"
- << " (" << 100.0*t_calcParticleCellID/t_sum << " %)\n"
+ << "\t(" << 100.0*t_calcParticleCellID/t_sum << " %)\n"
<< " - thrustsort:\t\t" << t_thrustsort/1000.0 << " s"
- << " (" << 100.0*t_thrustsort/t_sum << " %)\n"
+ << "\t(" << 100.0*t_thrustsort/t_sum << " %)\n"
<< " - reorderArrays:\t" << t_reorderArrays/1000.0 << " s"
- << " (" << 100.0*t_reorderArrays/t_sum << " %)\n"
+ << "\t(" << 100.0*t_reorderArrays/t_sum << " %)\n"
<< " - topology:\t\t" << t_topology/1000.0 << " s"
- << " (" << 100.0*t_topology/t_sum << " %)\n"
+ << "\t(" << 100.0*t_topology/t_sum << " %)\n"
<< " - interact:\t\t" << t_interact/1000.0 << " s"
- << " (" << 100.0*t_interact/t_sum << " %)\n"
+ << "\t(" << 100.0*t_interact/t_sum << " %)\n"
<< " - integrate:\t\t" << t_integrate/1000.0 << " s"
- << " (" << 100.0*t_integrate/t_sum << " %)\n"
+ << "\t(" << 100.0*t_integrate/t_sum << " %)\n"
<< " - summation:\t\t" << t_summation/1000.0 << " s"
- << " (" << 100.0*t_summation/t_sum << " %)\n"
+ << "\t(" << 100.0*t_summation/t_sum << " %)\n"
<< " - integrateWalls:\t" << t_integrateWalls/1000.0 << " s"
- << " (" << 100.0*t_integrateWalls/t_sum << " %)\n";
+ << "\t(" << 100.0*t_integrateWalls/t_sum << " %)\n";
}