GPU Metaprogramming using PyCUDA: Methods & Applications

Documents
95 pages
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs PerspectivesGPU Metaprogramming using PyCUDA:Methods & ApplicationsAndreas Kl ocknerDivision of Applied MathematicsBrown UniversityNvidia GTC October 2, 2009Andreas Kl ockner Applied Math Brown UniversityGPU Metaprogramming using PyCUDA: Methods & ApplicationsWhy GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs PerspectivesThanksTim Warburton (Rice)Jan Hesthaven (Brown)Nicolas Pinto (MIT)Hendrik Riedmann (Stuttgart/Brown)PyCUDA contributorsNvidia CorporationAndreas Kl ockner Applied Math Brown UniversityGPU Metaprogramming using PyCUDA: Methods & ApplicationsWhy GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs PerspectivesOutline1 Why GPU Scripting?2 Scripting CUDA3 GPU Run-Time Code Generation4 DG on GPUs5 PerspectivesAndreas Kl ockner Applied Math Brown UniversityGPU Metaprogramming using PyCUDA: Methods & ApplicationsWhy GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs PerspectivesOutline1 Why GPU Scripting?Combining two Strong Tools2 Scripting CUDA3 GPU Run-Time Code Generation4 DG on GPUs5 PerspectivesAndreas Kl ockner Applied Math Brown UniversityGPU Metaprogramming using PyCUDA: Methods & ApplicationsWhy GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs PerspectivesCombining two Strong ToolsHow are High-Performance Codes constructed?\Traditional" Construction ofHigh-Performance Codes:C/C++/FortranLibraries\Alternative" Construction ofHigh-Performance ...

Sujets

Informations

Publié par
Publié le 24 juin 2011
Nombre de visites sur la page 385
Langue English
Signaler un problème
Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives GPU Metaprogramming using PyCUDA: Methods & Applications Andreas Kl ockner Division of Applied Mathematics Brown University Nvidia GTC October 2, 2009 Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Thanks Tim Warburton (Rice) Jan Hesthaven (Brown) Nicolas Pinto (MIT) Hendrik Riedmann (Stuttgart/Brown) PyCUDA contributors Nvidia Corporation Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Outline 1 Why GPU Scripting? 2 Scripting CUDA 3 GPU Run-Time Code Generation 4 DG on GPUs 5 Perspectives Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Outline 1 Why GPU Scripting? Combining two Strong Tools 2 Scripting CUDA 3 GPU Run-Time Code Generation 4 DG on GPUs 5 Perspectives Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Combining two Strong Tools How are High-Performance Codes constructed? \Traditional" Construction of High-Performance Codes: C/C++/Fortran Libraries \Alternative" Construction of High-Performance Codes: Scripting for ‘brains’ GPUs for ‘inner loops’ Play to the strengths of each programming environment. Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Combining two Strong Tools Scripting: Means A scripting language. . . is discoverable and interactive. has comprehensive built-in functionality. manages resources automatically. is dynamically typed. works well for \gluing" lower-level blocks together. Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Combining two Strong Tools Scripting: Interpreted, not Compiled Program creation work ow: Edit Compile Link Run Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Combining two Strong Tools Scripting: Interpreted, not Compiled Program creation work ow: Edit Compile Link Run Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Combining two Strong Tools Scripting: Interpreted, not Compiled Program creation work ow: Edit Compile Link Run Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications Why GPU Scripting? Scripting CUDA GPU RTCG DG on GPUs Perspectives Combining two Strong Tools Scripting: Python One example of a scripting language: Python Mature Large and active community Emphasizes readability Written in widely-portable C A ‘multi-paradigm’ language Andreas Kl ockner Applied Math  Brown University GPU Metaprogramming using PyCUDA: Methods & Applications