11.07.2015 Views

Vectorizing the forward mode of ADOL-C on a GPU ... - Autodiff.org

Vectorizing the forward mode of ADOL-C on a GPU ... - Autodiff.org

Vectorizing the forward mode of ADOL-C on a GPU ... - Autodiff.org

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

. K. Kulshreshtha, A. K<strong>on</strong>iaeva 6 / 13 <str<strong>on</strong>g>Vectorizing</str<strong>on</strong>g> <str<strong>on</strong>g>ADOL</str<strong>on</strong>g>-C using CUDA Euro AD 10.06.2013Vector <str<strong>on</strong>g>forward</str<strong>on</strong>g> <str<strong>on</strong>g>mode</str<strong>on</strong>g>.Vector <str<strong>on</strong>g>forward</str<strong>on</strong>g> <str<strong>on</strong>g>mode</str<strong>on</strong>g>F : R n −→ R m , x ∈ R n , Ẋ ∈ R n×pẎ = F ′ (x)Ẋ ∈ R m×pḞ(x, Ẋ) := [F(x), F ′ (x)Ẋ]• Amortises <str<strong>on</strong>g>the</str<strong>on</strong>g> overhead by reusing intermediate values for variousdirecti<strong>on</strong>s instead <str<strong>on</strong>g>of</str<strong>on</strong>g> recomputing• Serial: TIME(Ḟ)/TIME(F) ∈ [1 + p, 1 + 1.5p]• Problematic if p is large• Can easily be parallelised if derivatives required at a large number <str<strong>on</strong>g>of</str<strong>on</strong>g>evaluati<strong>on</strong> points x• Can also be parallelised to propogate several directi<strong>on</strong> simultaneously

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!