code: def test_compile_arith_masked_vs_na(op, ty):
      def func(x):
          return op(x, NA)
  
      cc = (7, 5)
      ptx, resty = compile_ptx(
          func, (MaskedType(ty),), cc=cc, device=True
      )
  
      assert isinstance(resty, MaskedType)
  
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 5 for calling a global function with example usage: test_compile_arith_masked_vs_na(op, ty) and returns: op