clpy icon indicating copy to clipboard operation
clpy copied to clipboard

Pass clpy_tests/linalg_tests

Open ghost opened this issue 6 years ago • 3 comments

We should support, remove, or fix clpy_tests/linalg_tests https://github.com/fixstars/clpy/blob/clpy/tests/clpy_tests/linalg_tests

ghost avatar Sep 04 '18 06:09 ghost

test_decomposition.py, test_eigenvalue.py, test_norms.py, test_solve.py:

  • CUSolver

test_product.py:

  • needs dgemm via
    • clpy.inner
    • clpy.kron
    • clpy.outer

test_product.py was confirmed to work well by enabling them after dgemm implemented:

index 0594199..6c15e79 100644
--- a/clpy/__init__.py
+++ b/clpy/__init__.py
@@ -344,10 +344,10 @@ def base_repr(number, base=2, padding=0):  # NOQA (needed to avoid redefinition
 # from clpy.linalg.einsum import einsum  # NOQA

 from clpy.linalg.product import dot  # NOQA
-# from clpy.linalg.product import inner  # NOQA
-# from clpy.linalg.product import kron  # NOQA
-# from clpy.linalg.product import matmul  # NOQA
-# from clpy.linalg.product import outer  # NOQA
+from clpy.linalg.product import inner  # NOQA
+from clpy.linalg.product import kron  # NOQA
+from clpy.linalg.product import matmul  # NOQA
+from clpy.linalg.product import outer  # NOQA
 from clpy.linalg.product import tensordot  # NOQA
 from clpy.linalg.product import vdot  # NOQA

nsakabe-fixstars avatar Oct 12 '18 02:10 nsakabe-fixstars

Still needs substitution for...

test_decomposition.py, test_eigenvalue.py, test_norms.py, test_solve.py:

  • cuSOLVER

nsakabe-fixstars avatar Oct 12 '18 09:10 nsakabe-fixstars

test_einsum.py

AttributeError: module 'clpy' has no attribute 'einsum'

LWisteria avatar Apr 01 '19 03:04 LWisteria