Google Summer of Code projects
Here is a list of all the Google Summer of Code projects I mentored.
Domain decomposition, load balancing, and massively parallel solvers for the class of nonlocal models (2020)
This project is co-mentored by Prashant K. Jha and is done by Pranav Gadikar. The code is available on GitHub and the problem description is available here.
Project description
Peridynamics is used to model cracks and fractures in materials. In recent years there have been several numerical approximations proposed for peridynamics. Peridynamics is a nonlocal model, i.e. to compute force/strain/energy at a point, one has to look at the neighbors of a point within a finite radius. A code utilizing the parallel algorithms and futurization within HPX for a single shared memory node is available. This code should be extended with a domain decomposition for computations on several nodes. Here, the challenge would be to perform an efficient load balancing of the domain partitions. In case of damage, the computational costs in the domain where the damage occurs in the material decreases. In this project, an efficient algorithm which detects where the computational costs are decreasing and how to redistribute the domains such that load is balanced should be developed.
HPX Backend for OpenCV (2018)
This project is co-mentored by Mikael Simberg and John Biddiscombe and is done by Jakub Golinowski.
Project description
The Image processing toolbox OpenCV supports multithreading in multiple ways, i.a. via TBB or OpenMP, but not with the use of HPX. Therefore, OpenCV should be equipped with reliable HPX support for parallelism. In this way both the performance of the OpenCV and the reach of HPX will be increased.
Alternative smart executors (2018)
This project is co-mentored by Marcin Copik and Zahra Khatami and is done by Gabriel Laberge.
Project description
HPX allows users to parallel their for-loops. The user can change values of chunk size and prefetching distance with existing execution policies. Some of these policies use machine learning the optimal chunk size and prefetching distance for a given for-loop. However, these machine learning algorithms are classification algorithms so the number of possible outcome is limited. The idea is to use regression algorithms to allow for as many outcomes as needed.
Blog post:
Reference:
- G. Laberge, S. Shirzad, P. Diehl, H. Kaiser, S. Prudhomme and A. S. Lemoine, “Scheduling Optimization of Parallel Linear Algebra Algorithms Using Supervised Learning,” 2019 IEEE/ACM Workshop on Machine Learning in High Performance Computing Environments (MLHPC), Denver, CO, USA, 2019, pp. 31-43.
HPXCL – Asynchronous Integration of CUDA and OpenCL to HPX (2017)
The project HPXCL is done by Madhavan Seshadri
Project description
Massively parallel applications are in the dawn of our future. The scale of problems and the amount of data available have made it infeasible to solve a meaningful problem in a single computer. As such, in such a scale, it is imperative to combine CPUs and accelerator cards such as GPUs to achieve one unified computing source. HPXCL aims at unifying kernel launch and data transfer into HPX asynchronous graph through seamless integration. However, the current implementation of the system with CUDA fails to achieve the desired performance improvement metrics while running in a cluster of computers. The proposal is aimed at improving the performance of CUDA-based HPXCL applications through an ‘Event’ triggered mechanism. Appropriate tests are also to be written to ensure necessary functionality performs as required. Standard benchmarking algorithms (Floyd Warshall, FFT etc.) will also be implemented in HPXCL, OpenCL and CUDA to validate, measure and improve the performance of the existing system, while also keeping in mind the new functionality added.
Blog posts:
Reference:
- P. Diehl, M. Seshadri, T. Heller and H. Kaiser, “Integration of CUDA Processing within the C++ Library for Parallelism and Concurrency (HPX),” 2018 IEEE/ACM 4th International Workshop on Extreme Scale Programming Models and Middleware (ESPM2), Dallas, TX, USA, 2018, pp. 19-28.
Implement a Map/Reduce Framework (2016)
Map/Reduce frameworks are getting more and more popular for big data processing (for example Hadoop). By utilizing the unified and standards conforming API of the HPX run time system, we believe to be able to perfectly represent the Map/Reduce programming model. Many applications would benefit from direct support in HPX. This might include adding Hypertable or similar libraries to the mix to handle the large data sets Map/Reduce is usually used with.
The project hpxflow was successfully done by Aalekh Nigam.
Blog Posts:
- Various study over existing Parallel Processing based Framework
- Using Fluent Interface for hpxflow API design
- Using Multiconsumer-Multiproducer Model for windowing
- Summing up my GSoC with Stellar Group