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 agoFPGA hardware is different than GPU where there is hierarchy of streaming processors, kernels, warps, etc.
The compiler generates one or more compute units controlled by num_compute_units; the width of the compute unit is controlled by the num_simd_work_items. Work-items specified in the host are executed on this compute unit in a pipelined fashion. Ideally, every cycle a new work-item will be issued to the compute unit. If there are no stalls, every cycle a work-item will exit the compute unit.