[CORE][RUNTIME] Better error message on internal compilation error
This commit is contained in:
committed by
Philippe Tillet
parent
94e8ee7f01
commit
677ccfb44e
@@ -328,7 +328,7 @@ void function::precompile(driver::stream* stream,
|
|||||||
// multi-threaded compilation
|
// multi-threaded compilation
|
||||||
_loop_nest(ranges, do_make);
|
_loop_nest(ranges, do_make);
|
||||||
if(callers_.empty())
|
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
|
// return auto-tuning key for given function arguments
|
||||||
|
Reference in New Issue
Block a user