Subclasses of Sendable
should use the native MPI send function, without
using Nit serialization.
mpi :: Sendable :: defaultinit
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
mpi :: Sendable :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).c :: CByteArray
Wrapper around an array ofunsigned char
in C (unsigned char*
) with length and destroy state
c :: CCStringArray
Wrapper around an array ofCString
in C (char**
) with length and destroy state.
c :: CUInt16Array
Wrapper of a C array of typeuint16_t*
with length and destroy state
# Something sendable directly and efficiently over MPI
#
# Subclasses of `Sendable` should use the native MPI send function, without
# using Nit serialization.
interface Sendable
# Type specific send over MPI
protected fun send(mpi: MPI, at, count: Int, dest: Rank, tag: Tag, comm: Comm) is abstract
# Type specific send full buffer over MPI
protected fun send_all(mpi: MPI, dest: Rank, tag: Tag, comm: Comm) is abstract
end
lib/mpi/mpi.nit:389,1--399,3