Explorar el Código

fpga: update with STARPU_WORKER_TO_MASK

Samuel Thibault hace 4 años
padre
commit
d5843b3c1d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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