Try to repeat computation when it fails due to OpenCL error. Try to repeat it with multiple times with gradually smaller task size.
closes #255.