[CORE][RUNTIME] Better error message on internal compilation error

This commit is contained in:
Philippe Tillet
2020-04-07 14:01:21 -04:00
committed by Philippe Tillet
parent 94e8ee7f01
commit 677ccfb44e

View File

@@ -328,7 +328,7 @@ void function::precompile(driver::stream* stream,
// multi-threaded compilation
_loop_nest(ranges, do_make);
if(callers_.empty())
throw std::runtime_error("could not find valid option in provided space");
throw std::runtime_error("could not compile kernel");
}
// return auto-tuning key for given function arguments