Method overloading support ?

Discussion created by spectral on May 11, 2011
Latest reply on May 16, 2011 by MicahVillmow


Do you know if method overloading is expected in a future version of OpenCL.

For now I have to create several methods, like this :

float fresnell(float f1, float f2);

float fresnell2(float f1, float f2, float4 f3);

float fresnell3(float f1, float f2, float3 f3);


When, on the other side, all the native methods use overloading !!! Like "normalize" (double, float, floatn, doublen) ...