diff options
author | Håvard Pettersen <havardpe@oath.com> | 2020-10-12 12:29:21 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2020-10-12 19:05:54 +0000 |
commit | e72235763076cad111f53043578b25d88c585255 (patch) | |
tree | 0f41fc53578aa258c29607ad8910fbbcb09ad5f5 /eval/src/tests/instruction/generic_join | |
parent | 9886120a1bddd1016466cec317a445cd37650bff (diff) |
allow interpreted function to use new generic operations
update conformance test to also test with SimpleValue and FastValue
Diffstat (limited to 'eval/src/tests/instruction/generic_join')
-rw-r--r-- | eval/src/tests/instruction/generic_join/generic_join_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval/src/tests/instruction/generic_join/generic_join_test.cpp b/eval/src/tests/instruction/generic_join/generic_join_test.cpp index 25715f07bea..82696bbbd5e 100644 --- a/eval/src/tests/instruction/generic_join/generic_join_test.cpp +++ b/eval/src/tests/instruction/generic_join/generic_join_test.cpp @@ -76,7 +76,7 @@ TensorSpec perform_generic_join(const TensorSpec &a, const TensorSpec &b, join_f auto lhs = value_from_spec(a, factory); auto rhs = value_from_spec(b, factory); auto my_op = GenericJoin::make_instruction(lhs->type(), rhs->type(), function, factory, stash); - InterpretedFunction::EvalSingle single(my_op); + InterpretedFunction::EvalSingle single(factory, my_op); return spec_from_value(single.eval(std::vector<Value::CREF>({*lhs,*rhs}))); } @@ -86,7 +86,7 @@ TensorSpec perform_generic_join_fast(const TensorSpec &a, const TensorSpec &b, j auto lhs = value_from_spec(a, factory); auto rhs = value_from_spec(b, factory); auto my_op = GenericJoin::make_instruction(lhs->type(), rhs->type(), function, factory, stash); - InterpretedFunction::EvalSingle single(my_op); + InterpretedFunction::EvalSingle single(factory, my_op); return spec_from_value(single.eval(std::vector<Value::CREF>({*lhs,*rhs}))); } |