You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
1.0 KiB
28 lines
1.0 KiB
/*
|
|
* Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions
|
|
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
|
* NTESS, the U.S. Government retains certain rights in this software.
|
|
*
|
|
* See packages/seacas/LICENSE for details
|
|
*/
|
|
#pragma once
|
|
|
|
/*****************************************************************************/
|
|
/* This file contains defines that are common to both nem_spread, and */
|
|
/* nem_join. Most of them were taken from rf_salsa.h which is unique */
|
|
/* to nem_spread. */
|
|
/*****************************************************************************/
|
|
|
|
/*
|
|
* Default value of the chunk size (in bytes) for use in I/O and message
|
|
* passing
|
|
*/
|
|
|
|
#ifndef MAX_CHUNK_SIZE
|
|
#define MAX_CHUNK_SIZE 1073741824
|
|
/* Small message size for debugging purposes */
|
|
/* #define MAX_CHUNK_SIZE 16384 */
|
|
#endif
|
|
|
|
#define PEX_MAX(x, y) (((x) > (y)) ? (x) : (y)) /* max function */
|
|
#define PEX_MIN(x, y) (((x) < (y)) ? (x) : (y)) /* min function */
|
|
|