code: def test_conditionally_positive_definite(xp, scp, kernel):
      # Test if each kernel in _AVAILABLE is conditionally positive definite of
      # order m, where m comes from _NAME_TO_MIN_DEGREE. This is a necessary
      # condition for the smoothed RBF interpolant to be well-posed in general.
      m = _NAME_TO_MIN_DEGREE.get(kernel, -1) + 1
      assert _is_conditionally_positive_definite(kernel, m, xp, scp)
  
imports: import pickle
  import pytest
  import warnings
  import numpy
  from numpy.linalg import LinAlgError
  import cupy
  import cupyx
  from cupy import testing
  import cupyx.scipy.interpolate
  from cupyx.scipy.interpolate._rbfinterp import _AVAILABLE, _SCALE_INVARIANT, _NAME_TO_MIN_DEGREE, NAME_TO_FUNC, _monomial_powers, polynomial_matrix, kernel_matrix
label_desc: Use image node_id 7 for calling a global function with example usage: test_conditionally_positive_definite(xp, scp, kernel) without return types