The code works with CUDA 6.0. If you are using this code for your project, please cite our paper:
Wang Y, Qian W, Zhang S, et al. A Learning Algorithm for Bayesian Networks and
Its Efficient Implementation on GPUs[J]. Parallel and Distributed Systems, IEEE
Transactions on, 2016, 27(1): 17-30.
@article{wang2015learning,
title={A learning algorithm for Bayesian networks and its efficient implementation on GPUs},
author={Wang, Yu and Qian, Weikang and Zhang, Shuchang and Liang, Xiaoyao and Yuan, Bo},
journal={IEEE Transactions on Parallel and Distributed Systems},
volume={27},
number={1},
pages={17--30},
year={2015},
publisher={IEEE}
}