Driver: moved programs allocation logic to a static variable
This commit is contained in:
@@ -114,7 +114,7 @@ std::vector<int_t> ger::input_sizes(expressions_tuple const & expressions) const
|
||||
return tools::make_vector<int_t>() << size.first << size.second;
|
||||
}
|
||||
|
||||
void ger::enqueue(driver::CommandQueue & /*queue*/, driver::Program & program, const char * suffix, base &, controller<expressions_tuple> const & controller)
|
||||
void ger::enqueue(driver::CommandQueue & /*queue*/, driver::Program const & program, const char * suffix, base &, controller<expressions_tuple> const & controller)
|
||||
{
|
||||
expressions_tuple const & expressions = controller.x();
|
||||
char name[32] = {"axpy"};
|
||||
|
Reference in New Issue
Block a user