O'Reilly logo

OpenCL in Action: How to Accelerate Graphics and Computation by Matthew Scarpino

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required