Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

OpenCL support for C++ template

$
0
0

Hi,

I'm trying to port an OpenCL kernel that contains C++ template declarations. The compilation of the kernel code (with clCreateProgramWithSource) fails because it does not recognise the "template" symbol.

Is there a way around this?

I'm using the latest Intel OpenCL SDK on a machine equipped with Xeon Phi, and the example codes run just fine.

Many thanks.


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>