base: Fix gpu-compute output stream creation

Match changes in output stream.
This commit is contained in:
Andreas Hansson 2016-03-04 20:14:10 -05:00
parent 4f303785dc
commit 8faeec44a6
2 changed files with 2 additions and 2 deletions

View file

@ -1620,7 +1620,7 @@ ComputeUnit::CUExitCallback::process()
{
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;

View file

@ -1709,7 +1709,7 @@ namespace X86ISA
// 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, "