CUDATotal
This feature is not supported on the Wolfram Cloud.

CUDATotal[vec]
gives the total of the absolute value of a vector vec.

DetailsDetails

  • 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]", .

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

First, load the CUDALink application:

In[1]:=
Click for copyable input

This computes the total absolute sum of the input vector:

In[2]:=
Click for copyable input
Out[2]=

Floating-point lists are supported:

In[1]:=
Click for copyable input
Out[1]=