code: def _get_log_likelihood_cl_func(self):
          
          return SimpleCLFunction.from_string('''
              double _computeLogLikelihood(local const mot_float_type* current_position, void* data){
                  return ''' + self._ll_func.get_cl_function_name() + '''(current_position, data);
              }
          ''', dependencies=[self._ll_func])
docs: Get the CL log likelihood compute function.
  
          This uses local reduction to compute the log likelihood for every observation in CL local space.
          The results are then summed in the first work item and returned using a pointer.
  
          Returns:
              str: the CL code for the log likelihood compute func.