11 Replies Latest reply on May 23, 2011 12:08 PM by rick.weber

    Is it necessary : if (get_global_id(0) >= workAmount) return;


      It can be a stupid question, but is it necessary to put the following lines in the begining of a kernel ?

      If I request the "exact" quantity of work... I don't need this ?



      if (get_global_id(0) >= workAmount) return;