Skip to content
Snippets Groups Projects
Commit 889ef402 authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Move array to text segment when possible.

parent cfe08bcd
No related branches found
No related tags found
No related merge requests found
......@@ -11,14 +11,21 @@
#include "pio_serialize.h"
#include "pio_util.h"
static struct
#if MPI_VERSION == 1 || (MPI_VERSION == 2 && MPI_SUBVERSION < 2)
#define CDI_DT_MATCH_NEEDED 1
#endif
static
#ifndef CDI_DT_MATCH_NEEDED
const
#endif
struct
{
int cdidt;
MPI_Datatype mpidt;
} dtDict[]
= {
#if MPI_VERSION == 1 || (MPI_VERSION == 2 && MPI_SUBVERSION < 2)
#define CDI_DT_MATCH_NEEDED 1
#ifdef CDI_DT_MATCH_NEEDED
{ CDI_DATATYPE_INT8, MPI_SIGNED_CHAR },
{ CDI_DATATYPE_INT16, MPI_SHORT },
{ CDI_DATATYPE_UINT32, MPI_INT },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment