此为 Mathematica 8 文档,内容基于更早版本的 Wolfram 语言
查看最新文档(版本11.1)

CUDAArgMaxList

CUDAArgMaxList[list]
gives the index of the maximum element in list.
  • The CUDALink application must be loaded using Needs.
  • finds the first index that maximizes absolute value.
  • works only on vectors.
  • does not work on vector types.
First, load the CUDALink application:
This computes the index argument, resulting in the maximum element in the list:
Floating-point lists are supported:
works with different memory types. This loads memory:
This operates on the memory:
First, load the CUDALink application:
In[1]:=
Click for copyable input
This computes the index argument, resulting in the maximum element in the list:
In[2]:=
Click for copyable input
Out[2]=
 
Floating-point lists are supported:
In[1]:=
Click for copyable input
Out[1]=
 
works with different memory types. This loads memory:
In[1]:=
Click for copyable input
Out[1]=
This operates on the memory:
In[2]:=
Click for copyable input
Out[2]=