org.encog.engine.opencl.exceptions
Class OutOfOpenCLResources
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.encog.engine.EncogEngineError
org.encog.engine.opencl.exceptions.OpenCLError
org.encog.engine.opencl.exceptions.OutOfOpenCLResources
- All Implemented Interfaces:
- Serializable
public class OutOfOpenCLResources
- extends OpenCLError
This exception is thrown when the underlying OpenCL system returns with the
CL_OUT_OF_RESOURCES. This generally either means that you have run out of
OpenCL resources. Or the kernel took too long to execute, and the OS shut it
down. By default, most operating systems do not allow kernel's much time to
execute, because the user cannot interact with the display while a kernel is
running.
The usual solution to this is to adjust the OpenCLTrainingProfile object to
process fewer training items per kernel execution.
See:
http://www.heatonresearch.com/encog/troubleshooting/ooresource.html
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
OutOfOpenCLResources
public OutOfOpenCLResources(Throwable t)
- Construct the exception.
- Parameters:
t - The wrapped exception.
Copyright © 2011. All Rights Reserved.