7 Replies Latest reply on Feb 15, 2016 8:27 AM by gc9

    Support of Templates in OpenCL (Linux)



      According to the following link, templates seem to be supported by OpenCL http://developer.amd.com/wordpress/media/2012/10/CPP_kernel_language.pdf

      I am working on linux platform and I tried to use templated functions but i am constantly getting error -11. I am using simple C functions in my code apart from templates and using g++ to compile my code. Do we have to do something special or set something to use C++ stuff or templates?

      Bolt use heavy templates (its for windows though) so it kind of proves that openCL does support templates or am i missing something?