From 8c7224ab42318421715da64ae53e64e2171e9fea Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Thu, 16 Jul 2015 17:31:59 +0100 Subject: [PATCH] Remove cl_uint reference in CUDA version --- cuda-stream.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cuda-stream.cu b/cuda-stream.cu index bdc7855..4a2c114 100644 --- a/cuda-stream.cu +++ b/cuda-stream.cu @@ -113,7 +113,7 @@ const DATATYPE scalar = 3.0; // a[i] = b[i] + scalar * c[i]; // } -cl_uint deviceIndex = 0; +int deviceIndex = 0; 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; *output = strtoul(str, &next, 10);