zanarashidi / loopy-belief-propagation-using-CUDA

An implementation of the Loopy Belief Propagation algorithm using CUDA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loopy Belief Propagation using CUDA

About

An implementation of the Loopy Belief Propagation (Sum-Product) Algorithm using CUDA on GPU

This code was written as part of my B.Sc. Project in Computer Engineering at the Computer Engineering Department, Sharif University of Technology, Iran

July 2017

How to use this code:

  1. Compile lattice.cpp:
$ g++ lattice.cpp -o lattice.out
  1. Run lattice.out:
$ ./lattice.out
  1. Enter grid dimension:
"Enter Grid Dim: "
  1. Compile sp.cu:
$ nvcc sp.cu -o sp.out
  1. Run sp.out:
$ ./sp.out 

About

An implementation of the Loopy Belief Propagation algorithm using CUDA

License:MIT License


Languages

Language:Cuda 93.4%Language:C++ 6.6%