code: def test_program_valued_get_info(ctx_factory):
      ctx = ctx_factory()
  
      prg = cl.Program(
          ctx,
          """
      __kernel void
      reverse(__global float *out)
      {
          out[get_global_id(0)] *= 2;
      }
      """,
      ).build()
  
      knl = prg.reverse
  
      assert knl.program == prg
      knl.program.binaries[0]
  
imports: import numpy
  import numpy.linalg
  import pytest
  import pyopencl
  import pyopencl.array
  import pyopencl.cltypes
  import pyopencl.clrandom
  from pyopencl.tools import pytest_generate_tests_for_pyopencl, ImmediateAllocator, DeferredAllocator
  from pyopencl.characterize import get_pocl_version
label_desc: Use image node_id 27 for calling a global function with example usage: test_program_valued_get_info(ctx_factory) without return types