Copyright Khronos Group 2012 Page 1. OpenCL 1.2. August 2012

Similar documents
OpenCL Press Conference

OpenCL Overview. Shanghai March Neil Trevett Vice President Mobile Content, NVIDIA President, The Khronos Group

WebGL, WebCL and OpenCL

Khronos and the Mobile Ecosystem

Copyright Khronos Group, Page 1. OpenCL. GDC, March 2010

The State of Gaming APIs

Copyright Khronos Group, Page 1. Khronos Overview. Taiwan, February 2012

WebGL, WebCL and Beyond!

Copyright Khronos Group, Page 1. OpenCL Overview. February 2010

WebGL Meetup GDC Copyright Khronos Group, Page 1

Colin Riddell GPU Compiler Developer Codeplay Visit us at

Copyright Khronos Group Page 1. OpenCL BOF SIGGRAPH 2013

SIGGRAPH Briefing August 2014

Khronos Connects Software to Silicon

Next Generation OpenGL Neil Trevett Khronos President NVIDIA VP Mobile Copyright Khronos Group Page 1

Mobile AR Hardware Futures

WebCL Overview and Roadmap

Copyright Khronos Group Page 1. Vulkan Overview. June 2015

AR Standards Update Austin, March 2012

Graphics Technology Update

Copyright Khronos Group Page 1

Press Briefing SIGGRAPH 2015 Neil Trevett Khronos President NVIDIA Vice President Mobile Ecosystem. Copyright Khronos Group Page 1

Getting Started with Intel SDK for OpenCL Applications

Copyright Khronos Group Page 1

General Purpose GPU Programming (1) Advanced Operating Systems Lecture 14

Update on Khronos Open Standard APIs for Vision Processing Neil Trevett Khronos President NVIDIA Vice President Mobile Ecosystem

Accelerating Vision Processing

Open Standards for Today s Gaming Industry

Copyright Khronos Group Page 1

Press Briefing SIGGRAPH 2015 Neil Trevett Khronos President NVIDIA Vice President Mobile Ecosystem. Copyright Khronos Group Page 1

Open API Standards for Mobile Graphics, Compute and Vision Processing GTC, March 2014

OpenCL: History & Future. November 20, 2017

OpenCL Overview Benedict R. Gaster, AMD

Vulkan Launch Webinar 18 th February Copyright Khronos Group Page 1

Copyright Khronos Group Page 1

Copyright Khronos Group Page 1

Neil Trevett Vice President, NVIDIA OpenCL Chair Khronos President. Copyright Khronos Group, Page 1

Overview and AR/VR Roadmap

OpenCL The Open Standard for Heterogeneous Parallel Programming

Open Standards for Vision and AI Peter McGuinness NNEF WG Chair CEO, Highwai, Inc May 2018

INTRODUCTION TO OPENCL TM A Beginner s Tutorial. Udeepta Bordoloi AMD

The OpenVX Computer Vision and Neural Network Inference

SC24/WG9 Liaison Meeting

Standards for Vision Processing and Neural Networks

OpenCL on the GPU. San Jose, CA September 30, Neil Trevett and Cyril Zeller, NVIDIA

Open Standards for Building Virtual and Augmented Realities. Neil Trevett Khronos President NVIDIA VP Developer Ecosystems

Open Standard APIs for Augmented Reality

Copyright Khronos Group, Page 1

Vulkan 1.1 March Copyright Khronos Group Page 1

Introduction to OpenGL ES 3.0

Parallel programming languages:

Ecosystem Overview Neil Trevett Khronos President NVIDIA Vice President Developer

Navigating the Vision API Jungle: Which API Should You Use and Why? Embedded Vision Summit, May 2015

Neil Trevett Vice President, NVIDIA OpenCL Chair Khronos President

OpenGL BOF Siggraph 2011

Dave Shreiner, ARM March 2009

Khronos Overview The State of the Art in Open Standards for Visual Computing

GPGPU on ARM. Tom Gall, Gil Pitney, 30 th Oct 2013

More performance options

OpenCL TM & OpenMP Offload on Sitara TM AM57x Processors

CLU: Open Source API for OpenCL Prototyping

Khronos Updates GDC 2017 Neil Trevett Vice President Developer Ecosystem, NVIDIA President,

The Role of Standards in Heterogeneous Programming

Copyright Khronos Group, Page 1

WebGL. Announcements. WebGL for Graphics Developers. WebGL for Web Developers. Homework 5 due Monday, 04/16. Final on Tuesday, 05/01

HSA Foundation! Advanced Topics on Heterogeneous System Architectures. Politecnico di Milano! Seminar Room (Bld 20)! 15 December, 2017!

Bringing the Power of the GPU to the Web

Copyright Khronos Group, Page 1 SYCL. SG14, February 2016

Silicon Acceleration APIs

CLICK TO EDIT MASTER TITLE STYLE. Click to edit Master text styles. Second level Third level Fourth level Fifth level

Heterogeneous Computing

GDC 2014 Barthold Lichtenbelt OpenGL ARB chair

SYCL for OpenCL in a Nutshell

A Big Little Hypervisor for IoT Development February 2018

GPGPU Applications. for Hydrological and Atmospheric Simulations. and Visualizations on the Web. Ibrahim Demir

Mention driver developers in the room. Because of time this will be fairly high level, feel free to come talk to us afterwards

Mobile Graphics Ecosystem. Tom Olson OpenGL ES working group chair

Parallel Programming Concepts. GPU Computing with OpenCL

HSA foundation! Advanced Topics on Heterogeneous System Architectures. Politecnico di Milano! Seminar Room A. Alario! 23 November, 2015!

Copyright Khronos Group Page 1

HKG OpenCL Support by NNVM & TVM. Jammy Zhou - Linaro

DEVELOPER DAY MONTRÉAL APRIL Copyright Khronos Group Page 1

An OASIS White Paper. Open by Design. The Advantages of the OpenDocument Format (ODF) ##### D R A F T ##### By the OASIS ODF Adoption TC For OASIS

Copyright Khronos Group, Page 1

OpenGL ES 2.0 : Start Developing Now. Dan Ginsburg Advanced Micro Devices, Inc.

Next Generation Visual Computing

WebGL. WebGL. Bring 3D to the Masses. WebGL. The web has text, images, and video. We want to support. Put it in on a webpage

Mining the Rendering Power in Web Browsers. Jianxia Xue Jan. 28, 2014

Adding Advanced Shader Features and Handling Fragmentation

Profiling and Debugging Games on Mobile Platforms

Neural Network Exchange Format

GPU programming. Dr. Bernhard Kainz

DOWNLOAD OR READ : WEBGL PROGRAMMING GUIDE INTERACTIVE 3D GRAPHICS PROGRAMMING WITH WEBGL PDF EBOOK EPUB MOBI

A Translation Framework for Automatic Translation of Annotated LLVM IR into OpenCL Kernel Function

ECE 574 Cluster Computing Lecture 15

SYCL for OpenCL May15. Copyright Khronos Group Page 1

Hardware Accelerated Graphics for High Performance JavaFX Mobile Applications

GPU Computing Master Clss. Development Tools

Copyright Khronos Group, Page 1

Applications and Implementations

Transcription:

Copyright Khronos Group 2012 Page 1 OpenCL 1.2 August 2012

Copyright Khronos Group 2012 Page 2 Khronos - Connecting Software to Silicon Khronos defines open, royalty-free standards to access graphics, media, compute and input hardware Khronos APIs are low-level just above raw silicon to create the foundation functionality needed on every platform Safe forum for industry cooperation By the industry for the industry - Open to any company to join - IP framework to protect members and industry APIs enable software developers to turn silicon functionality into rich end user experiences

Copyright Khronos Group 2012 Page 3 Apple Over 100 members any company worldwide is welcome to join Board of Promoters

Copyright Khronos Group 2012 Page 4 Processor Parallelism CPUs Multiple cores driving performance increases Emerging Intersection GPUs Increasingly general purpose data-parallel computing Multiprocessor programming e.g. OpenMP Heterogeneous Computing Graphics APIs and Shading Languages OpenCL is a programming framework for heterogeneous compute resources

Copyright Khronos Group 2012 Page 5 The BIG Idea behind OpenCL OpenCL execution model - Define N-dimensional computation domain - Execute a kernel at each point in computation domain C Derivative to write kernels based on ISO C99 - APIs to discover devices in a system and distribute work to them Targeting many types of device - GPUs, CPUs, DSPs, embedded systems, mobile phones.. Even FPGAs Traditional loops void trad_mul(int n, const float *a, const float *b, float *c) { int i; for (i=0; i<n; i++) c[i] = a[i] * b[i]; } Data Parallel OpenCL kernel void dp_mul(global const float *a, global const float *b, global float *c) { int id = get_global_id(0); c[id] = a[id] * b[id]; } // execute over n work-items

Copyright Khronos Group 2012 Page 6 OpenCL Working Group Diverse industry participation many industry experts - Processor vendors, system OEMs, middleware vendors, application developers Apple made initial proposal and is very active in the working group - Serving as specification editor

Copyright Khronos Group 2012 Page 7 OpenCL 1.2 Specification and full conformance tests now available Backward compatible upgrade to OpenCL 1.1 OpenCL 1.2 will run any OpenCL 1.0 and OpenCL 1.1 programs OpenCL 1.2 platform can contain 1.0, 1.1 and 1.2 devices Maintains embedded profile for mobile and embedded devices

Copyright Khronos Group 2012 Page 8 OpenCL Milestones Multiple conformant implementations shipping - For CPUs and GPUs on multiple OS 18 month cadence between OpenCL 1.0, OpenCL 1.1 and OpenCL 1.2 - Backwards compatibility protect software investment Apple proposes OpenCL working group Dec08 Khronos releases OpenCL 1.0 conformance tests to ensure high-quality implementations Jun10 OpenCL 1.2 Specification and conformance tests released Jun08 OpenCL 1.0 released May09 OpenCL 1.1 Specification and conformance tests released Nov11

Copyright Khronos Group 2012 Page 9 New Features in OpenCL 1.2 Partitioning Devices - Applications can partition a device into sub-devices - Enables computation to be assigned to specific compute units - Reserve a part of the device for use for high priority/latency-sensitive tasks or effectively use shared hardware resources such as a cache Separate compilation and linking of objects - Provides the capabilities and flexibility of traditional compilers - Create a library of OpenCL programs that other programs can link with Enhanced Image Support - Added support for 1D images, 1D & 2D image arrays - OpenGL sharing extension now enables an OpenCL image to be created from an OpenGL 1D texture, 1D and 2D texture arrays

Copyright Khronos Group 2012 Page 10 New Features in OpenCL 1.2 (continued) Custom devices and built-in kernels - Drive specialized custom devices from OpenCL even if not programmable - Embedded platforms often contain hardware that cannot support OpenCL C - Built-in kernels represent hardware capabilities such as video encode/decode - Can enqueue built-in kernels to custom devices alongside OpenCL kernels DX9 Media Surface Sharing - Efficient sharing between OpenCL and DirectX 9 or DXVA media surfaces DX11 surface sharing - Efficient sharing between OpenCL and DirectX 11 surfaces

Installable Client Driver ICD released into open source! Analogous to OpenGL ICDs in use for many years - Used to handle multiple OpenGL implementations installed on a system Optional extension - Platform vendor will choose whether to use ICD mechanisms Khronos OpenCL installable client driver loader - Exposes multiple separate vendor installable client drivers (Vendor ICDs) Application can access all vendor implementations - The ICD Loader acts as a de-multiplexor Application ICD Loader ICD Loader enables application to use any of the installed implementations Vendor #1 OpenCL Vendor #2 OpenCL Vendor #3 OpenCL ICD Loader ensures multiple implementations are installed cleanly Copyright Khronos Group 2012 Page 11

Copyright Khronos Group 2012 Page 12 WebCL Parallel Computing for the Web Khronos launching new WebCL initiative - First announced in March 2011 - API definition already underway JavaScript binding to OpenCL - Security is top priority Many use cases - Physics engines to complement WebGL - Image and video editing in browser Stay close to the OpenCL standard - Maximum flexibility - Foundation for higher-level middleware

Copyright Khronos Group 2012 Page 13 Visual Computing Ecosystem High performance compute and graphics interop buffer and events Compute and mobile APIs interoperate through EGL JavaScript bindings to OpenCL Parallel computation in HTML5

Copyright Khronos Group 2012 Page 14 WebCL Open Process and Resources Khronos open process to engage Web community - Public specification drafts, mailing lists, forums - http://www.khronos.org/webcl/ - webcl_public@khronos.org Khronos welcomes new members to define and drive WebCL - info@khronos.org Nokia open sourced prototype for Firefox in May 2011 (LGPL) - http://webcl.nokiaresearch.com Samsung open sourced prototype for WebKit in July 2011 (BSD) - http://code.google.com/p/webcl/ Deformation Demo: Calculates and renders transparent and reflective deformed spheres on top of photo background Performance comparison on Mac - JS: ~1 FPS - WebCL: 87-116 FPS http://www.youtube.com/user/samsungsisa#p/a/u/1/9ttux1a-nuc

Copyright Khronos Group 2012 Page 15 OpenCL Desktop Implementations http://developer.amd.com/zones/openclzone/ http://software.intel.com/en-us/articles/opencl-sdk/ http://developer.nvidia.com/opencl

Copyright Khronos Group 2012 Page 16 OpenCL Books Available Now! OpenCL Programming Guide - The Red Book of OpenCL The OpenCL Programming Book - By Fixstars Japanese OpenCL 1.1 spec

Copyright Khronos Group 2012 Page 17 Khronos OpenCL Resources OpenCL is 100% free for developers - Download drivers from your silicon vendor OpenCL Registry - www.khronos.org/registry/cl/ OpenCL 1.2 Reference Card - PDF version - http://www.khronos.org/files/opencl-1-2-quick-reference-card.pdf Online Man pages - http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/ OpenCL Developer Forums - Give us your feedback! - www.khronos.org/message_boards/

Copyright Khronos Group 2012 Page 18 Looking Forward OpenCL-HLM Exploring high-level programming model, unifying host and device execution environments through language syntax for increased usability and broader optimization opportunities Long-term Core Roadmap Exploring enhanced memory and execution model flexibility to catalyze and expose emerging hardware capabilities OpenCL-SPIR Exploring low-level Intermediate Representation for code obfuscation/security and to provide target back-end for alternative high-level languages