Abstract
Population count is a primitive used in many applications. Commodity processors have dedicated instructions for achieving high-performance population count. Motivated by the productivity of high-level synthesis and the importance of population count, in this paper we investigated the OpenCL implementations of population count algorithms, and evaluated their performance and resource utilizations on an FPGA. Based on the results, we select the most efficient implementation. Then we derived a reduction pattern from a representative application of population count. We parallelized the reduction with atomic functions, and optimized it with vectorized memory accesses, tree reduction, and compute-unit duplication. We evaluated the performance of the reduction kernel on an InteloXeono CPU and an Intel® IrisTM Pro integrated GPU, and an FPGA card that features an Intel® Arria® 10 FPGA. When DRAM memory bandwidth is comparable on the three computing platforms, the FPGA can achieve the highest kernel performance for large workload. On the other hand, we described performance bottlenecks on the FPGA. To make FPGAs more competitive in raw performance compared to high-performant CPU and GPU platforms, it is important to increase external memory bandwidth, minimize data movement between a host and a device, and reduce OpenCL runtime overhead on an FPGA.
| Original language | English |
|---|---|
| Title of host publication | Proceedings - 2020 IEEE 34th International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2020 |
| Publisher | Institute of Electrical and Electronics Engineers Inc. |
| Pages | 432-439 |
| Number of pages | 8 |
| ISBN (Electronic) | 9781728174457 |
| DOIs | |
| State | Published - May 2020 |
| Externally published | Yes |
| Event | 34th IEEE International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2020 - New Orleans, United States Duration: May 18 2020 → May 22 2020 |
Publication series
| Name | Proceedings - 2020 IEEE 34th International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2020 |
|---|
Conference
| Conference | 34th IEEE International Parallel and Distributed Processing Symposium Workshops, IPDPSW 2020 |
|---|---|
| Country/Territory | United States |
| City | New Orleans |
| Period | 05/18/20 → 05/22/20 |
Funding
ACKNOWLEDGMENT We appreciate the reviewers for their constructive criticisms. The research was supported by the U.S. Department of Energy, Office of Science, under contract DE AC02 06CH11357 and made use of the Argonne Leadership Computing Facility, a DOE Office of Science User Facility.
Keywords
- Heterogeneous computing
- OpenCL
- Population count