The same exercise can occur using the streaming interface. Here, the compiler has no clue about the size of the input and output frame (the inner loop can be an infinite loop). You must specify the repetition count for each kernel.