Forum Discussion
HRZ
Frequent Contributor
7 years agoCan you post a code snippet of what you are trying to do? You have to copy the array to DDR memory to be able to transfer it to the FPGA anyway, and since the array is static, it can just reside on DDR and be re-read at each kernel invocation. If you are thinking about copying the array to FPGA on-chip memory and keep it consistent between different kernel invocations, that is not going to be possible since local memory is only consistent within each kernel invocation and not across different invocations. You can, however, create a separate kernel from your main kernel and read the static array from DDR memory inside that kernel and store it on-chip and keep feeding the data to the main kernel that gets re-invoked via on-chip channels.