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
- Compile lattice.cpp:
$ g++ lattice.cpp -o lattice.out
- Run lattice.out:
$ ./lattice.out
- Enter grid dimension:
"Enter Grid Dim: "
- Compile sp.cu:
$ nvcc sp.cu -o sp.out
- Run sp.out:
$ ./sp.out