4 Replies Latest reply on May 16, 2011 1:48 PM by MicahVillmow

    Method overloading support ?



      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) ...