Deep belief nets in C++ and CUDA C | lit.salon