restore former behavor when memoryerror
add todo
Update tests and include CPU/GPU/ACC to check all devices opencl