Chapter 13

Foreign lands

Plugging OpenCL in


This chapter discusses accessing OpenCL from languages other than C and C+ +, with a particular focus on the functional programming language Haskell.






13.1 Introduction

Up to this point, we have considered OpenCL in the context of the system programming languages C and C+ +; however, there is a lot more to OpenCL. In this chapter, we look at how OpenCL can be accessed from a selection of different programming language frameworks, including Java, Python, and the functional programming language Haskell.

13.2 Beyond C and C+ +

For many developers, C and C+ + are the programming languages of choice. For many others, this is not the case: for example, ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.