Seperate the kernel code from cuda_decisiontree.w