edwen

Seems OpenCL doesn't support Polymorphism?

Discussion created by edwen on Sep 10, 2010
Latest reply on Sep 14, 2010 by himanshu.gautam

In my Kernel file .cl, I define several functions with the same name, but have different numbers and types of parameters. The excecution always failed until I named those functions differently. Doesn't anyone have the same experience?

I wonder if OpenCL support "class" and "derived class", which are very popular in C++.

 

Outcomes