Forum Discussion
JSYOO
New Contributor
1 year agoII is an approximation due to the following stallable instructions
Hi I am analyzing the report from oneAPI FPGA report generation. I am currently facing Compiler failed to schedule this loop with smaller II due to memory dependency So I came back to a simple v...
whitepau_altera
Contributor
1 year agoHello!
You can learn about this in the loop_initiation_interval tutorial and the kernel_args_restrict tutorial.
Basically, you need to tell the compiler that the kernel arguments don't alias with the kernel_args_restrict attribute:
struct FunctorKernel { // ------------------------------------------- // Kernel interface definition. // ------------------------------------------- [[intel::kernel_args_restrict]] void operator()() const { // ---------------------------------------- // Kernel code implementation. // ---------------------------------------- } };