Code quality: destructors of static global objects will no longer call external dependencies. Manual cleaning possible through backend::release()

This should solve errors when libOpenCL's ICD was unloaded prior to libisaac.
This commit is contained in:
Philippe Tillet
2015-07-31 15:47:41 -07:00
parent bbfbc9c3e7
commit dd5f592fd8
14 changed files with 151 additions and 123 deletions

View File

@@ -238,7 +238,7 @@ struct execution_options_type
{
if(queue_)
return *queue_;
return driver::backend::queues(context)[queue_id_];
return driver::backend::queue(context, queue_id_);
}
std::list<driver::Event>* events;