Code quality: Cleaned a bit file hierarchy in kernel templates

This commit is contained in:
Philippe Tillet
2015-08-06 16:14:33 -07:00
parent db090d7942
commit e4ff883688
12 changed files with 452 additions and 491 deletions

View File

@@ -7,6 +7,8 @@
#include "isaac/driver/backend.h"
#include "tools/loop.hpp"
#include "tools/vector_types.hpp"
#include "tools/arguments.hpp"
#include "to_string.hpp"
@@ -133,7 +135,7 @@ void axpy::enqueue(driver::CommandQueue & queue, driver::Program const & program
//Arguments
unsigned int current_arg = 0;
kernel.setSizeArg(current_arg++, size);
set_arguments(expressions, kernel, current_arg);
set_arguments(expressions, kernel, current_arg, binding_policy_);
controller.execution_options().enqueue(program.context(), kernel, global, local);
}