@@ -18,6 +18,6 @@ __kernel void variable(__global float* input)
{
const int i = get_global_id(0);
if (i == 0)
- input[i] = input[i] + 1.0;
+ input[i] = input[i] + 1.0f;
}
@@ -18,6 +18,6 @@ __kernel void incrementer(__global float* input)
if (i == 0 || i == 3)
@@ -21,7 +21,7 @@
#endif
#include <sys/time.h>
#include <math.h>
-
+#include <limits.h>
#ifdef STARPU_HAVE_X11
#include <X11/Xlib.h>
#include <X11/Xutil.h>