Package com.aparapi.exception
Class AparapiBrokenBarrierException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aparapi.exception.AparapiBrokenBarrierException
-
- All Implemented Interfaces:
java.io.Serializable
public class AparapiBrokenBarrierException extends java.lang.RuntimeException
Exception is thrown when an Aparapi kernel is executing in Java mode, and a barrier cannot be completed due to threads that die during its execution. Aparapi ensures execution won't deadlock due to such an event, resulting in fail-fast code, and allowing easy perception of the failure cause. One such case is when an Aparapi kernel accesses outside a valid array position.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description AparapiBrokenBarrierException(java.lang.String message)
AparapiBrokenBarrierException(java.lang.String message, java.lang.Throwable cause)
AparapiBrokenBarrierException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
AparapiBrokenBarrierException(java.lang.Throwable cause)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AparapiBrokenBarrierException
public AparapiBrokenBarrierException(java.lang.String message)
-
AparapiBrokenBarrierException
public AparapiBrokenBarrierException(java.lang.Throwable cause)
-
AparapiBrokenBarrierException
public AparapiBrokenBarrierException(java.lang.String message, java.lang.Throwable cause)
-
AparapiBrokenBarrierException
public AparapiBrokenBarrierException(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)
-
-