A g m_l

20
Adaptive Game Math Library

description

rcos math library summer 2011

Transcript of A g m_l

Page 1: A g m_l

Adaptive Game Math Library

Page 2: A g m_l

What?

Page 3: A g m_l

Adaptive Game Math Library

Page 4: A g m_l

Games!

Page 5: A g m_l

Adaptive Game Math Library

Page 6: A g m_l

Your Program

Performance-Critical Function Selector

Version 1

Version 2

Version 3

Replacer

Page 7: A g m_l

Why?

Page 8: A g m_l

Performance.

Fast Math Fast Game Happy Player

Happy Programmer

Useless flowcharts. YAY‽

Page 9: A g m_l

Performance.

Page 10: A g m_l

What?

Page 11: A g m_l

Functionality

Core Type System

Vector – VectorBLAS 1 ++

Vector – MatrixBLAS 2

Matrix – MatrixBLAS 3 ++ LAPACK

Probability

Other

Approximations

Page 12: A g m_l

In the beginning, there were types.

SIMD TypesScalar Types

Core Matrix Types BLAS Vectors BLAS Matrices LAPACK Extras

Complex Types

Page 13: A g m_l

Now, natural selection is occurring

SIMD TypeScalar Types

Vector Matrix LAPACK Extras

Complex Types

Page 14: A g m_l

What's done?

Page 15: A g m_l

Progress

Core Type System

Vector – VectorBLAS 1 ++

Vector – MatrixBLAS 2

Matrix – MatrixBLAS 3 ++ LAPACK

Probability

Other

Approximations

KeyNot StartedImplementation in ProgressImplemented but not OptimizedOptimization in ProgressOptimized

LAPACK Extras

Page 16: A g m_l

What are we working on?

Page 17: A g m_l

Implementing BLAS 2&3

Page 18: A g m_l

Merging Functionality of Old “Core” types into the new matrices

Page 19: A g m_l

Implementing a better testing and timing framework

Page 20: A g m_l

Thank you!