|
Expression Templates Library (ETL)
|
CUBLAS implementation of the sum product. More...

Go to the source code of this file.
Functions | |
| template<typename A > | |
| value_t< A > | etl::impl::cublas::sum (const A &) |
| Returns the sum of all the values contained in the given expression. More... | |
| template<typename A > | |
| value_t< A > | etl::impl::cublas::asum (const A &) |
| Returns the sum of all the absolute values contained in the given expression. More... | |
CUBLAS implementation of the sum product.
Unfortunately, CUBLAS has no sum implementation, therefore, it uses a dot product with a vector of 1...
This must be improved!
| value_t<A> etl::impl::cublas::asum | ( | const A & | ) |
| value_t<A> etl::impl::cublas::sum | ( | const A & | ) |
1.8.13