CUDALink`
CUDALink`
CUDATotal
CUDATotal[vec]
gives the total of the absolute value of a vector vec.
Details and Options
- The CUDALink application must be loaded using Needs["CUDALink`"].
- CUDATotal does not work on symbolic input.
- CUDATotal works only on general vectors such as "Float", "Double", ….
- CUDATotal does not work on fixed vector structure types like "Float[2]", "Integer32[2]", ….
Examples
Basic Examples (2)Summary of the most common use cases
First, load the CUDALink application:
In[1]:=1

✖
https://wolfram.com/xid/0e2el04ixq48t7oxau9c4omm-9h8a50
This computes the total absolute sum of the input vector:
In[2]:=2

✖
https://wolfram.com/xid/0e2el04ixq48t7oxau9c4omm-keb2g4
Out[2]=2

Floating-point lists are supported:
In[1]:=1

✖
https://wolfram.com/xid/0e2el04ixq48t7oxau9c4omm-92xz1
Out[1]=1

Wolfram Research (2010), CUDATotal, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html.
✖
Wolfram Research (2010), CUDATotal, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html.
Text
Wolfram Research (2010), CUDATotal, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html.
✖
Wolfram Research (2010), CUDATotal, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html.
CMS
Wolfram Language. 2010. "CUDATotal." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html.
✖
Wolfram Language. 2010. "CUDATotal." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html.
APA
Wolfram Language. (2010). CUDATotal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html
✖
Wolfram Language. (2010). CUDATotal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html
BibTeX
✖
@misc{reference.wolfram_2024_cudatotal, author="Wolfram Research", title="{CUDATotal}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html}", note=[Accessed: 11-July-2025
]}
BibLaTeX
✖
@online{reference.wolfram_2024_cudatotal, organization={Wolfram Research}, title={CUDATotal}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDATotal.html}, note=[Accessed: 11-July-2025
]}