Developer Reference

  • 0.9
  • 09/09/2020
  • Public Content
Contents

mkl_sparse_?_set_value

Changes a single value of matrix in internal representation.

Syntax

sparse_status_t
mkl_sparse_s_set_value
(
const sparse_matrix_t
A
,
const MKL_INT
row
,
const MKL_INT
col
,
const float
value
);
sparse_status_t
mkl_sparse_d_set_value
(
const sparse_matrix_t
A
,
const MKL_INT
row
,
const MKL_INT
col
,
const double
value
);
sparse_status_t
mkl_sparse_c_set_value
(
const sparse_matrix_t
A
,
const MKL_INT
row
,
const MKL_INT
col
,
const MKL_Complex8
value
);
sparse_status_t
mkl_sparse_z_set_value
(
const sparse_matrix_t
A
,
const MKL_INT
row
,
const MKL_INT
col
,
const MKL_Complex16
value
);
Include Files
  • mkl_spblas.h
Description
Use the
mkl_sparse_?_set_value
routine to change a single value of a matrix in the internal Inspector-executor Sparse BLAS format. The value should already be presented in a matrix structure.
Input Parameters
A
Specifies handle containing internal data.
row
Indicates row of matrix in which to set value.
col
Indicates column of matrix in which to set value.
value
Indicates value
Output Parameters
A
Handle containing modified internal data.
Return Values
The function returns a value indicating whether the operation was successful or not, and why.
SPARSE_STATUS_SUCCESS
The operation was successful.
SPARSE_STATUS_NOT_INITIALIZED
The routine encountered an empty handle or matrix array.
SPARSE_STATUS_INVALID_VALUE
The input parameters contain an invalid value.
SPARSE_STATUS_INTERNAL_ERROR
An error in algorithm implementation occurred.

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 reserved 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