4 Replies Latest reply on Dec 29, 2014 1:31 AM by dipak

    AMD OpenCL 2.0 with C++ static kernel extension?

    jason

      Hi!

       

      I very much like that AMD has the C++ static kernel extension - this lets us use things like type traits and template specialization, which are major features of CUDA and lets us keep things flexible and fast and often more concise.

       

      I like that there is an SDK support OpenCL 2.0 now too.  But when I take my build flags and change the cl-std to 2.0, I find I get an error with the -x clc++ argument:

      error: unknown argument: '--c++'

       

      And the compiler proceeds to spazz out on my templates.

       

      Any idea what's going on AMD devs?