I want to sum up the elements of an array. I know that I can use reduction, but it is a little difficult for me to fully understand it. I saw that in cublas, there is this function called cublasDasum that sums up the absolute values of the elements. It seems there should be a very similar function that sums up the elements, not the absolute values. Is there any way I can find the source code of cublasDasum and see how this is done?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Why CUDA simply supply asum(absolute addition) API? Why there is no sum? | 2 | 661 | January 11, 2017 | |
| cublasDasum returns incorrect results | 3 | 1054 | May 3, 2017 | |
| Adding a Vector | 4 | 778 | July 10, 2017 | |
| SAD program on cuda | 0 | 536 | September 26, 2017 | |
| Query regarding CUBLAS How many element cublasSasum can handle? | 0 | 2196 | October 22, 2007 | |
| Absolute value of vector elements with cuBLAS | 0 | 1200 | August 2, 2015 | |
| Absolute minimum of a vector | 4 | 2050 | April 20, 2009 | |
| A faster DASUM program than cublasDasum in CUBLAS 3.2 on Tesla C2070 | 1 | 669 | August 19, 2011 | |
| The process of cublasSasum_v2 make errors when the output is on device memories | 4 | 858 | October 18, 2021 | |
| 2D reduction using CUDA The use a cuda and cublas library for a 2D simple reduction | 11 | 4645 | February 7, 2012 |