minor update

This commit is contained in:
Blaise Tine
2021-06-04 20:46:34 -07:00
parent b14825c8b9
commit 84391c1a06
3 changed files with 5 additions and 5 deletions

View File

@@ -82,8 +82,8 @@ int run_test(const kernel_arg_t& kernel_arg,
int ref = i + i;
int cur = buf_ptr[i];
if (cur != ref) {
std::cout << "error at result #" << i
<< ": actual 0x" << cur << ", expected 0x" << ref << std::endl;
std::cout << "error at result #" << std::dec << i
<< std::hex << ": actual 0x" << cur << ", expected 0x" << ref << std::endl;
++errors;
}
}