运行CUDA C++程序时,使用````cudaMalloc((void **)&var, size * sizeof(Real))```申请内存时,有的时候能够正常运行,有的时候会提示initialization error,出现这类情况的原因是什么?应该如何避免?