Compile C++ code under OpenCL 1.1

I am trying to rewrite some code under openCL in the kernel.
I would like to know if it is possible to make C++ function calls in OpenCL?
Thanks for your feedback.


Je suis entrain de vouloir reecrire un code sous openCL dans le kernel.
J aimerais savoir s il est possible de faire les appels des fonctions C++ dans OpenCL?
Merci pour votre retour.

Hello @jdonguitsop,

for the device code (kernels and devices functions) only OpenCL C is supported in 1.x

Thank for your reply Biloy.

How can you advise me?

Please do you have tutorial to learn to develop in OpenCL?