CUDALink`
CUDALink`

CUDAArgMaxList

CUDAArgMaxList[cuvec]

gives the index of the maximum element in CUDA vector cuvec.

CUDAArgMaxList[list]

gives the index of the maximum element in list.

Details and Options

  • The CUDALink application must be loaded using Needs["CUDALink`"].
  • CUDAArgMaxList finds the first index that maximizes absolute value.
  • CUDAArgMaxList works with CUDAVector of types "Real32", "Real64", "ComplexReal32" and "ComplexReal64".
  • CUDAArgMaxList works only on vectors.

Examples

Basic Examples  (4)

First, load the CUDALink application:

This computes the index of the maximum element in the CUDA vector

CUDA vectors of type "Real32" are supported:

This computes the index argument, resulting in the maximum element in the list:

Wolfram Research (2010), CUDAArgMaxList, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html.

Text

Wolfram Research (2010), CUDAArgMaxList, Wolfram Language function, https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html.

CMS

Wolfram Language. 2010. "CUDAArgMaxList." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html.

APA

Wolfram Language. (2010). CUDAArgMaxList. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html

BibTeX

@misc{reference.wolfram_2023_cudaargmaxlist, author="Wolfram Research", title="{CUDAArgMaxList}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html}", note=[Accessed: 20-June-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_cudaargmaxlist, organization={Wolfram Research}, title={CUDAArgMaxList}, year={2010}, url={https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html}, note=[Accessed: 20-June-2024 ]}