Skip to content
Discussion options

You must be logged in to vote

This is an interesting question, sorry for not getting to this when it was fresh.

You can write to run-time parameters from the runtime sequence, like so. This does not require reloading the rest of the static design (xclbin/ELF) onto the NPU: Compile your design once with aiecc.py --aie-generate-xclbin --xclbin-name=my_xclbin.xclbin to get an .xclbin for the static part of the design. Then, re-compile with different run-time parameter values as many times as needed using aiecc.py --aie-generate-npu --npu-insts-name=insts_X.bin. In the CPU host code, you can pass different runtime sequences as the second argument to your kernel invocation.

If you need many different values for run-time pa…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@etabeta1
Comment options

Answer selected by hunhoffe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants