code: def generate_opencl_code(
      binary_file_name, load_func_name, size_func_name, output_path
  ):
      binary_array = []
      if os.path.exists(binary_file_name):
          with open(binary_file_name, "rb") as f:
              binary_array = np.fromfile(f, dtype=np.uint8)
  
      cwd = os.path.dirname(__file__)
      env = jinja2.Environment(
          loader=jinja2.FileSystemLoader(cwd + "/template")
      )
      content = env.get_template("file_binary.cc.jinja2").render(
          data=binary_array,
          data_size=len(binary_array),
          load_func_name=load_func_name,
          size_func_name=size_func_name,
      )
  
      if os.path.exists(output_path):
          os.remove(output_path)
      with open(output_path, "w") as w_file:
          w_file.write(content)
  
file_path: mace/tools/python/gen_opencl.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import argparse
  import jinja2
  import os
  import struct
  import numpy
  from utils import util
  from utils.util import MaceLogger
  from utils.util import mace_check
label_desc: Use image node_id 1 for calling a global function with example usage: generate_opencl_code(binary_file_name, load_func_name, size_func_name, output_path) without return types