Explorar o código

include/starpu_task_util.h: 1<<32 is too big for a int type, turn it into a long long

Nathalie Furmento %!s(int64=12) %!d(string=hai) anos
pai
achega
700656d1f9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/starpu_task_util.h

+ 1 - 1
include/starpu_task_util.h

@@ -44,7 +44,7 @@ void starpu_create_sync_task(starpu_tag_t sync_tag, unsigned ndeps, starpu_tag_t
 #define STARPU_FLOPS	         (1<<29)
 #define STARPU_SCHED_CTX	 (1<<30)
 #define STARPU_PROLOGUE_CALLBACK   (1<<31)
-#define STARPU_PROLOGUE_CALLBACK_ARG (1<<32)
+#define STARPU_PROLOGUE_CALLBACK_ARG (1ULL<<32)
 
 int starpu_insert_task(struct starpu_codelet *cl, ...);