Kernels for HBP for CUDA