Does buildtool offer parallel task execution

12 visualizaciones (últimos 30 días)
Benjamin Thompson
Benjamin Thompson el 10 de Oct. de 2022
Respondida: Tushar Sharma el 28 de Oct. de 2024 a las 10:28
Very little information is available on the new buildtool and buildplan features in R2022B. I cannot install R2022B at this time but would like to know if is is able to run independent tasks in parallel on a multicore processor. If so, does that require the Parallel Computing Toolbox?
  4 comentarios
Benjamin Thompson
Benjamin Thompson el 17 de Oct. de 2022
So back to STAFF @praharshitha swayampakula, when using buildtool and buildplan in R2022B, can the tool run multiple tasks in parallel if they are independent, and if so, does that require the parallel processing toolbox?
Erik Voigt
Erik Voigt el 9 de Mayo de 2023
I am also very interested in this. When reading the doc it does not look like it can spawn of tasks to individual workers....guess its in the making (I hope).
FYI we have made our own buildtool years ago, including parallelling. When the Mathworks buildtool can do all we need we likely will migrate to that instead.

Iniciar sesión para comentar.

Respuestas (1)

Tushar Sharma
Tushar Sharma el 28 de Oct. de 2024 a las 10:28
Hi Benjamin,
Yes, beginning with MATLAB release R2024a, the buildtool can execute builds in parallel, provided you have the Parallel Computing Toolbox.
Currently, this option affects only how matlab.buildtool.tasks.TestTask instances run. If you specify the -parallel option, the build runs the tests associated with TestTask instances in parallel.
You may refer to this doc - buildtool - Invoke build tool - MATLAB.

Categorías

Más información sobre Manage Products en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by