Top Banner
Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider
20

Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Optimization/Learning on the GPU (supplement figure slides)

CIS 665

Joe Kider

Page 2: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Pictures/Slides thanks to…• Jonathan Shewchuk• Nico Galoppo• Jeff Bolz

• (Most of this was a blackboard lecture, these slides supplement that, since drawing the graphs of quadratic forms can be difficult. For the most part the lecture came from the following 3 sources: – Jonathan Richard Shewchuk, An Introduction to the Conjugate Gradient

Method Without the Agonizing Pain– Nico Galoppo et Al., LU-GPU: Efficient Algorithms for Solving Dense

Linear Systems on Graphics Hardware– Bolz et Al., Sparse Matrix Solvers on the GPU: Conjugate Gradients

and Multigrid

Page 3: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Gauss-Jordon

Page 4: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Graph of a quadratic form f(x)

The minimum point of this surface is the solution to Ax=b

Page 5: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Contours of the quadratic form

Page 6: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Gradient f’(x) of the quadric form

Page 7: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Gradient Descent

Page 8: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Problem graphs

Page 9: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.
Page 10: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.
Page 11: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Method of Orthogonal Directions

Page 12: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Conjugate Directions

Page 13: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Gram-Schmidt Conjugation

Page 14: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Conjugate Directions

Conjugate directions using theAxial unit vectors, also knowAs Gaussian Elimination

Page 15: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Conjugate Gradients

Page 16: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Conjugate Gradients

Page 17: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Conjugate Gradients

Page 18: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Conjugate Gradients on the GPU

Page 19: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Conjugate Gradients on the GPU

Page 20: Optimization/Learning on the GPU (supplement figure slides) CIS 665 Joe Kider.

Example Applications

• Just a few uses:

– GPU sim demo– Heart wave demo– Flesh Simulation– Water Simulation