OpenCL Programming by Example

OpenCL Programming by Example

by Banger, Ravishekhar

Type Book
Rate 0.0 /5

Chapter 4: OpenCL Images -- Creating images -- Image format descriptor cl_image_format -- Image details descriptor cl_image_desc -- Passing image buffers to kernels -- Samplers -- Reading and writing buffers -- Copying and filling images -- Mapping image objects -- Querying image objects -- Image histogram computation -- Summary -- Chapter 5: OpenCL Program and Kernel Objects -- Creating program objects -- Creating and building program objects -- OpenCL program building options -- Querying prog…

Read More ↓

Title Statements

  • Full title :OpenCL Programming by Example.

Summary

Chapter 4: OpenCL Images -- Creating images -- Image format descriptor cl_image_format -- Image details descriptor cl_image_desc -- Passing image buffers to kernels -- Samplers -- Reading and writing buffers -- Copying and filling images -- Mapping image objects -- Querying image objects -- Image histogram computation -- Summary -- Chapter 5: OpenCL Program and Kernel Objects -- Creating program objects -- Creating and building program objects -- OpenCL program building options -- Querying program objects -- Creating binary files -- Offline and online compilation -- SAXPY using the binary file -- SPIR - Standard Portable Intermediate Representation -- Creating kernel objects -- Setting kernel arguments -- Executing the kernels -- Querying kernel objects -- Querying kernel argument -- Releasing program and kernel objects -- Built-in kernels -- Summary -- Chapter 6: Events and Synchronization -- OpenCL events and monitoring of these events -- OpenCL event synchronization models -- No synchronization needed -- Single device in-order usage -- Synchronization needed -- Single device and out-of-order queue -- Multiple devices and different OpenCL contexts -- Multiple devices and single OpenCL context -- Coarse grained synchronization -- Event based or fine grained synchronization -- Getting information about cl_event -- User created events -- Event profiling -- Memory fences -- Summary -- Chapter 7: OpenCL C Programming -- Built-in data types -- Basic data types and vector types -- The half data type -- Other data types -- Reserved data types -- Alignment of data types -- Vector data types -- Vector components -- Aliasing rules -- Conversions and type casts -- Implicit conversion -- Explicit conversion -- Reinterpreting data types -- Operators -- Operation on half data type -- Address space qualifiers -- __global/global address space.

This book follows an example-driven, simplified, and practical approach to using OpenCL for general purpose GPU programming.If you are a beginner in parallel programming and would like to quickly accelerate your algorithms using OpenCL, this book is perfect for you! You will find the diverse topics and case studies in this book interesting and informative. You will only require a good knowledge of C programming for this book, and an understanding of parallel implementations will be useful, but not necessary.

Read More ↓

Edition Statements

  • Publication Date:©2013.

Publication Statements

The Physical Object

  • Description:1 online resource (304 pages)

Edition Identifiers

  • ISBN:9781849692359, 1849692351
  • oclc:on1371447764
  • LC Classification:QA76.642 -- .B378 2013eb
  • Dewey Decimal:005.2/75

Table of Contents

Cover -- Copyright -- Credits -- About the Authors -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Hello OpenCL -- Advances in computer architecture -- Different parallel programming techniques -- OpenMP -- MPI -- OpenACC -- CUDA -- CUDA or OpenCL? -- Renderscripts -- Hybrid parallel computing model -- Introduction to OpenCL -- Hardware and software vendors -- Advanced Micro Devices, Inc. (AMD) -- NVIDIA® -- Intel® -- ARM Mali™ GPUs -- OpenCL components -- An example OpenCL program -- Basic software requirements -- Windows -- Linux -- Installing and setting up an OpenCL compliant computer -- Installation steps -- Installing OpenCL on a Linux system with an AMD graphics card -- Installing OpenCL on a Linux system with an NVIDIA graphics card -- Installing OpenCL on a Windows system with an AMD graphics card -- Installing OpenCL on a Windows system with an NVIDIA graphics card -- Apple OSX -- Multiple installations -- Implement the SAXPY routine in OpenCL -- Summary -- References -- Chapter 2: OpenCL Architecture -- Platform model -- AMD A10 5800K APUs -- AMD Radeon™ HD 7870 Graphics Processor -- NVIDIA® GeForce® GTC 680 GPU -- Intel® IVY bri…

Read More ↓

Subjects

Writers

Rate & Review

0.0/5
(0 people Voted)

No reviews yet. Be the first to rate this work.

Files & Downloads

  • OpenCL Programming by Example -- (.pdf)

    PDF · 3.5 MB · updated
  • OpenCL Programming by Example: A comprehensive gu…

    PDF · 3.7 MB · updated