code: def MainOpenCL(clDataX, clDataV, Step, Method):
      time_start = time.time()
      if Method == "RungeKutta":
          CLLaunch = MyRoutines.RungeKutta(
              queue, (Number, 1), None, clDataX, clDataV, Step
          )
      elif Method == "ExplicitEuler":
          CLLaunch = MyRoutines.ExplicitEuler(
              queue, (Number, 1), None, clDataX, clDataV, Step
          )
      elif Method == "Heun":
          CLLaunch = MyRoutines.Heun(
              queue, (Number, 1), None, clDataX, clDataV, Step
          )
      else:
          CLLaunch = MyRoutines.ImplicitEuler(
              queue, (Number, 1), None, clDataX, clDataV, Step
          )
      CLLaunch.wait()
      Elapsed = time.time() - time_start
      return Elapsed
  
file_path: pyopencl/examples/n-body.py
imports: import getopt
  import sys
  import time
  import numpy
  import pyopencl
  import pyopencl.array
  from numpy.random import randint
label_desc: Use image node_id 2 for calling a global function with example usage: MainOpenCL(clDataX, clDataV, Step, Method) and returns: Elapsed