Chapter 10

OpenCL profiling and debugging

Abstract

In this chapter we provided a brief overview of the developer tools available in OpenCL. We show how OpenCL events can be used to obtain timing information for an OpenCL command. We describe AMD’s CodeXL tool suite, which can be used to study the performance of OpenCL applications. CodeXL can also be used to prototype OpenCL kernels and debug the correctness of OpenCL applications.

Keywords

OpenCL

developer tools

profiling

debugging parallel applications

prototyping tools

10.1 Introduction

Our motivation for writing programs in OpenCL is not limited to writing isolated high-performance kernels but is to speed up parallel applications. Previous chapters have discussed how we can optimize ...

Get Heterogeneous Computing with OpenCL 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.