Chapter 13

Foreign lands

Plugging OpenCL in

Abstract

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

Keywords

OpenCL

Extensions

Double

Fission

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 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.