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.