Developer Reference

Contents

mkl_sparse_?_qr_rsolve

Second stage of the solving step of the SPARSE QR solver.

Syntax

sparse_status_t
mkl_sparse_d_qr_rsolve
(
sparse_operation_t
operation
,
sparse_matrix_t
A
,
sparse_layout_t
layout
,
MKL_INT
columns
,
double
*x
,
MKL_INT
ldx
,
const
double
*b
,
MKL_INT
ldb
);
sparse_status_t
mkl_sparse_s_qr_rsolve
(
sparse_operation_t
operation
,
sparse_matrix_t
A
,
sparse_layout_t
layout
,
MKL_INT
columns
,
float
*x
,
MKL_INT
ldx
,
const
float
*b
,
MKL_INT
ldb
);
Include Files
  • mkl_sparse_qr.h
Description
The
mkl_sparse_?_qr_rsolve
routine computes the solution of
A
*
x
=
b
.
Currently,
mkl_sparse_?_qr_rsolve
supports only CSR format for the input matrix, non-transpose operation, and single right-hand side.
Input Parameters
operation
Specifies the operation to perform.
Currently, the only suppored value is
SPARSE_OPERATION_NON_TRANSPOSE
(non-transpose case; that is,
A
*
x
=
b
is solved).
A
Handle containing a sparse matrix in an internal data structure.
layout
Describes the storage scheme for the dense matrix:
SPARSE_LAYOUT_COLUMN_MAJOR
Storage of elements uses column-major layout.
SPARSE_LAYOUT_ROW_MAJOR
Storage of elements uses row-major layout.
x
Array with a size of at least
rows
*
cols
:
 
layout
=
SPARSE_LAYOUT_COLUMN_MAJOR
layout
=
SPARSE_LAYOUT_ROW_MAJOR
rows
(number of rows in
x
)
ldx
Number of columns in
A
cols
(number of columns in
x
)
columns
ldx
columns
Number of columns in matrix
b
.
ldx
Specifies the leading dimension of matrix
x
.
b
Array with a size of at least
rows
*
cols
:
 
layout
=
SPARSE_LAYOUT_COLUMN_MAJOR
layout
=
SPARSE_LAYOUT_ROW_MAJOR
rows
(number of rows in
b
)
ldb
Number of columns in
A
cols
(number of columns in
b
)
columns
ldb
ldb
Specifies the leading dimension of matrix
b
.
Output Parameters
x
Contains the solution of the system
A
*
x
=
b
.
Return Values
SPARSE_STATUS_SUCCESS
The operation was successful.
SPARSE_STATUS_NOT_INITIALIZED
The routine encountered an empty handle or matrix array.
SPARSE_STATUS_ALLOC_FAILED
Internal memory allocation failed.
SPARSE_STATUS_INVALID_VALUE
The input parameters contain an invalid value.
SPARSE_STATUS_EXECUTION_FAILED
Execution failed.
SPARSE_STATUS_INTERNAL_ERROR
An error in algorithm implementation occurred.
SPARSE_STATUS_NOT_SUPPORTED
The requested operation is not supported.

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