code: def write_cl_encrypted_kernel_to_file(
      encrypted_code_maps, template_path, output_path
  ):
      cwd = os.path.dirname(__file__)
      env = jinja2.Environment(loader=jinja2.FileSystemLoader(cwd))
      cl_encrypted_kernel = env.get_template(template_path).render(
          tag="codegen",
          maps=encrypted_code_maps,
          data_type="unsigned char",
          variable_name="kEncryptedProgramMap",
      )
      with open(output_path, "w") as w_file:
          w_file.write(cl_encrypted_kernel)
  
file_path: mace/mace/python/tools/encrypt_opencl_codegen.py
imports: import argparse
  import hashlib
  import os
  import shutil
  import sys
  import jinja2
label_desc: Use image node_id 3 for calling a global function with example usage: write_cl_encrypted_kernel_to_file(encrypted_code_maps, template_path, output_path) without return types