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)

First, load the CUDALink application:

This computes the total absolute sum of the input vector:

Floating-point lists are supported:

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.

CMS

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

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: 22-November-2024 ]}

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: 22-November-2024 ]}