Commit a38dac3c authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Silent warning from morse_tune when autotuning is disabled

parent 24263d4c
......@@ -115,11 +115,15 @@ int morse_rank(MORSE_context_t *morse)
**/
int morse_tune(MORSE_enum func, int M, int N, int NRHS)
{
MORSE_context_t *morse;
morse = morse_context_self();
if ( morse && morse->autotuning_enabled == MORSE_TRUE ) {
morse_warning( "morse_tune", "Autotunning not available for now" );
}
(void)func;
(void)M;
(void)N;
(void)NRHS;
morse_warning( "morse_tune", "Autotunning not available for now" );
return MORSE_SUCCESS;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment