summaryrefslogtreecommitdiffstats
path: root/lib/mpi/generic_mpi-asm-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mpi/generic_mpi-asm-defs.h')
-rw-r--r--lib/mpi/generic_mpi-asm-defs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mpi/generic_mpi-asm-defs.h b/lib/mpi/generic_mpi-asm-defs.h
new file mode 100644
index 0000000..047d1f5
--- /dev/null
+++ b/lib/mpi/generic_mpi-asm-defs.h
@@ -0,0 +1,4 @@
+/* This file defines some basic constants for the MPI machinery. We
+ * need to define the types on a per-CPU basis, so it is done with
+ * this file here. */
+#define BYTES_PER_MPI_LIMB (SIZEOF_UNSIGNED_LONG)
OpenPOWER on IntegriCloud