Sample improvements.

- Enable -O3 for hipDispatchLatency.
- Use nearly-null kernel to prevent it from being optimized away.
- Formatting for hipDispatchLatency.
- Formatting for hipInfo.
This commit is contained in:
Ben Sander
2016-09-22 12:24:55 -05:00
والد 6126d73778
کامیت e8beacbfb1
4فایلهای تغییر یافته به همراه38 افزوده شده و 25 حذف شده
@@ -253,10 +253,12 @@ void ResultDatabase::DumpDetailed(ostream &out)
out << endl;
}
out << endl
<< "Note: Any results marked with (*) had missing values." << endl
<< " This can occur on systems with a mixture of" << endl
<< " device types or architectural capabilities." << endl;
if (0) {
out << endl
<< "Note: Any results marked with (*) had missing values." << endl
<< " This can occur on systems with a mixture of" << endl
<< " device types or architectural capabilities." << endl;
}
}
@@ -330,9 +332,11 @@ void ResultDatabase::DumpSummary(ostream &out)
out << endl;
}
out << endl
if (0) {
out << endl
<< "Note: results marked with (*) had missing values such as" << endl
<< "might occur with a mixture of architectural capabilities." << endl;
}
}
// ****************************************************************************