Procházet zdrojové kódy

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

Nathalie Furmento před 11 roky
rodič
revize
700656d1f9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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, ...);