Cuda error in func init at line 243 out of memory