Sample improvements.

- Enable -O3 for hipDispatchLatency.
- Use nearly-null kernel to prevent it from being optimized away.
- Formatting for hipDispatchLatency.
- Formatting for hipInfo.
Tento commit je obsažen v:
Ben Sander
2016-09-22 12:24:55 -05:00
rodič fb55db8711
revize 1160cefc6d
4 změnil soubory, kde provedl 38 přidání a 25 odebrání
+9 -5
Zobrazit soubor
@@ -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;
}
}
// ****************************************************************************