Small tool, doc, sample enhancements.
- Expand message when HIP version mismatch detected.
- Doc touchup.
- change sorting of hipBusBandwidth so byte results shown at top.
-
Change-Id: Ifb4e44a5fdfb65d59c4994b11e5f13385705f7e0
[ROCm/clr commit: 061bcc6a5c]
Ta zmiana jest zawarta w:
%! (template.HTML=
Ben Sander)złożyło 2016-09-26 16:36:01 -05:00
1 rodzic
62ecc57afd
złożenie
d10d1425f3
6 plików zmienionych
+21
-11
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -49,8 +49,8 @@ std::string sizeToString(int size)
|
||||
using namespace std;
|
||||
stringstream ss;
|
||||
if (size < 0) {
|
||||
// char (09, horiz tab) lexically sorts before " " so will cause Byte values to be displayed before kB.
|
||||
ss << char(0x09)/*tab*/ << setfill('0') << setw(3) << -size << "B";
|
||||
// char (-) lexically sorts before " " so will cause Byte values to be displayed before kB.
|
||||
ss << "+" << setfill('0') << setw(3) << -size << "By";
|
||||
} else {
|
||||
ss << size << "kB";
|
||||
}
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika