Already mentioned in project README.md as an known issue
Baikal sometimes hangs if using NVIDIA cards
Here is an easy fix for it
In clw_class.h
line 38: change the return value type from CLWContext to CLWContext&
line 48: add a mutable keyword before CLWContext
DONE
CLWContext will be copied and destroyed each frame
The hanging always happened at the moment when a duplicated CLWContext destroyed
So return a CLWContext reference will eliminate such issue
Already mentioned in project README.md as an known issue Baikal sometimes hangs if using NVIDIA cards
Here is an easy fix for it
In clw_class.h line 38: change the return value type from CLWContext to CLWContext& line 48: add a mutable keyword before CLWContext DONE
CLWContext will be copied and destroyed each frame The hanging always happened at the moment when a duplicated CLWContext destroyed So return a CLWContext reference will eliminate such issue