Remove cl_uint reference in CUDA version

This commit is contained in:
Tom Deakin 2015-07-16 17:31:59 +01:00
parent 06c24b2867
commit 8c7224ab42

View File

@ -113,7 +113,7 @@ const DATATYPE scalar = 3.0;
// a[i] = b[i] + scalar * c[i]; // a[i] = b[i] + scalar * c[i];
// } // }
cl_uint deviceIndex = 0; int deviceIndex = 0;
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
@ -279,7 +279,7 @@ std::string getDeviceName()
} }
int parseUInt(const char *str, cl_uint *output) int parseUInt(const char *str, unsigned int *output)
{ {
char *next; char *next;
*output = strtoul(str, &next, 10); *output = strtoul(str, &next, 10);