[PATCH 3/3] Try to perform OpenCL type initialization in C++

Adam Strzelecki ono at java.pl
Mon May 19 07:02:18 PDT 2014


> Is there a spec for OpenCL++ that I've missed somewhere? I can't seem to find anything with a google.

There is SYCL: Abstraction layer for leveraging C++ and OpenCL
https://www.khronos.org/opencl/sycl

I intentionally haven't mentioned SYCL, because these patches do not bring anything in regards SYCL API. The point of these patches was to be able to generate proper OpenCL SPIR code from C++ code, which basically makes compiling existing C++ programs much much easier.

OpenCL++ is somehow transitional between SYCL which is C++ plus some objective API wrapping OpenCL calls, so you can think of it as:

	OpenCL & C++ => OpenCL++
	OpenCL++ & SYCL API => SYCL Spec

Also AMD's OpenCL SDK allows C++ usage in OpenCL, but that has nothing to do my patches.

Regards,
-- 
Adam



More information about the cfe-commits mailing list