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

This commit is contained in:
Philippe Tillet
2020-04-07 14:01:21 -04:00
parent 0b35c5ff3f
commit fa5e4af93e

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