Home
last modified time | relevance | path

Searched refs:mrg_state (Results 1 – 16 of 16) sorted by relevance

/dports/math/combblas/CombBLAS_beta_16_2/graph500-1.2/generator/include/graph500/generator/
H A Dsplittable_mrg.h35 typedef struct mrg_state { struct
37 } mrg_state; argument
40 uint_fast32_t mrg_get_uint(const mrg_transition_matrix* mat, mrg_state* state);
43 double mrg_get_double(const mrg_transition_matrix* mat, mrg_state* state);
46 uint_fast32_t mrg_get_uint_orig(mrg_state* state);
49 double mrg_get_double_orig(mrg_state* state);
51 void mrg_init(mrg_transition_matrix* tm, mrg_state* st);
53 void mrg_seed(mrg_state* st, const uint_fast32_t seed[5]);
67 const mrg_state* st_in,
68 mrg_state* st_out,
[all …]
H A Dpermutation_gen.h22 void rand_sort_shared(mrg_state* st, int64_t n, int64_t* result /* Array of size n */);
26 void rand_sort_mpi(MPI_Comm comm, mrg_state* st, int64_t n,
H A Dbtrd_binomial_distribution.h24 size_t btrd_binomial_distribution(size_t n, double p, mrg_state* state);
H A Dutils.h26 uint_fast64_t random_up_to(mrg_state* st, uint_fast64_t n);
/dports/math/combblas/CombBLAS_beta_16_2/graph500-1.2/generator/
H A Dsplittable_mrg.c121 …nsition(const mrg_transition_matrix* __restrict mat, const mrg_state* __restrict st, mrg_state* r)…
123 …transition(const mrg_transition_matrix* restrict mat, const mrg_state* restrict st, mrg_state* r) {
172 static void mrg_step(const mrg_transition_matrix* mat, mrg_state* state) {
271 uint_fast32_t mrg_get_uint(const mrg_transition_matrix* mat, mrg_state* state) {
277 double mrg_get_double(const mrg_transition_matrix* mat, mrg_state* state) {
284 uint_fast32_t mrg_get_uint_orig(mrg_state* state) {
290 double mrg_get_double_orig(mrg_state* state) {
296 void mrg_init(mrg_transition_matrix* tm, mrg_state* st) {
302 void mrg_seed(mrg_state* st, const uint_fast32_t seed[5]) {
325 const mrg_state* st_in,
[all …]
H A Dgraph_generator.c36 static int generate_nway_bernoulli(const generator_settings* s, mrg_state* st) { in generate_nway_bernoulli()
51 void make_square_counts(int64_t num_edges, mrg_state* st, const generator_settings* s, int64_t* squ… in make_square_counts()
87 static void alter_params(generator_settings* s, const mrg_transition_matrix* trans, mrg_state* st) { in alter_params()
100 void make_one_edge(int64_t base_src, int64_t base_tgt, int64_t nverts, mrg_state* st, const generat… in make_one_edge()
152 const mrg_state* orig_state, in generate_kronecker_internal()
159 mrg_state state = *orig_state; in generate_kronecker_internal()
305 mrg_state state; in generate_kronecker()
H A Dpermutation_gen.c123 static inline void randomly_permute(int64_t* a, int64_t n, mrg_state* st) { in randomly_permute()
156 void rand_sort_shared(mrg_state* st, int64_t n, int64_t* result /* Array of size n */) { in rand_sort_shared()
168 mrg_state new_st; in rand_sort_shared()
185 mrg_state new_st = *st; in rand_sort_shared()
243 void rand_sort_mpi(MPI_Comm comm, mrg_state* st, int64_t n, in rand_sort_mpi()
298 mrg_state new_st = *st; in rand_sort_mpi()
394 mrg_state new_st = *st; in rand_sort_mpi()
414 mrg_state st;
442 mrg_state st;
465 mrg_state st;
H A Dmake_graph.c50 mrg_state state; in make_graph()
161 mrg_state state; in make_graph()
241 mrg_state state; in make_graph()
312 mrg_state state; in make_graph()
378 mrg_state st; in make_random_numbers()
H A Dscramble_edges.c36 mrg_state st; in scramble_edges_shared()
77 mrg_state st; in scramble_edges_mpi()
H A Dutils.c54 uint_fast64_t random_up_to(mrg_state* st, uint_fast64_t n) { in random_up_to()
H A Dbtrd_binomial_distribution.c43 size_t btrd_binomial_distribution(size_t n_orig, double p, mrg_state* state) { in btrd_binomial_distribution()
/dports/math/combblas/CombBLAS_beta_16_2/graph500-1.2/
H A Drmat.c83 mrg_state * restrict st) in randpermute()
133 mrg_state * restrict st) in randpermute()
159 mrg_state * restrict st, int64_t * restrict newlabel) in permute_vertex_labels()
175 permute_edgelist (int64_t * restrict IJ, int64_t nedge, mrg_state *st) in permute_edgelist()
196 mrg_state new_st = *(mrg_state*)prng_state; in rmat_edgelist()
213 new_st = *(mrg_state*)prng_state; in rmat_edgelist()
218 new_st = *(mrg_state*)prng_state; in rmat_edgelist()
H A Dprng.c12 static mrg_state prng_state_store;
H A Dkronecker.c19 mrg_state state; in kronecker_edgelist()
/dports/math/combblas/CombBLAS_beta_16_2/include/CombBLAS/
H A DRefGen21.h102 static int generate_4way_bernoulli(mrg_state* st, int level, int nlevels) in generate_4way_bernoulli()
199 …static void make_one_edge(int64_t nverts, int level, int lgN, mrg_state* st, packed_edge* result, … in make_one_edge()
227 …static inline mrg_state MakeScrambleValues(uint64_t & val0, uint64_t & val1, const uint_fast32_t s… in MakeScrambleValues()
229 mrg_state state; in MakeScrambleValues()
231 mrg_state new_state = state; in MakeScrambleValues()
251 mrg_state state = MakeScrambleValues(val0, val1, seed); in generate_kronecker_range()
258 mrg_state new_state = state; in generate_kronecker_range()
/dports/math/prng/prng-3.0.2/src/
H A Dexternal.c276 struct mrg_state struct
291 struct mrg_state *g; in prng_mrg_get_next_int() argument
293 g = (struct mrg_state *) gen->data.external_data.state; in prng_mrg_get_next_int()
574 struct mrg_state *states; in prng_external_init()
582 gen->data.external_data.state_size = sizeof(struct mrg_state); in prng_external_init()
583 states = (struct mrg_state *) in prng_external_init()