Skip to content

Convert user types to MPI_BYTE #79

Open
@aprokop

Description

@aprokop

This logic seems problematic to me:

else {
static_assert(std::is_void_v<T>, "mpi_type not implemented");
return MPI_CHAR; // unreachable
}

If I have a View<Box*>, with Box being some POD struct, in my opinion that view should be sent with message size view.size() * sizeof(View::value_type) and MPI type MPI_BYTE. Instead, right now it refuses to deal with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions