thrust-graph


thrust graph library

[japanese]

What is Thrust Graph Library?

Thrust Graph Library provides graph container, algorithm, and other concepts like a Boost Graph Library. This Library based on the thrust, which is a CUDA library of parallel algorithms with an interface resembling the C++ Standard Template Library (STL).

News

  • Thrust Graph v0.2RC3 has been released!
  • doesn't need Boost C++ Library
  • contains compatibility fixes for CUDA 3.2
  • contains compatibility fixes for Thrust v1.3.0

Simple Example

```

include

using namespace thrust;

int main( void) { typedef adjacency_list graph_t; typedef graph_traits::vertex_descriptor vertex_descriptor; typedef graph_traits::edge_descriptor edge_descriptor;

graph_t g;

// add vertices vertex_descriptor v; for( size_t i =0; i <10; ++i) v =add_vertex( g);

// add edge edge_descriptor e; bool inserted; tie( e, inserted) =add_edge( 0, 2, g);

return 0; } Compile command is nvcc main.cu ```

Contributors

The developer of Thrust Graph Library is: * Kazuhiro Kojima @ National Institute of Advanced Industrial Science and Technology (AIST), Japan

Project Information

Labels:
GPU GPGPU CUDA nvcc Parallel Template STL BOOST Thrust Graph Library CPlusPlus