Models: cleaning of the global caching mechanism

This commit is contained in:
Philippe Tillet
2015-08-04 10:06:52 -07:00
parent d88ff6b39b
commit df2d5e7d00
6 changed files with 53 additions and 34 deletions

View File

@@ -29,7 +29,7 @@ extern "C"
{
std::list<is::driver::Event> levents;
is::execution_options_type options(is::driver::CommandQueue(commandQueues[i],false), &levents, &waitlist);
is::execute(is::control(operation, options), is::models(options.queue(context)));
is::execute(is::control(operation, options), is::models::get(options.queue(context)));
if(events)
{
events[i] = levents.front().handle().cl();