We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.MS

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Mathematical Software

Title: Source-to-Source Automatic Differentiation of OpenMP Parallel Loops

Abstract: 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.
Comments: To appear in ACM TOMS
Subjects: Mathematical Software (cs.MS); Machine Learning (cs.LG); Performance (cs.PF)
Cite as: arXiv:2111.01861 [cs.MS]
  (or arXiv:2111.01861v1 [cs.MS] for this version)

Submission history

From: Jan Hückelheim [view email]
[v1] Tue, 2 Nov 2021 19:40:59 GMT (284kb,D)

Link back to: arXiv, form interface, contact.