Driver: Fixed issue in ownership handling for BLAS
This commit is contained in:
@@ -16,7 +16,7 @@ namespace isaac
|
||||
namespace driver
|
||||
{
|
||||
|
||||
Program::Program(Context const & context, std::string const & source) : backend_(context.backend_), context_(context), source_(source), h_(backend_)
|
||||
Program::Program(Context const & context, std::string const & source) : backend_(context.backend_), context_(context), source_(source), h_(backend_, context.h_.has_ownership())
|
||||
{
|
||||
// std::cout << source << std::endl;
|
||||
std::string cache_path = context.cache_path_;
|
||||
|
Reference in New Issue
Block a user