浏览代码

max: Drop binding preference support

It's not supported yet and makes StarPU always bind on core 0
Samuel Thibault 4 年之前
父节点
当前提交
045e314f4c
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/core/topology.c

+ 3 - 0
src/core/topology.c

@@ -2608,8 +2608,11 @@ static void _starpu_init_workers_binding_and_memory(struct _starpu_machine_confi
 				if (may_bind_automatically[STARPU_FPGA_WORKER])
 				{
 					/* StarPU is allowed to bind threads automatically */
+#if 0
+/* No FPGA preference yet */
 					preferred_binding = _starpu_get_fpga_affinity_vector(devid);
 					npreferred = config->topology.nhwpus;
+#endif
 				}
 #endif /* SIMGRID */
 				if (fpga_init[devid])