From 677ccfb44ed6fc426b40851c4ca5845bc00ea58f Mon Sep 17 00:00:00 2001 From: Philippe Tillet Date: Tue, 7 Apr 2020 14:01:21 -0400 Subject: [PATCH] [CORE][RUNTIME] Better error message on internal compilation error --- lib/runtime/function.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime/function.cc b/lib/runtime/function.cc index fbff92a2e..cf9d6fe0c 100644 --- a/lib/runtime/function.cc +++ b/lib/runtime/function.cc @@ -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