Forum Discussion
Altera_Forum
Honored Contributor
8 years agoLocal variables in Kernel
Hi! I was getting bad results in my kernel, so i decided to printf the local variables marked on the code in bold and blue. At every iteration of the 2nd loop the value from previous itera...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- For the total_gin i have this info:
Stall-free
Yes
Loads from
total_gin
Start-Cycle
1
Latency
3 --- Quote End --- This info doesn't show what type of storage resource is used for implementing the buffer. That info can be found in the "source view" tab of the area report. --- Quote Start --- How can i implement a shfit register in OpenCL using the total_gin info? --- Quote End --- Check "Intel FPGA SDK for OpenCL Programming Guide, Section 5.10.1 - Inferring a Shift Register". Note that unless accesses to the buffer are done in shifting manner, you will not be able to implement that buffer as a shift register.