Parallel intersection counting on shared-memory multiprocessors and GPUs

Moreno Marzolla,Giovanni Birolo,Gabriele D’Angelo,Piero Fariselli
DOI: https://doi.org/10.1016/j.future.2024.05.039
IF: 7.307
2024-05-22
Future Generation Computer Systems
Abstract:Computing intersections among sets of one-dimensional intervals is an ubiquitous problem in computational geometry with important applications in bioinformatics, where the size of typical inputs is large and it is therefore important to use efficient algorithms. In this paper we propose a parallel algorithm for the 1D intersection-counting problem, that is, the problem of counting the number of intersections between each interval in a given set A and every interval in a set B . Our algorithm is suitable for shared-memory architectures (e.g., multicore CPUs) and GPUs. The algorithm is work-efficient because it performs the same amount of work as the best serial algorithm for this kind of problem. Our algorithm has been implemented in C++ using the Thrust parallel algorithms library, enabling the generation of optimized programs for multicore CPUs and GPUs from the same source code. The performance of our algorithm is evaluated on synthetic and real datasets, showing good scalability on different generations of hardware.
computer science, theory & methods
What problem does this paper attempt to address?