Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 602 Bytes

File metadata and controls

32 lines (26 loc) · 602 Bytes

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