COMBINATORIAL_BLAS  1.6
graph_generator.h File Reference
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <inttypes.h>

Go to the source code of this file.

Macros

#define __STDC_FORMAT_MACROS
 
#define INT64_T_MPI_TYPE   MPI_LONG_LONG /* Should be MPI_INT64_T */
 
#define GRAPHGEN_SETTINGS_DEFINED
 
#define GRAPHGEN_INITIATOR_SIZE   2
 
#define GRAPHGEN_UNDIRECTED
 
#define GRAPHGEN_KEEP_SELF_LOOPS
 
#define GRAPHGEN_KEEP_DUPLICATES
 

Functions

int64_t compute_edge_array_size (int rank, int size, int64_t M)
 
void generate_kronecker (int rank, int size, const uint_fast32_t seed[5], int logN, int64_t M, const double initiator[], int64_t *const edges)
 

Macro Definition Documentation

◆ __STDC_FORMAT_MACROS

#define __STDC_FORMAT_MACROS

Definition at line 18 of file graph_generator.h.

◆ GRAPHGEN_INITIATOR_SIZE

#define GRAPHGEN_INITIATOR_SIZE   2

Definition at line 56 of file graph_generator.h.

◆ GRAPHGEN_KEEP_DUPLICATES

#define GRAPHGEN_KEEP_DUPLICATES

Definition at line 73 of file graph_generator.h.

◆ GRAPHGEN_KEEP_SELF_LOOPS

#define GRAPHGEN_KEEP_SELF_LOOPS

Definition at line 69 of file graph_generator.h.

◆ GRAPHGEN_SETTINGS_DEFINED

#define GRAPHGEN_SETTINGS_DEFINED

Definition at line 43 of file graph_generator.h.

◆ GRAPHGEN_UNDIRECTED

#define GRAPHGEN_UNDIRECTED

Definition at line 60 of file graph_generator.h.

◆ INT64_T_MPI_TYPE

#define INT64_T_MPI_TYPE   MPI_LONG_LONG /* Should be MPI_INT64_T */

Definition at line 34 of file graph_generator.h.

Function Documentation

◆ compute_edge_array_size()

int64_t compute_edge_array_size ( int  rank,
int  size,
int64_t  M 
)

◆ generate_kronecker()

void generate_kronecker ( int  rank,
int  size,
const uint_fast32_t  seed[5],
int  logN,
int64_t  M,
const double  initiator[],
int64_t *const  edges 
)