Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

1.2. Why OpenCL?

You may hear OpenCL referred to as its own separate language, but this isn’t accurate. The OpenCL standard defines a set of data types, data structures, and functions that augment C and C++. Developers have created OpenCL ports for Java and Python, but the standard only requires that OpenCL frameworks provide libraries in C and C++.

Here’s the million-dollar question: what can you do with OpenCL that you can’t do with regular C and C++? It will take this entire book to answer this question in full, but for now, let’s look at three of OpenCL’s chief advantages: portability, standardized vector processing, and parallel programming.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint