bundle kernel dim calc for CUDA