mirror of
https://github.com/amd/blis.git
synced 2026-04-19 23:28:52 +00:00
Adding bli_print_msg before bli_abort() for bli_thrinfo_sup_create_for_cntl
- Adding bli_print_msg to print failure message bout bli_abort in bli_thrinfo_sup_create_for_cntl function.
This commit is contained in:
@@ -192,7 +192,7 @@ thrinfo_t* bli_thrinfo_sup_create_for_cntl
|
||||
// communicator is divisible by the number of new sub-groups.
|
||||
if ( parent_nt_in % parent_n_way != 0 )
|
||||
{
|
||||
printf( "Assertion failed: parent_nt_in <mod> parent_n_way != 0\n" );
|
||||
bli_print_msg( "Assertion failed: parent_nt_in <mod> parent_n_way != 0.", __FILE__, __LINE__ );
|
||||
bli_abort();
|
||||
}
|
||||
|
||||
@@ -234,6 +234,7 @@ thrinfo_t* bli_thrinfo_sup_create_for_cntl
|
||||
// Check if broadcast failed (can happen when parent communicator is NULL)
|
||||
if ( new_comms == NULL )
|
||||
{
|
||||
bli_print_msg( "Broadcast failed if parent communicator is NULL.", __FILE__, __LINE__ );
|
||||
bli_abort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user