Forum Discussion
Altera_Forum
Honored Contributor
11 years agoUsing Channel with multiple Compute Unit
Hi everyone, I read from the AOCL programming guide that a kernel with channel can not be vectorized (SIMD I assume). But is it possible to use channel in kernels with multiple compute units (b...
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- I am trying to use a multiple CU kernel to write to the separate channels based on the value of global_work_id % number of CUs, and then read those channels in a consumer tasked kernel. Is there a way to accomplish this or is this disallowed by AOCL? --- Quote End --- The most convenient way to achieve this is to use replicated single work-item autorun kernels, and use the compute unit ID to customize the channel connections. This cannot be done using num_compute_unit replication for NDRange kernels.