NAME
use_int_workspace - Provide a block of memory to be used in
LAPACK routines that have a integer workspace parameter that
can vary in length and are called through the C interfaces.
SYNOPSIS
#include <sunperf.h>
int use_int_workspace(int *ws, int length) ;
PURPOSE
Many LAPACK routines require workspace parameters to provide
temporary storage for intermediate results. Some
routines allow varying amounts of workspace to be
passed in. A choice is made between multiple
algorithms, using the most efficient method which
can operate given the amount of workspace. The
following lapack routines all support varying
amounts of integer workspace:
chbevd cheevd chpevd cstedc
dgeesx dsbevd dspevd dstedc dstevd
dsyevd dtrsen sgeesx ssbevd sspevd
sstedc sstevd ssyevd strsen zhbevd
zheevd zhpevd zstedc
The C LAPACK interfaces do not require the user to
provide workspace. Tempory storage is dynamically
allocated as needed. By default, the C interfaces
use the minimum amount of storage required.
Therefore, the computation for the routines listed
above will use the algorithm that requires the
least amount of workspace. In most cases these
algorithms require more time. A larger block of
memory can be supplied with the use_int_workspace
function, allowing more time-efficient algorithms
to be selected.
ARGUMENTS
workspace A pointer to the block of memory to be used as
workspace.
length The length of the workspace array in bytes.
|
Закладки на сайте Проследить за страницей |
Created 1996-2025 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |