changeset 1bd9f1b27438 in /z/repo/gem5 details: http://repo.gem5.org/gem5?cmd=changeset;node=1bd9f1b27438 description: base: Fix gpu-compute output stream creation
Match changes in output stream. diffstat: src/gpu-compute/compute_unit.cc | 2 +- src/gpu-compute/gpu_tlb.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diffs (24 lines): diff -r f3f72c0ab03e -r 1bd9f1b27438 src/gpu-compute/compute_unit.cc --- a/src/gpu-compute/compute_unit.cc Fri Nov 27 14:52:10 2015 +0000 +++ b/src/gpu-compute/compute_unit.cc Fri Mar 04 20:14:10 2016 -0500 @@ -1620,7 +1620,7 @@ { if (computeUnit->countPages) { std::ostream *page_stat_file = - simout.create(computeUnit->name().c_str()); + simout.create(computeUnit->name().c_str())->stream(); *page_stat_file << "page, wavefront accesses, workitem accesses" << std::endl; diff -r f3f72c0ab03e -r 1bd9f1b27438 src/gpu-compute/gpu_tlb.cc --- a/src/gpu-compute/gpu_tlb.cc Fri Nov 27 14:52:10 2015 +0000 +++ b/src/gpu-compute/gpu_tlb.cc Fri Mar 04 20:14:10 2016 -0500 @@ -1709,7 +1709,7 @@ // print per page statistics to a separate file (.csv format) // simout is the gem5 output directory (default is m5out or the one // specified with -d - page_stat_file = simout.create(name().c_str()); + page_stat_file = simout.create(name().c_str())->stream(); // print header *page_stat_file << "page,max_access_distance,mean_access_distance, " _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev