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

Method check4

test/test_msgspec.py:1229–1239  ·  view source on GitHub ↗
(self, z, s, r, typecode)

Source from the content-addressed store, hash-verified

1227 self.assertEqual(r[i], z[0])
1228
1229 def check4(self, z, s, r, typecode):
1230 datatype = typemap(typecode)
1231 for typespec in (None, typecode, datatype):
1232 for count in (None, len(s)):
1233 r[:] = z
1234 Alltoallv(
1235 [s, count, typespec],
1236 [r, count, typespec],
1237 )
1238 for a, b in zip(s, r):
1239 self.assertEqual(a, b)
1240
1241 def check5(self, z, s, r, typecode):
1242 datatype = typemap(typecode)

Callers

nothing calls this directly

Calls 1

AlltoallvFunction · 0.85

Tested by

no test coverage detected