code: def test_na_scalar_comparisons(fn, ty):
      device_fn = cuda.jit(device=True)(fn)
  
      @cuda.jit
      def test_kernel(err):
          unmasked = ty(1)
  
          unmasked_cmp_na = device_fn(unmasked)
  
          if unmasked_cmp_na:
              err[0] = 1
  
      err = cp.asarray([0], dtype="int8")
      with _CUDFNumbaConfig():
          test_kernel[1, 1](err)
      assert err[0] == 0
  
imports: import operator
  import cupy
  import numpy
  import pytest
  from numba import cuda, types
  from numba.cuda import compile_ptx
  from numba.np.numpy_support import from_dtype
  from cudf import NA
  from cudf.core.udf.api import Masked
  from cudf.core.udf.masked_typing import MaskedType
  from cudf.testing._utils import parametrize_numeric_dtypes_pairwise
  from cudf.utils._numba import _CUDFNumbaConfig
label_desc: Use image node_id 24 for calling a global function with example usage: test_na_scalar_comparisons(fn, ty) without return types