Driver: dirty fix of programs caching with auto-tuner

This commit is contained in:
Philippe Tillet
2015-08-04 00:53:52 -07:00
parent 5b58769fbc
commit d88ff6b39b
3 changed files with 4 additions and 2 deletions

View File

@@ -68,6 +68,7 @@ namespace detail
{
isc::expression_type expression = tools::extract_template_type(i_[0]);
isc::numeric_type dtype = tools::extract_dtype(i_[1]);
isc::driver::backend::programs::release();
container[std::make_pair(expression, dtype)].reset(new isc::model(v));
}
};