PyCUDA ERROR: The context stack was not empty upon module
gprmax吧
全部回复
仅看楼主
level 3
使用GPU加速时,出现如下错误:
PyCUDA ERROR: The context stack was not empty upon module cleanup.
-------------------------------------------------------------------
A context was still active when the context stack was being
cleaned up. At this point in our execution, CUDA may already
have been deinitialized, so there is no way we can finish
cleanly. The program will be aborted now.
Use Context.pop() to avoid this problem.
-----------------------------------------
求解,救命,添加cl.exe的环境变量的方法已经尝试过了,但还是没有用,感谢感谢!!!
2023年02月28日 11点02分 1
1