Forum Discussion
Altera_Forum
Honored Contributor
11 years agoKernel Vectorization
hi ========================================================== void tempA( ...) {...}; void tempB( ...) {...}; void processing(global int *a){ if(a == 0) tempA( a...
Altera_Forum
Honored Contributor
11 years agoAs long as b is not dependent on the work-item ID. Yes, depending on what you're trying to do, it seems like a single task would be better. If your problem data set cannot be divided into independent sections and depends on other work items, then a single work-item kernel might be a good choice.