MCPcopy Create free account
hub / github.com/mpi4py/mpi4py / array

Method array

test/test_msgspec.py:630–631  ·  view source on GitHub ↗
(self, typecode, initializer)

Source from the content-addressed store, hash-verified

628class TestMessageSimpleCuPy(unittest.TestCase, BaseTestMessageSimpleArray):
629 #
630 def array(self, typecode, initializer):
631 return cupy.array(initializer, dtype=typecode)
632
633 def testOrderC(self):
634 sbuf = cupy.ones([3, 2])

Callers 15

__init__Method · 0.45
GPUArrayCuPyClass · 0.45
scalarFunction · 0.45
asarrayFunction · 0.45
testCreateMethod · 0.45
testGetAddress1Method · 0.45
testAintAddMethod · 0.45
testAintDiffMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
arrayMethod · 0.45
arrayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected