Memory Tile for Data Parallel Applications with custom kernels #63
-
Hello everyone, I am probably missing something explained in the tutorials or straightforward, but I would deeply appreciate support with this. This is the kernel:
And this is its behavioural FX
Finally, this is the entire application:
In this case, the four kernels should be four instances of the same AIE kernel (but they may be different ones), but this Application uses a single compute tile since it is seen as assigning the same instance to all the kernels. Thanks for your support, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
As an additional information: If I declare 4 different partialmse kernels ( 4 AIE kernel with different names), it can see 4 different instances, but I got the following error
but none of my compontens in the callgraph is None, and the other error hints are in mlir code |
Beta Was this translation helpful? Give feedback.
-
@GiuseppeSorrentino99 have you tried with a list comprehension? [partialmse for _ in range(4)], you do not need necessarily need to pass the kernel as argument to the constructor. Maybe try this. Other thing that you can try is creating the kernel using the |
Beta Was this translation helpful? Give feedback.
-
Can we try to simplify the problem? Could you write a kernel that takes an array of uint8 and generates the float output? With this we can try to generate a similar callgraph and see id we narrow down the issue. |
Beta Was this translation helpful? Give feedback.
Posted a solution in #66