C++: Some renaming; added possibility to pass buffers when constructing arrays

This commit is contained in:
Philippe Tillet
2015-06-23 09:38:34 -07:00
parent 0c9bf8da4e
commit 80bcbd095f
20 changed files with 64 additions and 34 deletions

View File

@@ -118,7 +118,7 @@ void maxpy::enqueue(driver::CommandQueue & queue, driver::Program & program, con
kernel.setSizeArg(current_arg++, MN[1]);
set_arguments(expressions, kernel, current_arg);
controller.execution_options().enqueue_cache(queue, kernel, global, local);
controller.execution_options().enqueue(program.context(), kernel, global, local);
}
}