4 Replies Latest reply on Aug 13, 2010 7:17 AM by mux85

    select function problem

    mux85

      Hi, I'm using the select function in a kernel different times with different parameters types. when i use it with all bool parameters it works corrctly, in another case i use it with uchar3 for the first 2 parameters and bool as 3rd parameter i get the following error from SKA:

      can't find an instance for opencl builtin function.

      why is that so? what's wrong in the way i use select?

      thanks

        • select function problem
          genaganna

           

          Originally posted by: mux85 Hi, I'm using the select function in a kernel different times with different parameters types. when i use it with all bool parameters it works corrctly, in another case i use it with uchar3 for the first 2 parameters and bool as 3rd parameter i get the following error from SKA:

           

          can't find an instance for opencl builtin function.

           

          why is that so? what's wrong in the way i use select?

           

          thanks

           

          Which SDK you are using.   Please past your code here so that we can verify at my end also.