Chapter 9. Development with Java and Python

 

This chapter covers
  • Building Java-based OpenCL classes with Aparapi
  • Using the JavaCL toolset to build host applications in Java
  • Creating Python-based host applications with the PyOpenCL toolset

 

In chapter 1, I explained that OpenCL makes it possible to “write once, run on anything,” and I contrasted that with Java’s motto, “Write once, run anywhere.” In this chapter, we’re going to combine the two and obtain the best of both worlds. That is, we’re going to explore how to build high-performance applications using Java and OpenCL. Then we’re going to investigate host application development with Python.

 

Tip

If you’re unfamiliar with Java, I strongly recommend reading Head First Java by Kathy ...

Get OpenCL in Action 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.