accelerate .net appliations with alea...

16
Accelerate .NET Appliations with Alea GPU GTC Express Webinar Dr. Daniel Egloff [email protected] July 8, 2015

Upload: leanh

Post on 12-Mar-2019

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Accelerate .NET Appliations with Alea GPU

GTC Express Webinar

Dr. Daniel Egloff

[email protected]

July 8, 2015

Page 2: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Graphics Processing Units

GPUs are everywhere

Page 3: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Cross Platform Frameworks

.NET gains more momentum

Page 4: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

GPU Programming on .NET

Alea GPU

Page 5: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Alea GPU

Cross platform

compatibility

Servers Desktops & Laptops

90% 8% 37% 30% 33%

Smartphones & Tablets

53% 31% 2%

Page 6: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Alea GPU

Improve

productivity

Page 7: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Alea GPU

Reduce

development time

Page 8: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Alea GPU

Increase agility

Page 9: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Alea GPU

Supported .NET languages C#, F#, VB

Supported operating systems

– Windows

– Linux

– Mac OS X

Integrated libraries

– cuBlas

– cuDNN

– cuRand (V 2.2)

– More to come with V 2.3

Page 10: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Alea GPU Compilation

Compilation steps

.NET Compilers Alea GPU Compiler NVVM Compiler CUDA Driver

LLVM IR PTX GPU

C#, F#, VB

F#

IL

Quotations

Page 11: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Alea GPU Packages

Alea.CUDA

– Compiler core package

Alea.CUDA.IL

– Extension for IL based compilation

Alea.CUDA.Fody

– Convenience deployment package and AOT compilation tool

Alea.CUDA.Unbound

– Performance primitives and libraries

Alea.IL

– IL disassembly and support tools

Page 12: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Examples

Basic transform in F# and C#

Page 13: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Getting Started - Transform

Page 14: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Alea GPU Coding Techniques

Method based

Class instance based

Template based

More details in Alea GPU tutorial

Page 15: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Butterfly Reduction

Page 16: Accelerate .NET Appliations with Alea GPUon-demand.gputechconf.com/gtc/2015/webinar/gtc-express...Alea.IL –IL disassembly and support tools Examples Basic transform in F# and C#

Dr. Daniel Egloff

[email protected]

March 9, 2015

Questions ?