Explorar o código

max: Fix loading on the targetted board instead of *

Samuel Thibault %!s(int64=3) %!d(string=hai) anos
pai
achega
18103c4c01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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