paper-with-me

Papers

Source-to-Source Automatic Differentiation of OpenMP Parallel Loops

2021-11-02 · Jan Hückelheim, Laurent Hascoët

This paper presents our work toward correct and efficient automatic differentiation of OpenMP parallel worksharing loops in forward and reverse mode. Automatic differentiation is a method to obtain gradients of numerical programs, which are crucial in optimization, uncertainty quantification, and machine learning. The computational cost to compute gradients is a common bottleneck in practice. For applications that are parallelized for multicore CPUs or GPUs using OpenMP, one also wishes to compute the gradients in parallel. We propose a framework to reason about the correctness of the generated derivative code, from which we justify our OpenMP extension to the differentiation model. We implement this model in the automatic differentiation tool Tapenade and present test cases that are differentiated following our extended differentiation procedure. Performance of the generated derivative programs in forward and reverse mode is better than sequential, although our reverse mode often scales worse than the input programs.

📄 PDF Abstract BibTeX arXiv:2111.01861

Code (0)

등록된 구현이 없습니다.

Tasks

Uncertainty Quantification

Similar Papers 제목 키워드 기반

Learning to Parallelize in a Shared-Memory Environment with Transformers

2022-04-27 · Re'em Harel, Yuval Pinter, Gal Oren

In past years, the world has switched to many-core and multi-core shared memory architectures. As a result, there is a growing need to utilize these architectures by introducing shared memory parallelization schemes to s…

Management

Advising OpenMP Parallelization via a Graph-Based Approach with Transformers

2023-05-16 · Tal Kadosh, Nadav Schneider, Niranjan Hasabnis, Timothy Mattson 외

There is an ever-present need for shared memory parallelization schemes to exploit the full potential of multi-core architectures. The most common parallelization API addressing this need today is OpenMP. Nevertheless, w…

Data Augmentation

OMPar: Automatic Parallelization with AI-Driven Source-to-Source Compilation

2024-09-23 · Tal Kadosh, Niranjan Hasabnis, Prema Soundararajan, Vy A. Vo 외

Manual parallelization of code remains a significant challenge due to the complexities of modern software systems and the widespread adoption of multi-core architectures. This paper introduces OMPar, an AI-driven tool de…

C++ code

Training of Neural Network on a Fashion MNIST Dataset Using OpenMP for Image Recognition

2024-05-16 · International Journal of Current Science 2024 5 · Mahule Roy

This paper explores the application of OpenMP for accelerating the training of neural networks in Fashion MNIST data recognition. OpenMP's parallelization capabilities will be harnessed to distribute computation across m…

LASSI: An LLM-based Automated Self-Correcting Pipeline for Translating Parallel Scientific Codes

2024-06-30 · Matthew T. Dearing, Yiheng Tao, Xingfu Wu, Zhiling Lan 외

This paper addresses the problem of providing a novel approach to sourcing significant training data for LLMs focused on science and engineering. In particular, a crucial challenge is sourcing parallel scientific codes i…

GPU