2 コミット 7549355305 ... a968ba262f

作者 SHA1 メッセージ 日付
  Samuel Thibault a968ba262f Merge branch 'fpga' of gitlab.inria.fr:starpu/starpu into fpga 3 年 前
  Samuel Thibault 4c8e1bfec4 max: Make sure to wait for FPGA initialization completion 3 年 前
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      src/core/workers.c

+ 2 - 0
src/core/workers.c

@@ -932,6 +932,8 @@ static void _starpu_launch_drivers(struct _starpu_machine_config *pconfig)
 			{
 			{
 				struct starpu_driver driver;
 				struct starpu_driver driver;
 				driver.type = workerarg->arch;
 				driver.type = workerarg->arch;
+				workerarg->driver_ops = &_starpu_driver_fpga_ops;
+				workerarg->wait_for_worker_initialization = 1;
 				if (!_starpu_may_launch_driver(&pconfig->conf, &driver))
 				if (!_starpu_may_launch_driver(&pconfig->conf, &driver))
 				{
 				{
 					workerarg->run_by_starpu = 0;
 					workerarg->run_by_starpu = 0;