Developer Reference

  • 0.10
  • 10/21/2020
  • Public Content
Contents

p?sum1

Forms the 1-norm of a complex vector similar to Level 1 PBLAS
p?asum
, but using the true absolute value.

Syntax

void
pscsum1
(
MKL_INT
*n
,
float
*asum
,
MKL_Complex8
*x
,
MKL_INT
*ix
,
MKL_INT
*jx
,
MKL_INT
*descx
,
MKL_INT
*incx
);
void
pdzsum1
(
MKL_INT
*n
,
double
*asum
,
MKL_Complex16
*x
,
MKL_INT
*ix
,
MKL_INT
*jx
,
MKL_INT
*descx
,
MKL_INT
*incx
);
Include Files
  • mkl_scalapack.h
Description
The
p?sum1
function
returns the sum of absolute values of a complex distributed vector sub(
x
) in
asum
, where sub(
x
) denotes
X
(
ix
:
ix
+
n
-1,
jx
:
jx
)
, if
incx
= 1
,
X
(
ix
:
ix
,
jx
:
jx
+
n
-1)
, if
incx
=
m_x
.
Based on
p?asum
from the Level 1 PBLAS. The change is to use the 'genuine' absolute value.
Input Parameters
n
(global). The number of components of the distributed vector sub(
x
).
n
0.
x
(local )
Pointer into the local memory to an array of size
lld_x
*
LOCc
(
jx
+
n
-1)
. This array contains the local pieces of the distributed vector sub(
X
).
ix
(global) The row index in the global matrix
X
indicating the first row of sub(
X
).
jx
(global) The column index in the global matrix
X
indicating the first column of sub(
X
)
descx
(local) Array of size
dlen_
=9. The array descriptor for the distributed matrix
X
.
incx
(global) The global increment for the elements of
X
. Only two values of
incx
are supported in this version, namely 1 and
m_x
.
Output Parameters
asum
(local)
The sum of absolute values of the distributed vector sub(
X
) only in its scope.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserverd for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804