Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HostDecls.h File Reference

Contains forward declarations and the definition of the MarshalGraph class, which is used to marshal a graph to GPUs. More...

#include <string>

Go to the source code of this file.

Classes

struct  MarshalGraph
 

Typedefs

typedef unsigned int index_type
 
typedef unsigned int node_data_type
 
typedef unsigned int edge_data_type
 

Functions

int get_gpu_device_id (std::string personality_set, int num_nodes)
 
struct CUDA_Context * get_CUDA_context (int id)
 
bool init_CUDA_context (struct CUDA_Context *ctx, int device)
 
void load_graph_CUDA (struct CUDA_Context *ctx, MarshalGraph &g, unsigned num_hosts)
 
void reset_CUDA_context (struct CUDA_Context *ctx)
 

Detailed Description

Contains forward declarations and the definition of the MarshalGraph class, which is used to marshal a graph to GPUs.

Typedef Documentation

typedef unsigned int edge_data_type
typedef unsigned int index_type
typedef unsigned int node_data_type

Function Documentation

struct CUDA_Context* get_CUDA_context ( int  id)
int get_gpu_device_id ( std::string  personality_set,
int  num_nodes 
)
bool init_CUDA_context ( struct CUDA_Context *  ctx,
int  device 
)
void load_graph_CUDA ( struct CUDA_Context *  ctx,
MarshalGraph g,
unsigned  num_hosts 
)
void reset_CUDA_context ( struct CUDA_Context *  ctx)