Просмотр исходного кода

max: Fix loading on the targetted board instead of *

Samuel Thibault лет назад: 3
Родитель
Сommit
18103c4c01
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/drivers/max/driver_fpga.c

+ 1 - 1
src/drivers/max/driver_fpga.c

@@ -195,7 +195,7 @@ static void init_device_context(unsigned devid)
 			snprintf(s, sizeof(s), "*:%u", (unsigned) devid);
 			/* FIXME: this assumes that the loads are in-order.
 			 * Ideally we'd detect which ones had an explicit load */
-			engines[devid] = max_load(load->file, load->engine_id_pattern);
+			engines[devid] = max_load(load->file, s);
 			STARPU_ASSERT_MSG(engines[devid], "engine %d (part of *) could not be loaded\n", n);
 		}
 		else