How to run model on specific CPU on ZED board

1 Ansicht (letzte 30 Tage)
Mike Bardill
Mike Bardill am 15 Jun. 2016
When I build a model for the ZED board Zynq target and do 'deploy to hardware' the target code always runs on CPU 0. A 'top' command shows that both CPUs are there and running. Is there a way to force a model to run on one or other of the CPUs? For example, create one model and run on CPU0 and then create another model and run on CPU1. This seems to require the 'taskset' part of BusyBox to set the CPU affinity but the BusyBox in the Linux kernel does not seem to include 'taskset'.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by