code: def compile_ast_to_hip(out: Tensor):
      from tinygrad.runtime.ops_hip import compile_hip
  
      lin = Linearizer(out.lazydata.schedule()[-1].ast)
      lin.hand_coded_optimizations()
      lin.linearize()
      code = HIPRenderer(to_function_name(lin.name), lin.uops)[0]
      if DEBUG >= 4:
          print(code)
      compile_hip(code)
  
file_path: tinygrad/test/test_hip_rdna3.py
imports: import unittest
  import operator
  from tinygrad import Tensor, Device, dtypes
  from tinygrad.helpers import DEBUG, to_function_name
  from tinygrad.codegen.linearizer import Linearizer
  from tinygrad.renderer.cstyle import HIPRenderer
  from examples.beautiful_mnist import Model
  from examples.hlb_cifar10 import SpeedyResNet
  from hypothesis import given, strategies, settings
label_desc: Use image node_id 1 for calling a global function with example usage: compile_ast_to_hip(out) without return types