code: def make_lc2_kernel(self, dtype, a_is_gpu, b_is_gpu):
      from pycuda.elementwise import get_linear_combination_kernel
  
      return get_linear_combination_kernel(
          ((a_is_gpu, dtype, dtype), (b_is_gpu, dtype, dtype)), dtype
      )
  
file_path: pycuda/pycuda/sparse/cg.py
imports: from __future__ import division
  from __future__ import absolute_import
  from pycuda.sparse.inner import AsyncInnerProduct
  from pytools import memoize_method
  import pycuda.driver
  import pycuda.gpuarray
  import numpy
label_desc: Use image node_id 2 for calling the CGStateContainer obj's underlying member method code with example usage: obj.make_lc2_kernel(dtype, a_is_gpu, b_is_gpu) and returns: get_linear_combination_kernel