code: def _run_chunk(self, chunk, kernel_options, device_options, tuning_options):
          
  
          #detect language and create high-level device interface
          self.dev = DeviceInterface(kernel_options.kernel_string, iterations=tuning_options.iterations, **device_options)
  
          #move data to the GPU
          gpu_args = self.dev.ready_argument_list(kernel_options.arguments)
  
          results = []
  
          for element in chunk:
              params = dict(OrderedDict(zip(tuning_options.tune_params.keys(), element)))
  
              try:
                  time = self.dev.compile_and_benchmark(gpu_args, params, kernel_options, tuning_options)
  
                  params['time'] = time
                  results.append(params)
              except Exception:
                  params['time'] = None
                  results.append(params)
  
          return results
docs: Benchmark a single kernel instance in the parameter space