Developer Reference for Intel® oneAPI Math Kernel Library for C
PBLAS Level 1 Routines
PBLAS Level 1 includes routines and functions that perform distributed vector-vector operations. Table “PBLAS Level 1 Routine Groups and Their Data Types” lists the PBLAS Level 1 routine groups and the data types associated with them.
PBLAS Level 1 Routine Groups and Their Data Types
Routine or Function Group |
Data Types |
Description |
|---|---|---|
p?amax (Computes the global index of the element of a distributed vector with maximum absolute value.) |
s, d, c, z |
Calculates an index of the distributed vector element with maximum absolute value |
p?asum (Computes the sum of magnitudes of elements of a distributed vector.) |
s, d, sc, dz |
Calculates sum of magnitudes of a distributed vector |
p?axpy (Computes a distributed vector-scalar product and adds the result to a distributed vector.) |
s, d, c, z |
Calculates distributed vector-scalar product |
p?copy (Copies one distributed vector to another vector.) |
s, d, c, z |
Copies a distributed vector |
p?dot (Computes the dot product of two distributed real vectors.) |
s, d |
Calculates a dot product of two distributed real vectors |
p?dotc (Computes the dot product of two distributed complex vectors, one of them is conjugated.) |
c, z |
Calculates a dot product of two distributed complex vectors, one of them is conjugated |
p?dotu (Computes the dot product of two distributed complex vectors.) |
c, z |
Calculates a dot product of two distributed complex vectors |
p?nrm2 (Computes the Euclidean norm of a distributed vector.) |
s, d, sc, dz |
Calculates the 2-norm (Euclidean norm) of a distributed vector |
p?scal (Computes a product of a distributed vector by a scalar.) |
s, d, c, z, cs, zd |
Calculates a product of a distributed vector by a scalar |
p?swap (Swaps two distributed vectors.) |
s, d, c, z |
Swaps two distributed vectors |