diff --git a/data analysis/cudaregress.py b/data analysis/cudaregress.py index 8cdbe141..b8d06ae6 100644 --- a/data analysis/cudaregress.py +++ b/data analysis/cudaregress.py @@ -58,6 +58,7 @@ def take_all_pwrs(vec,pwr): return out def set_device(new_device): + global device device=new_device class LinearRegKernel():