diff --git a/src/operations/blas1_trees.hpp b/src/operations/blas1_trees.hpp index 01b094ebc..1baf75bfb 100644 --- a/src/operations/blas1_trees.hpp +++ b/src/operations/blas1_trees.hpp @@ -448,7 +448,7 @@ PORTBLAS_INLINE bool TupleOp::valid_thread( template PORTBLAS_INLINE typename TupleOp::value_t TupleOp::eval( typename TupleOp::index_t i) { - return TupleOp::value_t(i, std::abs(rhs_.eval(i))); + return TupleOp::value_t(i, cl::sycl::abs(rhs_.eval(i))); } template