2 Replies Latest reply on Aug 19, 2012 2:41 PM by realhet

    Are get_global_size and get_local_size expensive calls?

    rydenf

      I am optimizing my kernel and I wonder if I should store the value of get_global_size(i) in a local variable or if it is as efficient just to call the function every time.

       

      Thanks,

      Fredrik