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

Contains definition of CUDA context structures. More...

#include <cuda.h>
#include "gg.h"
#include "galois/cuda/EdgeHostDecls.h"

Go to the source code of this file.

Classes

struct  CUDA_Context_Shared_Edges
 
struct  CUDA_Context_Common_Edges
 
struct  CUDA_Context_Field_Edges< Type >
 

Functions

bool init_CUDA_context_common_edges (struct CUDA_Context_Common_Edges *ctx, int device)
 
void load_graph_CUDA_common_edges (struct CUDA_Context_Common_Edges *ctx, EdgeMarshalGraph &g, unsigned num_hosts, bool LoadProxyEdges=true)
 
size_t mem_usage_CUDA_common_edges (EdgeMarshalGraph &g, unsigned num_hosts)
 
template<typename Type >
void load_graph_CUDA_field_edges (struct CUDA_Context_Common_Edges *ctx, struct CUDA_Context_Field_Edges< Type > *field, unsigned num_hosts)
 
template<typename Type >
size_t mem_usage_CUDA_field_edges (struct CUDA_Context_Field_Edges< Type > *field, EdgeMarshalGraph &g, unsigned num_hosts)
 

Detailed Description

Contains definition of CUDA context structures.

Function Documentation

bool init_CUDA_context_common_edges ( struct CUDA_Context_Common_Edges ctx,
int  device 
)
void load_graph_CUDA_common_edges ( struct CUDA_Context_Common_Edges ctx,
EdgeMarshalGraph g,
unsigned  num_hosts,
bool  LoadProxyEdges = true 
)
template<typename Type >
void load_graph_CUDA_field_edges ( struct CUDA_Context_Common_Edges ctx,
struct CUDA_Context_Field_Edges< Type > *  field,
unsigned  num_hosts 
)
size_t mem_usage_CUDA_common_edges ( EdgeMarshalGraph g,
unsigned  num_hosts 
)
template<typename Type >
size_t mem_usage_CUDA_field_edges ( struct CUDA_Context_Field_Edges< Type > *  field,
EdgeMarshalGraph g,
unsigned  num_hosts 
)