org.encog.engine.opencl.exceptions
Class OutOfOpenCLResources

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.encog.engine.EncogEngineError
                  extended by org.encog.engine.opencl.exceptions.OpenCLError
                      extended by 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

Constructor Summary
OutOfOpenCLResources(Throwable t)
          Construct the exception.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutOfOpenCLResources

public OutOfOpenCLResources(Throwable t)
Construct the exception.

Parameters:
t - The wrapped exception.


Copyright © 2011. All Rights Reserved.