What I am doing now is to use asynchronized method to transfer data between host and mic. If I split data into 100 blocks, the transfer task and computation task are initialized 100 times on mic. I am thinking to remove the overhead from initialization. What I want to implement is to keep the computation task always running, but when there is no available data, it just busy waits. When the transfer task finish one block, it will signal computation task to continue. How could I implement this?
thanks a lot!