Przeglądaj źródła

fpga: update with STARPU_WORKER_TO_MASK

Samuel Thibault 4 lat temu
rodzic
commit
d5843b3c1d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      include/starpu_task.h

+ 1 - 1
include/starpu_task.h

@@ -70,7 +70,7 @@ extern "C"
    starpu_task::where) to specify the codelet (or the task) may be
    executed on a MAX FPGA.
 */
-#define STARPU_FPGA	((1ULL)<<4)
+#define STARPU_FPGA	STARPU_WORKER_TO_MASK(STARPU_FPGA_WORKER)
 
 /**
    To be used when setting the field starpu_codelet::where (or