You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an example, this program compiles, and crashes during its execution for a very misleading reason:
voidgrb_program( ... ) {
// Using 1 openMP threadomp_set_num_threads( 1 );
// User stuff ...
grb::Vector<int> x(...);
grb::Vector<int> y(...);
grb::Matrix<int> A(...);
// Build the vectors and the matrix ...// NOW using 2 openMP threadomp_set_num_threads( 2 );
// Triggers the assertion trigger in include/coordinates.hpp:1343 "assert( _buf % T == 0 );"// Reason: The vectors have been allocated for computations with // 1 thread only, but grb::vxm will be executed using 2 threads.grb::vxm( y, x, A, ... );
}
The text was updated successfully, but these errors were encountered:
As an example, this program compiles, and crashes during its execution for a very misleading reason:
The text was updated successfully, but these errors were encountered: