code: def test_dgmm_x_matrix(self, dtype):
      if self.orderc != "F":
          pytest.skip()
      self._setup(dtype, xdim=2)
      if self.side == "L":
          ref = cupy.diag(cupy.diag(self.x)) @ self.a
          incx = self.shape[0] + 1
      elif self.side == "R":
          ref = self.a @ cupy.diag(cupy.diag(self.x))
          incx = self.shape[1] + 1
      c = cublas.dgmm(self.side, self.a, self.x, incx=incx)
      cupy.testing.assert_allclose(c, ref, rtol=self.tol, atol=self.tol)
  
imports: import numpy
  import pytest
  import cupy
  from cupy import cublas
  from cupy import testing
label_desc: Use image node_id 8 for calling the TestDgmm obj's underlying member method code with example usage: obj.test_dgmm_x_matrix(dtype) without return types