Remove option for float - only use doubles for now
This commit is contained in:
parent
e5bd4fcb19
commit
4225ba0a2b
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
#define DATATYPE double
|
#define DATATYPE double
|
||||||
unsigned int ARRAY_SIZE = 50000000;
|
unsigned int ARRAY_SIZE = 50000000;
|
||||||
bool useFloat = false;
|
|
||||||
#define NTIMES 10
|
#define NTIMES 10
|
||||||
|
|
||||||
#define MIN(a,b) ((a) < (b)) ? (a) : (b)
|
#define MIN(a,b) ((a) < (b)) ? (a) : (b)
|
||||||
@ -386,10 +385,6 @@ void parseArguments(int argc, char *argv[])
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!strcmp(argv[i], "--float"))
|
|
||||||
{
|
|
||||||
useFloat = true;
|
|
||||||
}
|
|
||||||
else if (!strcmp(argv[i], "--help") || !strcmp(argv[i], "-h"))
|
else if (!strcmp(argv[i], "--help") || !strcmp(argv[i], "-h"))
|
||||||
{
|
{
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
@ -399,7 +394,6 @@ void parseArguments(int argc, char *argv[])
|
|||||||
std::cout << " --list List available devices" << std::endl;
|
std::cout << " --list List available devices" << std::endl;
|
||||||
std::cout << " --device INDEX Select device at INDEX" << std::endl;
|
std::cout << " --device INDEX Select device at INDEX" << std::endl;
|
||||||
std::cout << " -s --arraysize SIZE Use SIZE elements in the array" << std::endl;
|
std::cout << " -s --arraysize SIZE Use SIZE elements in the array" << std::endl;
|
||||||
std::cout << " --float Enable use of floats instead of doubles" << std::endl;
|
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user