added start of cuda bayes