diff options
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/vespa/eval/tensor/dense/dense_dot_product_function.cpp | 4 | ||||
-rw-r--r-- | eval/src/vespa/eval/tensor/dense/dense_xw_product_function.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/eval/src/vespa/eval/tensor/dense/dense_dot_product_function.cpp b/eval/src/vespa/eval/tensor/dense/dense_dot_product_function.cpp index 7985b59da56..ae217935fd9 100644 --- a/eval/src/vespa/eval/tensor/dense/dense_dot_product_function.cpp +++ b/eval/src/vespa/eval/tensor/dense/dense_dot_product_function.cpp @@ -24,7 +24,7 @@ CellsRef getCellsRef(const eval::Value &value) { return denseTensor.cellsRef(); } -void my_op(eval::InterpretedFunction::State &state, uint64_t param) { +void my_dot_product_op(eval::InterpretedFunction::State &state, uint64_t param) { auto *hw_accelerator = (hwaccelrated::IAccelrated *)(param); DenseTensorView::CellsRef lhsCells = getCellsRef(state.peek(1)); DenseTensorView::CellsRef rhsCells = getCellsRef(state.peek(0)); @@ -56,7 +56,7 @@ DenseDotProductFunction::DenseDotProductFunction(const eval::TensorFunction &lhs eval::InterpretedFunction::Instruction DenseDotProductFunction::compile_self(Stash &) const { - return eval::InterpretedFunction::Instruction(my_op, (uint64_t)(_hwAccelerator.get())); + return eval::InterpretedFunction::Instruction(my_dot_product_op, (uint64_t)(_hwAccelerator.get())); } const TensorFunction & diff --git a/eval/src/vespa/eval/tensor/dense/dense_xw_product_function.cpp b/eval/src/vespa/eval/tensor/dense/dense_xw_product_function.cpp index fa07028ef27..24b1d8abfcf 100644 --- a/eval/src/vespa/eval/tensor/dense/dense_xw_product_function.cpp +++ b/eval/src/vespa/eval/tensor/dense/dense_xw_product_function.cpp @@ -58,7 +58,7 @@ void transposedProduct(const DenseXWProductFunction::Self &self, } template <bool commonDimensionInnermost> -void my_op(eval::InterpretedFunction::State &state, uint64_t param) { +void my_xw_product_op(eval::InterpretedFunction::State &state, uint64_t param) { DenseXWProductFunction::Self *self = (DenseXWProductFunction::Self *)(param); CellsRef vectorCells = getCellsRef(state.peek(1)); @@ -129,7 +129,7 @@ eval::InterpretedFunction::Instruction DenseXWProductFunction::compile_self(Stash &stash) const { Self &self = stash.create<Self>(result_type(), _vectorSize, _resultSize); - auto op = _commonDimensionInnermost ? my_op<true> : my_op<false>; + auto op = _commonDimensionInnermost ? my_xw_product_op<true> : my_xw_product_op<false>; return eval::InterpretedFunction::Instruction(op, (uint64_t)(&self)); } |