Hi,
I have an application with three kernels, out of them kernel1 & kernel3 are in the kernel-C running on EVE_VCOP and kernel2 which is fully in natural-C running on EVE_ARP32. The execution graph is as follows:
Input -> kernel1 -> kernel2 ->kernel3 -> Output.
While executing kernel2, 'BAM_ARP32_computeWrapper()' function is called, wherein the buffers are used in ping pong format. So, the input and output buffer addresses are switched between IBUFHB, IBUFLB and IBUFHA, IBUFLA. The output of this kernel is passed as an input to the kernel3(). But, when I debug I see that kernel3() input address does not change according to the output. BAM has the responsibility to pass these buffer addresses but seems like it retains the addresses it got during kernel3_init() function.
Is there any way to pass this addresses correctly at runtime?
Also, I see that the input buffer address also toggles, but the output address of kernel1 is constant. So, will kernel2 take correct data in the alternate iterations?
Regards,
Shruti