Forum Discussion
Altera_Forum
Honored Contributor
9 years agoget_global_id(0) cause much latency ?
Hi I'm trying to compare the performance of FPGA and GPU based on image processing algorithm. I've found that there's a 10ms different when using the get_global_id(0) and not using it. The kernel ...
Altera_Forum
Honored Contributor
9 years agoAre you launching this as a single work-item kernel or as an NDRange kernel? Since you're using get_global_id (or trying to), I presume NDRange. Maybe the design would work better as a single work item kernel. Some code (from the host and kernel) might help to explain.