Commit 50b98355 authored by Paul's avatar Paul
Browse files

Remove output buffers

parent 8d8cd8f0
......@@ -38,11 +38,12 @@ namespace driver {
struct precompile_op : action<precompile_op>
{
static program create_preop_program(const operation& preop, const std::vector<shape>& inputs)
static program create_preop_program(const operation& preop, std::vector<shape> inputs)
{
program p;
auto mm = p.get_main_module();
std::vector<instruction_ref> args;
inputs.pop_back();
transform(inputs, range(inputs.size()), std::back_inserter(args), [&](auto input, auto i) {
return mm->add_parameter("x" + std::to_string(i), input);
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment