Hans,
Not limited to this part of code, though for example, we have in nestkernle/simulation_manager.cpp
[...]
#pragma omp target teams distribute parallel for
for(int i=0;i<len;i++)
{
// We update in a parallel region. Therefore, we need to catch
// exceptions here and then handle them after the parallel region.
//try
//{
if ( not( *node )->is_frozen() )
{
( *node )->update( clock_, from_step_, to_step_ );
}
//}
/*catch ( std::exception& e )
{
// so throw the exception after parallel region
new WrappedThreadException( e ) );
}*/
++node;
}
OpenMP offload doesn't support exception handling on devices, so any loop that can be offloadable, but
contains exception handling, can we safely comment out?
Itaru.