Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: C2000WARE
Hi Expert
I want to understand the time consumption using NPU for AI model acceleration, below are 2 cases:
Assume one block is: Conv + BatchNorm + RelU
Case1: there are 3 blocks that NPU can support in the model: Block1->Block2->Block3
Question on this case: If user call the API in main function to run AI model, can NPU execute the whole process without CPU scheduling the sequence, or the block calculation sequence need to be controlled by CPU? LIke, Block1 finish-> NPU need to trigger an interrupt-> then CPU will prepare the data to input to the Block2 -> trigger Block2 processing in NPU?
if it is the 2nd situation, can CPU process other tasks while NPU is running?
Case2: there are 3 blocks 2 supported by NPU and mid block supported by CPU: Block1-NPU -> Block1-CPU -> Block2-NPU
Question on this case: a) will this model be complied in NPU or CPU or NPU+CPU?
b) if the model can be compiled in NPU+CPU (if not, then question b) does not exists) , will the data exchange the process schedule done by CPU? can CPU run other tasks or just wait while NPU is running?
Thanks
Joe