1
1
openmpi/opal/util/alfg.h
Jeff Squyres 3f845edfdd * Prefix the preprocessor macro used to protect the file
* Include opal_stdint.h so that we have uin32_t

cmr=v1.7.5:ticket=trac:4298

This commit was SVN r30890.

The following Trac tickets were found above:
  Ticket 4298 --> https://svn.open-mpi.org/trac/ompi/ticket/4298
2014-02-28 16:56:38 +00:00

33 строки
595 B
C

/*
* Copyright (c) 2014 Mellanox Technologies, Inc.
* All rights reserved.
* Copyright (c) 2014 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
*
* $HEADER$
*/
#ifndef OPAL_ALFG_H
#define OPAL_ALFG_H
#include "opal_config.h"
#include "opal_stdint.h"
struct opal_rng_buff_t {
uint32_t alfg[127];
int tap1;
int tap2;
};
typedef struct opal_rng_buff_t opal_rng_buff_t;
int opal_srand(opal_rng_buff_t *buff, uint32_t seed);
uint32_t opal_rand(opal_rng_buff_t *buff);
#endif /* OPAL_ALFG_H */