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
parent be3fd69bd1
commit fdb4ed3c5e
4 changed files with 38 additions and 25 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ double bytesToGB(size_t s)
void printDeviceProp (int deviceId)
{
using namespace std;
const int w1 = 30;
const int w1 = 34;
cout << left;