Forum Discussion
Altera_Forum
Honored Contributor
8 years agoUsing of Restrict keyword
Hi All, We have implemented 4 kernels in one .cl file. We are trying to optimize the kernels. So gone through AOCL best practices guide, it suggests the usage of restrict keyword in pointer argume...
Altera_Forum
Honored Contributor
8 years agoRestrict should not increase resource usage that much unless without restrict, you get fully sequential operation, while with restrict you get pipelined operation with a high II which then requires extra resources to buffer data and accommodate the high II. Can you post your kernel area report before and after adding restrict?