

def test_cublasXtDgemm(self):
    a = np.random.rand(4, 4).astype(np.float64)
    b = np.random.rand(4, 4).astype(np.float64)
    c = np.zeros((4, 4), np.float64)
    cublasxt.cublasXtDeviceSelect(handle, 2, np.array([0, 1], np.int32).ctypes.data)
    cublasxt.cublasXtDgemm(self.handle, cublasxt._CUBLAS_OP['N'], cublasxt._CUBLAS_OP['N'], 4, 4, 4, np.float64(1.0), a.ctypes.data, 4, b.ctypes.data, 4, np.float64(0.0), b.ctypes.data, 4)
    np.allclose(np.dot(b.T, a.T).T, c)

dataset/ETHPy150Open lebedov/scikit-cuda/tests/test_cublasxt.py test_cublasxt.test_cublasXtDgemm/VarMisuse@153/189 `c`->`b`