change the warning, stating the rounding error on float does not apply to AMD devices

This commit is contained in:
pensun 2016-04-26 14:21:52 -05:00
parent 9989852401
commit a8ebdc1438

View File

@ -136,7 +136,7 @@ void parseArguments(int argc, char *argv[])
else if (!strcmp(argv[i], "--float")) else if (!strcmp(argv[i], "--float"))
{ {
useFloat = true; useFloat = true;
std::cout << "Warning: If number of iterations set >= 8, expect rounding errors with single precision on CUDA version" << std::endl; std::cout << "Warning: If number of iterations set >= 8, expect rounding errors with single precision, not apply to AMD device" << std::endl;
} }
else if (!strcmp(argv[i], "--help") || !strcmp(argv[i], "-h")) else if (!strcmp(argv[i], "--help") || !strcmp(argv[i], "-h"))
{ {