code: def get_add_rate(queue, type="float", timer_factory=None):
      return (
          50
          * 10
          * _get_full_machine_kernel_rate(
              queue,
              """
          typedef %(op_t)s op_t;
          __kernel void benchmark()
          {
              local op_t tgt[1024];
              op_t val = get_global_id(0);
  
              for (int i = 0; i < 10; ++i)
              {
                  val += val; val += val; val += val; val += val; val += val;
                  val += val; val += val; val += val; val += val; val += val;
  
                  val += val; val += val; val += val; val += val; val += val;
                  val += val; val += val; val += val; val += val; val += val;
  
                  val += val; val += val; val += val; val += val; val += val;
                  val += val; val += val; val += val; val += val; val += val;
  
                  val += val; val += val; val += val; val += val; val += val;
                  val += val; val += val; val += val; val += val; val += val;
  
                  val += val; val += val; val += val; val += val; val += val;
                  val += val; val += val; val += val; val += val; val += val;
              }
              tgt[get_local_id(0)] = val;
          }
          """
              % {"op_t": type},
              (),
          )
      )
  
imports: import pyopencl
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: get_add_rate(queue, type, timer_factory) and returns: unknown