pilaenv
pilaenv
Returns the positive integer value of the logical blocking size.
Syntax
MKL_INT
pilaenv
(
const MKL_INT
*ictxt
,
const char
*prec
);
Include Files
- mkl_pblas.h
Description
pilaenv
returns the positive integer value of the logical blocking size. This value is machine and precision specific. This version provides a logical blocking size which should give good though not optimal performance on many of the currently available distributed-memory concurrent computers. You are encouraged to modify this subroutine to set this tuning parameter for your particular machine.Input Parameters
- ictxt
- On entry,ictxtspecifies the BLACS context handle, indicating the global context of the operation. The context itself is global, but the value ofictxtis local.
- prec
- On input,precspecifies the precision for which the logical block size should be returned as follows:single precision real,prec= 'S' or 's'double precision real,prec= 'D' or 'd'single precision complex,prec= 'C' or 'c'double precision complex,prec= 'Z' or 'z'integer.prec= 'I' or 'i'
Application Notes
Before modifying this routine to tune the library performance on your system, be aware of the following:
- The value this function returns must be strictly larger than zero,
- If you are planning to link your program with different instances of the library (for example, on a heterogeneous machine), youmustcompile each instance of the library with exactly the same version of this routine for obvious interoperability reasons.