Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
MANTLE: EMPOWERING 3D GRAPHICS
INNOVATION
GUENNADI RIGUER – MANTLE CHIEF ARCHITECT
BRIAN BENNETT – MANTLE ARCHITECT
What Is Mantle?
Mantle is innovation
Just the right abstraction level
Feature set for modern GPUs
2 | MANTLE: EMPOWERING 3...
Why Mantle?
Developers want it
Performance and control
Excitement and innovation
3 | MANTLE: EMPOWERING 3D GRAPHICS INNOVA...
Mantle isn’t for Everyone
Do you care about performance?
Do you want control?
Do you care about bridging multiple platform...
Solutions for Performance
Designed for GPU efficiency
Unlocking new performance features
“Small batch” problem is history
...
“Small batch” Today

3-5K
6 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
Amazing Developers

3-5K
7 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL

10K
Mantle Target

100K
10K

8 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
Current Issues
API overhead
Lack of proper threading
Memory management
Lack of direct GPU control
9 | MANTLE: EMPOWERING 3...
Design Philosophy
Performance
Simplicity

10 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIA...
API Design Fundamentals
Pre-build and reuse data
Control memory management
Control command generation and execution

Appli...
Putting Developer in the Driver Seat
12 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
Image courtesy of Brian Bennett

… or in the Driver Developer Seat 
13 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVE...
Mantle Core
Features
Execution Model
Graphics
Compute
DMA
...

GPU
15 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDE...
Execution Model
Graphics
Compute
DMA
...

Queues
16 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONF...
Execution Model
App thread
App thread

Graphics

App thread

Compute

App thread

DMA
...

App thread

Queues
Application
...
Decoupled GPU Memory
Other APIs

Mantle

Memory

Memory

State

State

API object

API object

18 | MANTLE: EMPOWERING 3D ...
Memory Management
Application controls memory
… both GPU and CPU
Leverages GPU Memory Virtualization
Much more general tha...
GPU Page Table Remapping
GPU Virtual Address space
Page N

“Virtual”
allocation

“Real”
allocation

Page 1
Page 0
20 | MAN...
Monolithic Pipelines
Pipeline state

DB
IA

VS

HS

DS

GS

RS

PS
CB

Tessellator

Index Data

Resources

Dynamic state

...
Generalized Resources
Other APIs
Index buffers
Vertex buffers

Constant buffers
Staging resources

Textures
Texture Arrays...
New Binding Model
Pipeline

Memory
Image
Image

Memory

Best of traditional and bindless paradigms
23 | MANTLE: EMPOWERING...
Resource Preparation
Application manages resource/memory state
Application manages hazards (e.g. RAW, WAW)
Represents tran...
Preparation Example

Cache flush
Decompression
...

Render target
25 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBE...
… and Much More

Pipeline
serialization

Advanced MSAA
features

26 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER...
Wait,
There Is
More…
Multi-device
App thread
App thread

Graphics

App thread

Compute

App thread

DMA

App thread

...

Application
28 | MANT...
Multi-device
App thread

Graphics

App thread

Graphics

Compute

App thread

Compute

DMA

App thread

DMA

...

App thre...
CrossFire Unleashed
Going beyond AFR rendering
Flexible workload scaling and partitioning
Asymmetric configurations (APU+d...
Debugging & Tools
Tools are very important
Built-in debugging and validation
Extensive multi-level checking
Controls to st...
Summary of Benefits
Empowering lower spec systems
More predictable performance and behavior
Sharing PC optimizations with ...
Want to Know More?
Beta program starts soon
Talk to AMD ISV Team
See more cool presentations today

33 | MANTLE: EMPOWERIN...
Big thanks to
Mantle dev team!
34 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
DISCLAIMER & ATTRIBUTION

The information presented in this document is for informational purposes only and may contain te...
Upcoming SlideShare
Loading in …5
×

GS-4112, Mantle: Empowering 3D Graphics Innovation, by Guennadi Riguer and Brian Bennett

4,582 views

Published on

Presentation GS-4112, Mantle: Empowering 3D Graphics Innovation, by Guennadi Riguer and Brian Bennett, at the AMD Developer Summit (APU13) November 11-13, 2013.

Published in: Technology, Education
  • Be the first to comment

GS-4112, Mantle: Empowering 3D Graphics Innovation, by Guennadi Riguer and Brian Bennett

  1. 1. MANTLE: EMPOWERING 3D GRAPHICS INNOVATION GUENNADI RIGUER – MANTLE CHIEF ARCHITECT BRIAN BENNETT – MANTLE ARCHITECT
  2. 2. What Is Mantle? Mantle is innovation Just the right abstraction level Feature set for modern GPUs 2 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  3. 3. Why Mantle? Developers want it Performance and control Excitement and innovation 3 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  4. 4. Mantle isn’t for Everyone Do you care about performance? Do you want control? Do you care about bridging multiple platforms? 4 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  5. 5. Solutions for Performance Designed for GPU efficiency Unlocking new performance features “Small batch” problem is history 5 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  6. 6. “Small batch” Today 3-5K 6 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  7. 7. Amazing Developers 3-5K 7 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL 10K
  8. 8. Mantle Target 100K 10K 8 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  9. 9. Current Issues API overhead Lack of proper threading Memory management Lack of direct GPU control 9 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  10. 10. Design Philosophy Performance Simplicity 10 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL Features
  11. 11. API Design Fundamentals Pre-build and reuse data Control memory management Control command generation and execution Application controls rendering 11 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  12. 12. Putting Developer in the Driver Seat 12 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  13. 13. Image courtesy of Brian Bennett … or in the Driver Developer Seat  13 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  14. 14. Mantle Core Features
  15. 15. Execution Model Graphics Compute DMA ... GPU 15 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  16. 16. Execution Model Graphics Compute DMA ... Queues 16 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL GPU
  17. 17. Execution Model App thread App thread Graphics App thread Compute App thread DMA ... App thread Queues Application 17 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL GPU
  18. 18. Decoupled GPU Memory Other APIs Mantle Memory Memory State State API object API object 18 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  19. 19. Memory Management Application controls memory … both GPU and CPU Leverages GPU Memory Virtualization Much more general than other APIs 19 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  20. 20. GPU Page Table Remapping GPU Virtual Address space Page N “Virtual” allocation “Real” allocation Page 1 Page 0 20 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL Remapping table
  21. 21. Monolithic Pipelines Pipeline state DB IA VS HS DS GS RS PS CB Tessellator Index Data Resources Dynamic state Graphics pipeline example 21 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL Targets
  22. 22. Generalized Resources Other APIs Index buffers Vertex buffers Constant buffers Staging resources Textures Texture Arrays UAVs ... 22 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL Mantle Memory Images
  23. 23. New Binding Model Pipeline Memory Image Image Memory Best of traditional and bindless paradigms 23 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  24. 24. Resource Preparation Application manages resource/memory state Application manages hazards (e.g. RAW, WAW) Represents translation of usage model 24 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  25. 25. Preparation Example Cache flush Decompression ... Render target 25 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL Shader resource
  26. 26. … and Much More Pipeline serialization Advanced MSAA features 26 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL Advanced control flow
  27. 27. Wait, There Is More…
  28. 28. Multi-device App thread App thread Graphics App thread Compute App thread DMA App thread ... Application 28 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL GPU
  29. 29. Multi-device App thread Graphics App thread Graphics Compute App thread Compute DMA App thread DMA ... App thread ... GPU 0 Application 29 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL GPU 1
  30. 30. CrossFire Unleashed Going beyond AFR rendering Flexible workload scaling and partitioning Asymmetric configurations (APU+dGPU) Unlocking novel usage scenarios 30 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  31. 31. Debugging & Tools Tools are very important Built-in debugging and validation Extensive multi-level checking Controls to stress-test application 31 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  32. 32. Summary of Benefits Empowering lower spec systems More predictable performance and behavior Sharing PC optimizations with next gen consoles Opportunity for novel techniques 32 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  33. 33. Want to Know More? Beta program starts soon Talk to AMD ISV Team See more cool presentations today 33 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  34. 34. Big thanks to Mantle dev team! 34 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL
  35. 35. DISCLAIMER & ATTRIBUTION The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions and typographical errors. The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to product and roadmap changes, component and motherboard version changes, new model and/or product releases, product differences between differing manufacturers, software changes, BIOS flashes, firmware upgrades, or the like. AMD assumes no obligation to update or otherwise correct or revise this information. However, AMD reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of such revisions or changes. AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES, ERRORS OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION. AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN, EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. ATTRIBUTION © 2013 Advanced Micro Devices, Inc. All rights reserved. AMD, the AMD Arrow logo and combinations thereof are trademarks of Advanced Micro Devices, Inc. in the United States and/or other jurisdictions. 35 | MANTLE: EMPOWERING 3D GRAPHICS INNOVATION | NOVEMBER 19, 2013 | CONFIDENTIAL

×