Giter Site home page Giter Site logo

hamham240 / cudagraph Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 24 KB

Cuda Graph Library is a CUDA library that offers a set of parallel graph algorithms.

License: BSD 3-Clause "New" or "Revised" License

CMake 2.91% C++ 77.03% Cuda 19.42% C 0.64%
cuda-library algorithms gpu gpu-computing gpu-programming gpu-accelerated-library nvidia-gpu

cudagraph's Introduction

What is Cuda Graph Library?

Cuda Graph Library is a CUDA library that offers a set of parallel graph algorithms.

Which Algorithms are Currently Supported?

  • Breadth-First Search
  • Cycle Detection
  • Single Source Shortest Path
  • All Pairs Shortest Path

Software Requirements

  • Linux OS
  • CUDA Toolkit v11.2+
  • CMake v3.0+

Hardware Requirements

  • NVIDIA GPU with compute capability of 3 or higher

Installation

Run these set of commands in your CLI in the order that they are presented:

$ git clone https://github.com/hamham240/cudaGraph.git

$ cd cudaGraph

$ cmake .

$ cmake --build .

$ sudo make install

Uninstallation

$ cd cudaGraph

$ sudo make uninstall

Example

	#include "cudaGraph/cudaGraph.h"
	
	namespace cgl = cudaGraph;

	int main()
	{
		cgl::Graph g = cgl::readWeightedCSV("example.csv");

		cgl::cudaGraphInit(g);

		std::vector<int> bfsOutput = cgl::launchBFS(g, 0);

		cgl::cudaGraphTerminate(g);
	}

Sources

cudagraph's People

Contributors

hamham240 avatar

Watchers

 avatar

cudagraph's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.