Forum Discussion
Altera_Forum
Honored Contributor
12 years agoprocessing element and work items
Hi there, I have a general question here. If I compile a kernel with BLOCK_SIZE=32, SIMD_WORK_ITEM=2, 2-D work groups. The kernels has attributes as: __attribute((reqd_work_group_size(BLOC...
Altera_Forum
Honored Contributor
12 years agoThanks for the answer. But I mean to ask the hardware (processing elements) that is generated on the FPGA.
From the aoc --report, I can see, if i maintain the same block_size, butt change the simd_work_item from 2 to 1, the hardware resources costed will be less as well. So I am guessing more simd_work_item means more hardware resource usage. Thanks. --- Quote Start --- Number of work-items that will launched will be 16*32. That is because the compiler will vectorize the work-items on the local_id(0) dimension; each work-item will do the work of two work-items. Hence, half the number of work-items on this dimension will be launched. --- Quote End ---