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
level 1
同问,关键是有时候不会报错有时候报错个不停,给我整不会了
2023年03月08日 03点03分 2
我后来重新安装了一下问题解决了,应该就是版本的问题
2023年03月10日 04点03分
重装了啥呀,你装的啥版本呀
2023年05月11日 10点05分
@梦想每天有你 重装了啥呀,你装的啥版本呀
2023年05月11日 10点05分
level 2
请问是把gprMax重新安装吗?还是重新安装cuda?
2024年02月28日 03点02分 3
level 2
楼主是重装了啥呀,GPRmax还是cuda
2024年03月15日 08点03分 4
level 1
我之前在windows系统上安装gpu加速失败了,然后通过添加clc.exe到环境变量就解决了。也听说过重装cuda也可以解决这个问题。
我最近在用ubuntu系统上安装,也碰上到这个问题,通过修改gcc版本和cuda版本对应上,这个问题就解决了。希望有帮助!
2024年03月15日 15点03分 5
level 1
请问您解决没
2024年06月10日 17点06分 6
1