瀏覽代碼

fpga: update with STARPU_WORKER_TO_MASK

Samuel Thibault 4 年之前
父節點
當前提交
d5843b3c1d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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