Altera_Forum
Honored Contributor
12 years agoOpenCL Memory Banks
Hi, I have a short request for clarification.
The Altera OpenCL ext header file defines 7 flags for memory banks, CL_MEM_BANK_1_ALTERA to CL_MEM_BANK_7_ALTERA. I am using a Nallatech Stratix V pcie 385 with 2 DIMMS. Does this mean that I can/should only use the two flags CL_MEM_BANK_1_ALTERA and CL_MEM_BANK_2_ALTERA? If yes, what happens if I use flags for banks > 2? Do they get mapped to bank 1? Or are they mapped modulo 2 (that is, 1 and 2 alternating)? If indeed I can use all 7, what is the "scheduling" algorithm used? As always, thanks for your help! Christoph