CUDALink`
CUDALink`

CUDAArgMaxList

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 only on vectors.
  • CUDAArgMaxList does not work on vector types.

Examples

Basic Examples  (3)

First, load the CUDALink application:

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

Floating-point lists are supported:

CUDAArgMaxList works with different memory types. This loads memory:

This operates on the memory:

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_2022_cudaargmaxlist, author="Wolfram Research", title="{CUDAArgMaxList}", year="2010", howpublished="\url{https://reference.wolfram.com/language/CUDALink/ref/CUDAArgMaxList.html}", note=[Accessed: 01-June-2023 ]}

BibLaTeX

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