17
OpenCL- The Open Standard for Parallel Programming of Heterogeneous systems 1 DEPT. OF IT - CNW 08/17/14 Judyfer.W.S, 511309 M.E, Communication and Networking St.Xaviers Catholic College of Engineering, Nagercoil

OpenCL

Embed Size (px)

Citation preview

  • OpenCL- The Open Standard for Parallel Programming of Heterogeneous systems

    *DEPT. OF IT - CNW*

    Judyfer.W.S, 511309

    M.E, Communication and Networking

    St.Xaviers Catholic College of Engineering, Nagercoil

    DEPT. OF CSE - UCEN

  • OVERVIEW*DEPT. OF IT - CNW*ScienceComputingSerial ComputingParallel ComputingWhy Parallel Computing?Parallelism- Future of ComputingWhy Heterogeneous Computing?What is OpenCL?OpenCL ObjectivesAnatomy of OpenCLOpenCL ArchitectureSimple Program

    DEPT. OF CSE - UCEN

  • Science*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • ComputingTheACMComputing Curricula 2005defined "computing" as follows:"In a general way, we can define computing to mean any goal-oriented activity requiring, benefiting from, or creating computers. Thus, computing includes designing and building hardware and software systems for a wide range of purposes; processing, structuring, and managing various kinds of information; doing scientific studies using computers; making computer systems behave intelligently; creating and using communications and entertainment media; finding and gathering information relevant to any particular purpose, and so on. The list is virtually endless, and the possibilities are vast."

    *DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • Serial Computing* DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • Parallel Computing*DEPT. OF CSE - UCEN*

    DEPT. OF CSE - UCEN

  • Amdahl's law*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • Why Parallel Computing?Real World ProblemsSave Time and MoneySolve larger and more complex problemsProvide ConcurrencyTake advantage of Non-local ResourcesMake better use of underlying parallel hardware*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • Parallelism- Future of Computing

    The race is already on for Exascale Computing!

    Exaflop = 1018calculations per second

    *DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • Why heterogeneous computing?Increased computational powerdoes come from parallelism with multiple CPUs and programmable GPUs

    *DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • OpenCLOpenRoyalty-free OpenCL 1.0- Dec8,2008- The Khronos GroupLow level languageSupports both data parallel and task parallel programming modes.*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • OpenCL objectives

    To grow the market of Parallel Computing.Cross-vendor software portability.Support for wide diversity of application. Rapid deployment in the market.*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • Anatomy of OpenCLThe OpenCL development framework is made up of three parts:

    Language specificationPlatform layer APIRuntime API*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • The Platform Model*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • The Execution Model*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • The Memory Model*DEPT. OF IT - CNW*

    DEPT. OF CSE - UCEN

  • *DEPT. OF CSE - UCEN*

    DEPT. OF CSE - UCEN

    *