CUDALink`
CUDALink`

CUDAArgMinList

CUDAArgMinList[cuvec]

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

CUDAArgMinList[list]

gives the index of the minimum element in list.

Details and Options

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

Examples

open allclose all

Basic Examples  (4)

First, load the CUDALink application:

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

CUDA vectors of type "Real32" are supported:

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

Possible Issues  (1)

CUDAArgMinList does not work with negative inputs, since CUDAArgMinList finds the element with the lowest absolute value:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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