Three changes related to error-checking were made:
The order of error-checking of the 3 matrices A, B, C for the SYMM routine was changed to match the order of other level-3 routines. Before: first check B, then C, then A. Now: first check A, then B, then C. This is consistent with other level-3 routines such as GEMM.
Removal of debug printf-statements for the SYMM routine. Earlier, before an error-code was returned, a message was printed to screen. It is better to give control back to the caller of the function: the error-code contains the information that was printed. The printf's are removed entirely to match the other level-3 routines.
A good portion of the level-1 and level-2 routines contained similar printf-statements when an error-code was returned. They are now guarded with #ifdef DEBUG_ROUTINENAME sections.
Three changes related to error-checking were made:
printf
-statements for the SYMM routine. Earlier, before an error-code was returned, a message was printed to screen. It is better to give control back to the caller of the function: the error-code contains the information that was printed. Theprintf
's are removed entirely to match the other level-3 routines.printf
-statements when an error-code was returned. They are now guarded with#ifdef DEBUG_ROUTINENAME
sections.